Commit bcdf318
V0.2 dev (#192)
* feat: hot swapping (#171)
* implement upload and delete API for tools (#126)
* implement upload and delete API for tools
* update .env.template for MongoDB configuration and refactor S3 file handling
* refactor: simplify plugin model and schema
* feat: implement upload and delete functionality for tools with MongoDB integration
* refactor: update S3 configuration and improve tool API error handling
* refactor: enhance tool API with improved error handling and S3 configuration updates (#148)
* fix:change url of doc (#136)
* feat: support system-toolset (#114) (#132)
* feat: support system-toolset (#114)
* feat: support system-toolset
* chore: remove pnpm-lock.yaml
* chore: update lock file
* chore: extract secretInputConfig out of inputs for tools
* chore: adjust
* chore: npm release v0.1.3
* feat: integrate Signoz for monitoring and logging tools (#140)
* feat: integrate Signoz for monitoring and logging tools
* refactor: restructure Signoz metrics handling into a class for improved initialization and recording
* fix bun.lock
* feat(tool): metaso (#143)
* feat: add metaso plugin (#138)
* feat: metaso toolset
* fix: vitest coverage
* 更新了KnowS插件,以及xiaoyibao插件/Clinicaltrials插件 (#123)
* feat(plugin): add xiaoyibao assistant tool
- Add xiaoyibao cancer patient assistant tool
- Provide professional medical consultation and personalized advice
- Support workflow global variables for flexible configuration
* chore: update dependencies and ignore local config
* Add xiaoyibao plugin files
* feat: 添加临床试验查询插件
- 实现临床试验查询功能,支持疾病、基因、药物等多维度搜索
- 修复KRAS查询API参数问题,使用query.cond格式
- 提供三层结构化输出:概述、统计、详情
- 支持中英文查询,智能参数解析
- 完善错误处理和超时机制
- 添加详细的使用说明和工作流配置示例
- 包含FastGPT插件配置方法和最佳实践
* chore: 更新.gitignore并删除辅助开发yml文件,添加测试文件
* docs: 添加本地开发和PR提交指导文档
* docs: 添加基于临床试验插件的完整开发指南
* docs: 优化FastGPT插件开发框架指南和专家提示词
- 更新AI_coding_guide.md为专门的FastGPT插件开发框架
- 重构developer_prompt.md为专业的插件开发专家助手
- 涵盖完整的开发工作流、代码规范和最佳实践
- 提供实用的工具函数和调试技巧
* docs: 完善FastGPT插件开发PRD模板,以临床试验插件为示例
* fix(knows): 修复summary工具answerType参数问题
- 修复summary工具配置,将answerType从多选改为单选
- 移除'全部'选项,只保留CLINICAL、RESEARCH、POPULAR_SCIENCE三种类型
- 修复shared/types.ts中AnswerRequest接口的answer_type字段类型
- 添加详细的调试日志,类似search工具的日志格式
- 增加兼容性处理,支持数组输入的向后兼容
- 修复history工具的API方法名错误(listQuestion -> listQuestions)
- 统一所有工具的错误处理和日志格式
主要修改文件:
- modules/tool/packages/knows/children/summary/config.ts
- modules/tool/packages/knows/children/summary/src/index.ts
- modules/tool/packages/knows/children/history/src/index.ts
- modules/tool/packages/knows/shared/types.ts
- modules/tool/packages/knows/shared/api.ts
* feat: 修正工具图标配置路径格式
- 修正 xiaoyibao 工具图标路径为 /imgs/tools/xiaoyibao.svg
- 修正 clinicalTrials 工具图标路径为 /imgs/tools/clinicalTrials.svg
- 确认 knows 工具图标路径配置正确
- 更新开发日志记录图标配置修正过程
- 构建并复制图标文件到 public/imgs/tools/ 目录
修复了之前使用 plugins/ 格式导致图标无法显示的问题,
现在使用正确的 /imgs/tools/ 路径格式符合 FastGPT 规范。
---------
Co-authored-by: Finley Ge <[email protected]>
* feat(tool): xiaoyibao, knows
* pnpm-lock.yaml
---------
Co-authored-by: samqin123 <[email protected]>
* fix: mathExprVal (#144)
* fix: support link & codeblock (#145)
fix: #141
* fix: markdown transform (#146)
* fix: markdown transform
* fix: type error
fix: labring/FastGPT#5348
* feat: model config (#147)
* lock
* feat: model config
* implement upload and delete API for tools
* update .env.template for MongoDB configuration and refactor S3 file handling
* refactor: simplify plugin model and schema
* feat: implement upload and delete functionality for tools with MongoDB integration
* refactor: update S3 configuration and improve tool API error handling
* refactor: enhance tool API with improved error handling and S3 configuration updates
---------
Co-authored-by: dreamer6680 <[email protected]>
Co-authored-by: Finley Ge <[email protected]>
Co-authored-by: samqin123 <[email protected]>
Co-authored-by: Archer <[email protected]>
* refactor: plugin tool upload
* feat: support multi-node cache & hot-swapping tools
* chore: update .env.template
* fix(type): type error
* chore: adjust code
* chore: adjust
* perf(acid): upload/delete acid
* chore: upload could overwrite
* chore: sdk export upload tools path
* chore: remove default mongo connect url
* fix: build dist remove mongo relative code
* chore: upgrade sdk
---------
Co-authored-by: Ctrlz <[email protected]>
Co-authored-by: dreamer6680 <[email protected]>
Co-authored-by: samqin123 <[email protected]>
Co-authored-by: Archer <[email protected]>
* perf: s3 rename
* fix: plugin upload bug
* perf: hot swapping (#187)
* chore: adjust
* feat: auto clean orphan plugins, redis distrubute lock
* deps: remove @types/node-cron
* fix: prod tool init/run
* perf: download file error catch (#188)
* perf: s3 checker
* chore: throw error (#189)
* chore: update sdk version to v0.1.19 (#191)
* fix: use external base url when generate post url (#193)
* fix: use external base url when generate post url
* fix: download tool file return toolid, when undefined returned, do not add the plugin
* chore: refresh uploaded tools when starting
* fix: redis prefix
* rename bucket
* rename bucket
* rename bucket
* limit fetch url size
* limit fetch url size
---------
Co-authored-by: Finley Ge <[email protected]>
Co-authored-by: Ctrlz <[email protected]>
Co-authored-by: dreamer6680 <[email protected]>
Co-authored-by: samqin123 <[email protected]>1 parent aa7b389 commit bcdf318
File tree
51 files changed
+1404
-326
lines changed- modules
- model
- tool
- api
- upload
- cronTask
- packages
- fetchUrl/src
- metaso/children/metasoSearch
- type
- utils
- scripts
- sdk
- src
- cache
- mongo
- models
- redis
- s3
- utils
- worker
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
51 files changed
+1404
-326
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
| |||
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
| 63 | + | |
57 | 64 | | |
58 | 65 | | |
| 66 | + | |
59 | 67 | | |
60 | 68 | | |
61 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | | - | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments