Skip to content

refactor: optimized error handling#2020

Merged
RockChinQ merged 12 commits intolangbot-app:masterfrom
TyperBody:stopseederror
Mar 10, 2026
Merged

refactor: optimized error handling#2020
RockChinQ merged 12 commits intolangbot-app:masterfrom
TyperBody:stopseederror

Conversation

@TyperBody
Copy link
Copy Markdown
Member

@TyperBody TyperBody commented Mar 3, 2026

概述 / Overview

请在此部分填写你实现/解决/优化的内容:
Summary of what you implemented/solved/optimized:
Add an option to block AI when "request fails"

更改前后对比截图 / Screenshots

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

修改前 / Before:
49f5fdedffeae6ace8adcfa666d91b9e

修改后 / After:
049bdfa5a95bc45b73c24da68ab4352c_720

检查清单 / 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?

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. bug? Bug或Bug修复相关 / maybe a bug eh: Improve enhance: 现有功能的改进 / improve current features pd: Need testing pending: 待测试的PR / PR waiting to be tested labels Mar 3, 2026
@TyperBody TyperBody changed the title Stop seed error when get ai Add an option to block AI when "request fails" Mar 3, 2026
@TyperBody
Copy link
Copy Markdown
Member Author

#836

@TyperBody
Copy link
Copy Markdown
Member Author

我重新写

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Mar 7, 2026
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Mar 7, 2026
@RockChinQ RockChinQ changed the title Add an option to block AI when "request fails" refactor: optimized error handling Mar 10, 2026
@RockChinQ
Copy link
Copy Markdown
Member

你这桌面linux挺别致

@RockChinQ RockChinQ merged commit 0541b05 into langbot-app:master Mar 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug? Bug或Bug修复相关 / maybe a bug eh: Improve enhance: 现有功能的改进 / improve current features pd: Need testing pending: 待测试的PR / PR waiting to be tested size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants