Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]配置阿里云百炼的deepseek有问题 #901

Open
1 of 2 tasks
XinYu-1112 opened this issue Mar 20, 2025 · 0 comments
Open
1 of 2 tasks

[Bug]配置阿里云百炼的deepseek有问题 #901

XinYu-1112 opened this issue Mar 20, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@XinYu-1112
Copy link

发生了什么

无法进行阿里云百炼api配置

如何复现?

我不知道欸,你可以拿一个api看看

AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

最新版本,最新docker desktop ,win11

操作系统

Windows

报错日志

Image
21:24:09] [Core] [WARN] [routes.config:126]: 验证配置时出现异常: 'str' object has no attribute 'items'
[2025-03-20 21:24:09 +0800] [22708] [INFO] 127.0.0.1:52925 POST /api/config/provider/update 1.1 200 137 25555
[2025-03-20 21:24:10 +0800] [22708] [INFO] 127.0.0.1:52925 GET /api/config/get 1.1 200 39785 45101
[21:25:47] [Core] [ERRO] [routes.config:125]: Traceback (most recent call last):
File "C:\Users\31403\Downloads\AstrBotLauncher-0.1.5.5\AstrBotLauncher-0.1.5.5\AstrBot\astrbot\dashboard\routes\config.py", line 119, in save_config
errors, post_config = validate_config(
File "C:\Users\31403\Downloads\AstrBotLauncher-0.1.5.5\AstrBotLauncher-0.1.5.5\AstrBot\astrbot\dashboard\routes\config.py", line 107, in validate_config
validate(data, group_meta, path=f"{key}.")
File "C:\Users\31403\Downloads\AstrBotLauncher-0.1.5.5\AstrBotLauncher-0.1.5.5\AstrBot\astrbot\dashboard\routes\config.py", line 65, in validate
validate(item, meta["items"], path=f"{path}{key}.")
File "C:\Users\31403\Downloads\AstrBotLauncher-0.1.5.5\AstrBotLauncher-0.1.5.5\AstrBot\astrbot\dashboard\routes\config.py", line 99, in validate
validate(value, meta["items"], path=f"{path}{key}.")
File "C:\Users\31403\Downloads\AstrBotLauncher-0.1.5.5\AstrBotLauncher-0.1.5.5\AstrBot\astrbot\dashboard\routes\config.py", line 33, in validate
for key, value in data.items():
AttributeError: 'str' object has no attribute 'items'

你愿意提交 PR 吗?

  • 是的,我愿意提交 PR!

Code of Conduct

@XinYu-1112 XinYu-1112 added the bug Something isn't working label Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant