Skip to content

feat: model fallback chain (#2017)#2018

Open
RockChinQ wants to merge 4 commits intomasterfrom
feat/api-chain
Open

feat: model fallback chain (#2017)#2018
RockChinQ wants to merge 4 commits intomasterfrom
feat/api-chain

Conversation

@RockChinQ
Copy link
Member


概述 / Overview

请在此部分填写你实现/解决/优化的内容:
Summary of what you implemented/solved/optimized:

更改前后对比截图 / Screenshots

请在此部分粘贴更改前后对比截图(可以是界面截图、控制台输出、对话截图等):
Please paste the screenshots of changes before and after here (can be interface screenshots, console output, conversation screenshots, etc.):

修改前 / Before:

修改后 / After:

检查清单 / Checklist

PR 作者完成 / For PR author

请在方括号间写x以打勾 / Please tick the box with x

  • 阅读仓库贡献指引了吗? / Have you read the contribution guide?
  • 与项目所有者沟通过了吗? / Have you communicated with the project maintainer?
  • 我确定已自行测试所作的更改,确保功能符合预期。 / I have tested the changes and ensured they work as expected.

项目维护者完成 / For project maintainer

  • 相关 issues 链接了吗? / Have you linked the related issues?
  • 配置项写好了吗?迁移写好了吗?生效了吗? / Have you written the configuration items? Have you written the migration? Has it taken effect?
  • 依赖加到 pyproject.toml 和 core/bootutils/deps.py 了吗 / Have you added the dependencies to pyproject.toml and core/bootutils/deps.py?
  • 文档编写了吗? / Have you written the documentation?

---------

Co-authored-by: TyperBody <mcjiekejiemi@163.com>
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. eh: Feature enhance: 新功能添加 / add new features IM: Discord Discord 适配器相关 / Discord adapter related IM: gewechat Gewechat 适配器相关 / Gewechat related IM: Lark 飞书 Lark 适配器相关 / Lark adapter related javascript Pull requests that update Javascript code m: Platform 机器人管理相关 / Bots management m: Provider LLM 模型相关 / LLMs management pd: Need testing pending: 待测试的PR / PR waiting to be tested labels Mar 1, 2026
@TyperBody
Copy link
Member

闹麻了

RockChinQ and others added 3 commits March 1, 2026 05:14
- Restore find_spec in deps.py (avoid loading all modules at startup)
- Restore shared aiohttp session via httpclient.get_session()
Revert contributor's global aiohttp.ClientSession() changes that are
not part of the API Chain feature. These files should continue using
the shared session from httpclient module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

eh: Feature enhance: 新功能添加 / add new features IM: Discord Discord 适配器相关 / Discord adapter related IM: gewechat Gewechat 适配器相关 / Gewechat related IM: Lark 飞书 Lark 适配器相关 / Lark adapter related javascript Pull requests that update Javascript code m: Platform 机器人管理相关 / Bots management m: Provider LLM 模型相关 / LLMs management pd: Need testing pending: 待测试的PR / PR waiting to be tested size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants