Skip to content

Conversation

FinleyGe
Copy link
Collaborator

No description provided.

Copy link

Preview Image Label

Preview Images for this PR are:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin-pr:fe6fa56823acf7f4af425e7f2e87fc6556c1c5ca

@c121914yu c121914yu merged commit fdbd2c6 into labring:v0.2-dev Sep 23, 2025
2 checks passed
c121914yu added a commit that referenced this pull request Sep 24, 2025
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants