refactor(components): 优化聊天组件代码结构和性能
- 移除了不必要的导入和注释 - 调整了部分组件的属性和方法 - 优化了 useChat 和 useUrlParams hooks 的逻辑 - 更新了部分 SVG 图标的样式 - 调整了聊天历史记录的处理方式
Showing
178 changed files
with
74 additions
and
581 deletions
assets/action.svg
deleted
100644 → 0
assets/csv.svg
deleted
100644 → 0
assets/delete.svg
deleted
100644 → 0
assets/doc.svg
deleted
100644 → 0
assets/docx.svg
deleted
100644 → 0
assets/html.svg
deleted
100644 → 0
assets/json.svg
deleted
100644 → 0
assets/md.svg
deleted
100644 → 0
assets/pdf.svg
deleted
100644 → 0
assets/txt.svg
deleted
100644 → 0
assets/xlsx.svg
deleted
100644 → 0
public/education/bg.png
deleted
100644 → 0
170 KB
public/embed.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
public/embed.min.js
deleted
100644 → 0
No preview for this file type
3.74 KB
1.96 KB
5.04 KB
8.96 KB
public/logo/logo-site-dark.png
deleted
100644 → 0
4.17 KB
public/logo/logo-site.png
deleted
100644 → 0
5.67 KB
public/logo/logo.png
deleted
100644 → 0
6.1 KB
public/pdf.worker.min.mjs
deleted
100644 → 0
This diff could not be displayed because it is too large.
public/screenshots/dark/Agent.png
deleted
100644 → 0
37.6 KB
public/screenshots/dark/Agent@2x.png
deleted
100644 → 0
93.5 KB
public/screenshots/dark/Agent@3x.png
deleted
100644 → 0
180 KB
public/screenshots/dark/Chatbot.png
deleted
100644 → 0
27.4 KB
77.7 KB
136 KB
public/screenshots/dark/Chatflow.png
deleted
100644 → 0
28.7 KB
82.6 KB
153 KB
24.5 KB
62 KB
114 KB
public/screenshots/dark/Workflow.png
deleted
100644 → 0
19.1 KB
47.4 KB
89.3 KB
public/screenshots/light/Agent.png
deleted
100644 → 0
35.4 KB
101 KB
205 KB
public/screenshots/light/Chatbot.png
deleted
100644 → 0
30.9 KB
82.5 KB
139 KB
27.8 KB
79.3 KB
157 KB
26 KB
62.3 KB
120 KB
21.6 KB
61.2 KB
144 KB
No preview for this file type
public/vs/base/worker/workerMain.js
deleted
100644 → 0
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/bat/bat.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/cpp/cpp.js
deleted
100644 → 0
public/vs/basic-languages/csp/csp.js
deleted
100644 → 0
public/vs/basic-languages/css/css.js
deleted
100644 → 0
public/vs/basic-languages/ecl/ecl.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/go/go.js
deleted
100644 → 0
public/vs/basic-languages/hcl/hcl.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/ini/ini.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/lua/lua.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/m3/m3.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/mdx/mdx.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/php/php.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/pla/pla.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/pug/pug.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/r/r.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/sb/sb.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/sql/sql.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/st/st.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/tcl/tcl.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/vb/vb.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
public/vs/basic-languages/xml/xml.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
public/vs/editor/editor.main.css
deleted
100644 → 0
This diff could not be displayed because it is too large.
public/vs/editor/editor.main.js
deleted
100644 → 0
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
public/vs/editor/editor.main.nls.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
public/vs/language/css/cssMode.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
public/vs/language/css/cssWorker.js
deleted
100644 → 0
This diff could not be displayed because it is too large.
public/vs/language/html/htmlMode.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
public/vs/language/json/jsonMode.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
public/vs/loader.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
utils/var.ts
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment