Theresa
2d3117c5da
feat: update ESLint config with @typescript-eslint/consistent-type-imports ( #4746 )
...
* update: Add type
* fix: update import statement for NextApiRequest type
* fix: update imports to use type for LexicalEditor and EditorState
* Refactor imports to use 'import type' for type-only imports across multiple files
- Updated imports in various components and API files to use 'import type' for better clarity and to optimize TypeScript's type checking.
- Ensured consistent usage of type imports in files related to chat, dataset, workflow, and user management.
- Improved code readability and maintainability by distinguishing between value and type imports.
* refactor: remove old ESLint configuration and add new rules
- Deleted the old ESLint configuration file from the app project.
- Added a new ESLint configuration file with updated rules and settings.
- Changed imports to use type-only imports in various files for better clarity and performance.
- Updated TypeScript configuration to remove unnecessary options.
- Added an ESLint ignore file to exclude build and dependency directories from linting.
* fix: update imports to use 'import type' for type-only imports in schema files
2025-05-06 17:33:09 +08:00
Archer
9cd6d2e81f
perf: init model ( #4610 )
...
* fix: model config undefined value
* perf: init model
2025-04-21 14:44:34 +08:00
Archer
f642c9603b
V4.9.4 feature ( #4470 )
...
* Training status (#4424 )
* dataset data training state (#4311 )
* dataset data training state
* fix
* fix ts
* fix
* fix api format
* fix
* fix
* perf: count training
* format
* fix: dataset training state (#4417 )
* fix
* add test
* fix
* fix
* fix test
* fix test
* perf: training count
* count
* loading status
---------
Co-authored-by: heheer <heheer@sealos.io >
* doc
* website sync feature (#4429 )
* perf: introduce BullMQ for website sync (#4403 )
* perf: introduce BullMQ for website sync
* feat: new redis module
* fix: remove graceful shutdown
* perf: improve UI in dataset detail
- Updated the "change" icon SVG file.
- Modified i18n strings.
- Added new i18n string "immediate_sync".
- Improved UI in dataset detail page, including button icons and
background colors.
* refactor: Add chunkSettings to DatasetSchema
* perf: website sync ux
* env template
* fix: clean up website dataset when updating chunk settings (#4420 )
* perf: check setting updated
* perf: worker currency
* feat: init script for website sync refactor (#4425 )
* website feature doc
---------
Co-authored-by: a.e. <49438478+I-Info@users.noreply.github.com >
* pro migration (#4388 ) (#4433 )
* pro migration
* reuse customPdfParseType
Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com >
* perf: remove loading ui
* feat: config chat file expired time
* Redis cache (#4436 )
* perf: add Redis cache for vector counting (#4432 )
* feat: cache
* perf: get cache key
---------
Co-authored-by: a.e. <49438478+I-Info@users.noreply.github.com >
* perf: mobile voice input (#4437 )
* update:Mobile voice interaction (#4362 )
* Add files via upload
* Add files via upload
* Update ollama.md
* Update ollama.md
* Add files via upload
* Update useSpeech.ts
* Update ChatInput.tsx
* Update useSpeech.ts
* Update ChatInput.tsx
* Update useSpeech.ts
* Update constants.ts
* Add files via upload
* Update ChatInput.tsx
* Update useSpeech.ts
* Update useSpeech.ts
* Update useSpeech.ts
* Update ChatInput.tsx
* Add files via upload
* Update common.json
* Update VoiceInput.tsx
* Update ChatInput.tsx
* Update VoiceInput.tsx
* Update useSpeech.ts
* Update useSpeech.ts
* Update common.json
* Update common.json
* Update common.json
* Update VoiceInput.tsx
* Update VoiceInput.tsx
* Update ChatInput.tsx
* Update VoiceInput.tsx
* Update ChatInput.tsx
* Update VoiceInput.tsx
* Update ChatInput.tsx
* Update useSpeech.ts
* Update common.json
* Update chat.json
* Update common.json
* Update chat.json
* Update common.json
* Update chat.json
* Update VoiceInput.tsx
* Update ChatInput.tsx
* Update useSpeech.ts
* Update VoiceInput.tsx
* speech ui
* 优化语音输入组件,调整输入框显示逻辑,修复语音输入遮罩层样式,更新画布背景透明度,增强用户交互体验。 (#4435 )
* perf: mobil voice input
---------
Co-authored-by: dreamer6680 <1468683855@qq.com >
* Test completion v2 (#4438 )
* add v2 completions (#4364 )
* add v2 completions
* completion config
* config version
* fix
* frontend
* doc
* fix
* fix: completions v2 api
---------
Co-authored-by: heheer <heheer@sealos.io >
* package
* Test mongo log (#4443 )
* feat: mongodb-log (#4426 )
* perf: mongo log
* feat: completions stop reasoner
* mongo db log
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
* update doc
* Update doc
* fix external var ui (#4444 )
* action
* fix: ts (#4458 )
* preview doc action
add docs preview permission
update preview action
udpate action
* update doc (#4460 )
* update preview action
* update doc
* remove
* update
* schema
* update mq export;perf: redis cache (#4465 )
* perf: redis cache
* update mq export
* perf: website sync error tip
* add error worker
* website sync ui (#4466 )
* Updated the dynamic display of the voice input pop-up (#4469 )
* Update VoiceInput.tsx
* Update VoiceInput.tsx
* Update VoiceInput.tsx
* fix: voice input
---------
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: a.e. <49438478+I-Info@users.noreply.github.com >
Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com >
Co-authored-by: dreamer6680 <1468683855@qq.com >
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
2025-04-08 12:05:04 +08:00
Archer
81a06718d8
feat: ai proxy v1 ( #3898 )
...
* feat: ai proxy v1
* perf: ai proxy channel crud
* feat: ai proxy logs
* feat: channel test
* doc
* update lock
2025-02-27 09:56:52 +08:00
Archer
db2c0a0bdb
V4.8.20 feature ( #3686 )
...
* Aiproxy (#3649 )
* model config
* feat: model config ui
* perf: rename variable
* feat: custom request url
* perf: model buffer
* perf: init model
* feat: json model config
* auto login
* fix: ts
* update packages
* package
* fix: dockerfile
* feat: usage filter & export & dashbord (#3538 )
* feat: usage filter & export & dashbord
* adjust ui
* fix tmb scroll
* fix code & selecte all
* merge
* perf: usages list;perf: move components (#3654 )
* perf: usages list
* team sub plan load
* perf: usage dashboard code
* perf: dashboard ui
* perf: move components
* add default model config (#3653 )
* 4.8.20 test (#3656 )
* provider
* perf: model config
* model perf (#3657 )
* fix: model
* dataset quote
* perf: model config
* model tag
* doubao model config
* perf: config model
* feat: model test
* fix: POST 500 error on dingtalk bot (#3655 )
* feat: default model (#3662 )
* move model config
* feat: default model
* fix: false triggerd org selection (#3661 )
* export usage csv i18n (#3660 )
* export usage csv i18n
* fix build
* feat: markdown extension (#3663 )
* feat: markdown extension
* media cros
* rerank test
* default price
* perf: default model
* fix: cannot custom provider
* fix: default model select
* update bg
* perf: default model selector
* fix: usage export
* i18n
* fix: rerank
* update init extension
* perf: ip limit check
* doubao model order
* web default modle
* perf: tts selector
* perf: tts error
* qrcode package
* reload buffer (#3665 )
* reload buffer
* reload buffer
* tts selector
* fix: err tip (#3666 )
* fix: err tip
* perf: training queue
* doc
* fix interactive edge (#3659 )
* fix interactive edge
* fix
* comment
* add gemini model
* fix: chat model select
* perf: supplement assistant empty response (#3669 )
* perf: supplement assistant empty response
* check array
* perf: max_token count;feat: support resoner output;fix: member scroll (#3681 )
* perf: supplement assistant empty response
* check array
* perf: max_token count
* feat: support resoner output
* member scroll
* update provider order
* i18n
* fix: stream response (#3682 )
* perf: supplement assistant empty response
* check array
* fix: stream response
* fix: model config cannot set to null
* fix: reasoning response (#3684 )
* perf: supplement assistant empty response
* check array
* fix: reasoning response
* fix: reasoning response
* doc (#3685 )
* perf: supplement assistant empty response
* check array
* doc
* lock
* animation
* update doc
* update compose
* doc
* doc
---------
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: a.e. <49438478+I-Info@users.noreply.github.com >
2025-02-05 00:10:47 +08:00
Archer
b520988c64
V4.8.17 feature ( #3485 )
...
* feat: add third party account config (#3443 )
* temp
* editor workflow variable style
* add team to dispatch
* i18n
* delete console
* change openai account position
* fix
* fix
* fix
* fix
* fix
* 4.8.17 test (#3461 )
* perf: external provider config
* perf: ui
* feat: add template config (#3434 )
* change template position
* template config
* delete console
* delete
* fix
* fix
* perf: Mongo visutal field (#3464 )
* remve invalid code
* perf: team member visutal code
* perf: virtual search; perf: search test data
* fix: ts
* fix: image response headers
* perf: template code
* perf: auth layout;perf: auto save (#3472 )
* perf: auth layout
* perf: auto save
* perf: auto save
* fix: template guide display & http input support external variables (#3475 )
* fix: template guide display
* http editor support external workflow variables
* perf: auto save;fix: ifelse checker line break; (#3478 )
* perf: auto save
* perf: auto save
* fix: ifelse checker line break
* perf: doc
* perf: doc
* fix: update var type error
* 4.8.17 test (#3479 )
* perf: auto save
* perf: auto save
* perf: template code
* 4.8.17 test (#3480 )
* perf: auto save
* perf: auto save
* perf: model price model
* feat: add react memo
* perf: model provider filter
* fix: ts (#3481 )
* perf: auto save
* perf: auto save
* fix: ts
* simple app tool select (#3473 )
* workflow plugin userguide & simple tool ui
* simple tool filter
* reuse component
* change component to hook
* fix
* perf: too selector modal (#3484 )
* perf: auto save
* perf: auto save
* perf: markdown render
* perf: too selector
* fix: app version require tmbId
* perf: templates refresh
* perf: templates refresh
* hide auto save error tip
* perf: toolkit guide
---------
Co-authored-by: heheer <heheer@sealos.io >
2024-12-27 20:05:12 +08:00
Archer
c995bccef8
fix: input form value type error ( #3399 )
2024-12-15 19:58:50 +08:00
Archer
1aebe5f185
V4.8.15 feature ( #3331 )
...
* feat: add customize toolkit (#3205 )
* chaoyang
* fix-auth
* add toolkit
* add order
* plugin usage
* fix
* delete console:
* Fix: Fix fullscreen preview top positioning and improve Markdown rendering logic (#3247 )
* 完成任务:修复全屏预览顶部固定问题,优化 Markdown 渲染逻辑
* 有问题修改
* 问题再修改
* 修正问题
* fix: plugin standalone display issue (#3254 )
* 4.8.15 test (#3246 )
* o1 config
* perf: system plugin code
* 调整系统插件代码。增加html 渲染安全配置。 (#3258 )
* perf: base64 picker
* perf: list app or dataset
* perf: plugin config code
* 小窗适配等问题 (#3257 )
* 小窗适配等问题
* git问题
* 小窗剩余问题
* feat: system plugin auth and lock version (#3265 )
* feat: system plugin auth and lock version
* update comment
* 4.8.15 test (#3267 )
* tmp log
* perf: login direct
* perf: iframe html code
* remove log
* fix: plugin standalone display (#3277 )
* refactor: 页面拆分&i18n拆分 (#3281 )
* refactor: account组件拆成独立页面
* script: 新增i18n json文件创建脚本
* refactor: 页面i18n拆分
* i18n: add en&hant
* 4.8.15 test (#3285 )
* tmp log
* remove log
* fix: watch avatar refresh
* perf: i18n code
* fix(plugin): use intro instead of userguide (#3290 )
* Universal SSO (#3292 )
* tmp log
* remove log
* feat: common oauth
* readme
* perf: sso provider
* remove sso code
* perf: refresh plugins
* feat: add api dataset (#3272 )
* add api-dataset
* fix api-dataset
* fix api dataset
* fix ts
* perf: create collection code (#3301 )
* tmp log
* remove log
* perf: i18n change
* update version doc
* feat: question guide from chatId
* perf: create collection code
* fix: request api
* fix: request api
* fix: tts auth and response type (#3303 )
* perf: md splitter
* fix: tts auth and response type
* fix: api file dataset (#3307 )
* perf: api dataset init (#3310 )
* perf: collection schema
* perf: api dataset init
* refactor: 团队管理独立页面 (#3302 )
* ui: 团队管理独立页面
* 代码优化
* fix
* perf: sync collection and ui check (#3314 )
* perf: sync collection
* remove script
* perf: update api server
* perf: api dataset parent
* perf: team ui
* perf: team 18n
* update team ui
* perf: ui check
* perf: i18n
* fix: debug variables & cronjob & system plugin callback load (#3315 )
* fix: debug variables & cronjob & system plugin callback load
* fix type
* fix
* fix
* fix: plugin dataset quote;perf: system variables init (#3316 )
* fix: plugin dataset quote
* perf: system variables init
* perf: node templates ui;fix: dataset import ui (#3318 )
* fix: dataset import ui
* perf: node templates ui
* perf: ui refresh
* feat:套餐改名和套餐跳转配置 (#3309 )
* fixing:except Sidebar
* 去除了多余的代码
* 修正了套餐说明的代码
* 修正了误删除的show_git代码
* 修正了名字部分等代码
* 修正了问题,遗留了其他和ui讨论不一致的部分
* 4.8.15 test (#3319 )
* remove log
* pref: bill ui
* pref: bill ui
* perf: log
* html渲染文档 (#3270 )
* html渲染文档
* 文档有点小问题
* feat: doc (#3322 )
* 集合重训练 (#3282 )
* rebaser
* 一点补充
* 小问题
* 其他问题修正,删除集合保留文件的参数还没找到...
* reTraining
* delete uesless
* 删除了一行错误代码
* 集合重训练部分
* fixing
* 删除console代码
* feat: navbar item config (#3326 )
* perf: custom navbar code;perf: retraining code;feat: api dataset and dataset api doc (#3329 )
* feat: api dataset and dataset api doc
* perf: retraining code
* perf: custom navbar code
* fix: ts (#3330 )
* fix: ts
* fix: ts
* retraining ui
* perf: api collection filter
* perf: retrining button
---------
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: Jiangween <145003935+Jiangween@users.noreply.github.com >
Co-authored-by: papapatrick <109422393+Patrickill@users.noreply.github.com >
2024-12-06 10:56:53 +08:00
Archer
e9d52ada73
4.8.13 feature ( #3118 )
...
* chore(ui): login page & workflow page (#3046 )
* login page & number input & multirow select & llm select
* workflow
* adjust nodes
* New file upload (#3058 )
* feat: toolNode aiNode readFileNode adapt new version
* update docker-compose
* update tip
* feat: adapt new file version
* perf: file input
* fix: ts
* feat: add chat history time label (#3024 )
* feat:add chat and logs time
* feat: add chat history time label
* code perf
* code perf
---------
Co-authored-by: 勤劳上班的卑微小张 <jiazhan.zhang@ggimage.com >
* add chatType (#3060 )
* pref: slow query of full text search (#3044 )
* Adapt findLast api;perf: markdown zh format. (#3066 )
* perf: context code
* fix: adapt findLast api
* perf: commercial plugin run error
* perf: markdown zh format
* perf: dockerfile proxy (#3067 )
* fix ui (#3065 )
* fix ui
* fix
* feat: support array reference multi-select (#3041 )
* feat: support array reference multi-select
* fix build
* fix
* fix loop multi-select
* adjust condition
* fix get value
* array and non-array conversion
* fix plugin input
* merge func
* feat: iframe code block;perf: workflow selector type (#3076 )
* feat: iframe code block
* perf: workflow selector type
* node pluginoutput check (#3074 )
* feat: View will move when workflow check error;fix: ui refresh error when continuous file upload (#3077 )
* fix: plugin output check
* fix: ui refresh error when continuous file upload
* feat: View will move when workflow check error
* add dispatch try catch (#3075 )
* perf: workflow context split (#3083 )
* perf: workflow context split
* perf: context
* 4.8.13 test (#3085 )
* perf: workflow node ui
* chat iframe url
* feat: support sub route config (#3071 )
* feat: support sub route config
* dockerfile
* fix upload
* delete unused code
* 4.8.13 test (#3087 )
* fix: image expired
* fix: datacard navbar ui
* perf: build action
* fix: workflow file upload refresh (#3088 )
* fix: http tool response (#3097 )
* loop node dynamic height (#3092 )
* loop node dynamic height
* fix
* fix
* feat: support push chat log (#3093 )
* feat: custom uid/metadata
* to: custom info
* fix: chat push latest
* feat: add chat log envs
* refactor: move timer to pushChatLog
* fix: using precise log
---------
Co-authored-by: Finley Ge <m13203533462@163.com >
* 4.8.13 test (#3098 )
* perf: loop node refresh
* rename context
* comment
* fix: ts
* perf: push chat log
* array reference check & node ui (#3100 )
* feat: loop start add index (#3101 )
* feat: loop start add index
* update doc
* 4.8.13 test (#3102 )
* fix: loop index;edge parent check
* perf: reference invalid check
* fix: ts
* fix: plugin select files and ai response check (#3104 )
* fix: plugin select files and ai response check
* perf: text editor selector;tool call tip;remove invalid image url;
* perf: select file
* perf: drop files
* feat: source id prefix env (#3103 )
* 4.8.13 test (#3106 )
* perf: select file
* perf: drop files
* perf: env template
* 4.8.13 test (#3107 )
* perf: select file
* perf: drop files
* fix: imple mode adapt files
* perf: push chat log (#3109 )
* fix: share page load title error (#3111 )
* 4.8.13 perf (#3112 )
* fix: share page load title error
* update file input doc
* perf: auto add file urls
* perf: auto ser loop node offset height
* 4.8.13 test (#3117 )
* perf: plugin
* updat eaction
* feat: add more share config (#3120 )
* feat: add more share config
* add i18n en
* fix: missing subroute (#3121 )
* perf: outlink config (#3128 )
* update action
* perf: outlink config
* fix: ts (#3129 )
* 更新 docSite 文档内容 (#3131 )
* fix: null pointer (#3130 )
* fix: null pointer
* perf: not input text
* update doc url
* perf: outlink default value (#3134 )
* update doc (#3136 )
* 4.8.13 test (#3137 )
* update doc
* perf: completions chat api
* Restore docSite content based on upstream/4.8.13-dev (#3138 )
* Restore docSite content based on upstream/4.8.13-dev
* 4813.md缺少更正
* update doc (#3141 )
---------
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: papapatrick <109422393+Patrickill@users.noreply.github.com >
Co-authored-by: 勤劳上班的卑微小张 <jiazhan.zhang@ggimage.com >
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: a.e. <49438478+I-Info@users.noreply.github.com >
Co-authored-by: Finley Ge <m13203533462@163.com >
Co-authored-by: Jiangween <145003935+Jiangween@users.noreply.github.com >
2024-11-13 11:29:53 +08:00
Archer
a9cdece341
4.8.6 merge ( #1943 )
...
* Dataset collection forbid (#1885 )
* perf: tool call support same id
* feat: collection forbid
* feat: collection forbid
* Inheritance Permission for apps (#1897 )
* feat: app schema define
chore: references of authapp
* feat: authApp method inheritance
* feat: create and update api
* feat: update
* feat: inheritance Permission controller for app.
* feat: abstract version of inheritPermission
* feat: ancestorId for apps
* chore: update app
* fix: inheritPermission abstract version
* feat: update folder defaultPermission
* feat: app update api
* chore: inheritance frontend
* chore: app list api
* feat: update defaultPermission in app deatil
* feat: backend api finished
* feat: app inheritance permission fe
* fix: app update defaultpermission causes collaborator miss
* fix: ts error
* chore: adjust the codes
* chore: i18n
chore: i18n
* chore: fe adjust and i18n
* chore: adjust the code
* feat: resume api;
chore: rewrite update api and inheritPermission methods
* chore: something
* chore: fe code adjusting
* feat: frontend adjusting
* chore: fe code adjusting
* chore: adjusting the code
* perf: fe loading
* format
* Inheritance fix (#1908 )
* fix: SlideCard
* fix: authapp did not return parent app for inheritance app
* fix: fe adjusting
* feat: fe adjusing
* perf: inherit per ux
* doc
* fix: ts errors (#1916 )
* perf: inherit permission
* fix: permission inherit
* Workflow type (#1938 )
* perf: workflow type
tmp workflow
perf: workflow type
feat: custom field config
* perf: dynamic input
* perf: node classify
* perf: node classify
* perf: node classify
* perf: node classify
* fix: workflow custom input
* feat: text editor and customFeedback move to basic nodes
* feat: community system plugin
* fix: ts
* feat: exprEval plugin
* perf: workflow type
* perf: plugin important
* fix: default templates
* perf: markdown hr css
* lock
* perf: fetch url
* perf: new plugin version
* fix: chat histories update
* fix: collection paths invalid
* perf: app card ui
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
2024-07-04 17:42:09 +08:00
Archer
67c52992d7
External dataset ( #1519 )
...
* perf: local file create collection
* rename middleware
* perf: remove code
* feat: next14
* feat: external file dataset
* collection tags field
* external file dataset doc
* fix: ts
2024-05-17 16:44:15 +08:00
Archer
8386f707cd
Perf workflow ( #1492 )
...
* perf: handle edge check
* search model
* feat: plugin input can render all input; fix: plugin default value
* fix ts
* feat: plugin input support required
2024-05-15 16:17:43 +08:00