feat: 新增模型故障转移功能#284
Open
EnderBoy666 wants to merge 6 commits into
Open
Conversation
本次提交实现了完整的模型故障转移功能,包括: 1. 新增模型故障转移相关的核心逻辑与类型定义 2. 实现SSE事件监听与前端故障提示弹窗 3. 添加故障转移配置面板,支持手动/自动切换模式 4. 优化studio开发脚本,重构dev启动命令 5. 新增failover相关测试用例与依赖包 6. 完善项目配置与gitignore文件 7. 为pipeline和agent添加failover回调支持
1. 新增docx格式书籍导出支持,添加docx依赖并实现导出逻辑 2. 扩展LLM故障转移逻辑,支持工具调用失败时自动切换模型 3. 增加Agent自定义系统提示词配置功能 4. 添加侧边栏Agent提示词页面与文风档案查看编辑页面 5. 调整默认审阅重试次数为2次 6. 完善类型定义与国际化文案 7. 优化代理请求类型转换与代理配置逻辑
1. 新增AITasteRemoverAgent实现去AI味功能 2. 在快速操作栏添加去AI味按钮 3. 在书籍详情页添加章节去AI味功能 4. 修复LLM配置和日志创建的错误 5. 完善相关文档和示例代码
修正了链接标签不匹配的语法问题,让文档展示更规范
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
本次提交实现了完整的模型故障转移功能,包括:
Summary
Type of change
Motivation (optional)
Changes
Usage (optional)
Test plan
pnpm typecheckpassespnpm testpasses (all existing + new tests)Breaking changes (optional)