We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
无法进行阿里云百炼api配置
我不知道欸,你可以拿一个api看看
最新版本,最新docker desktop ,win11
Windows
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'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
发生了什么
无法进行阿里云百炼api配置
如何复现?
我不知道欸,你可以拿一个api看看
AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
最新版本,最新docker desktop ,win11
操作系统
Windows
报错日志
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 吗?
Code of Conduct
The text was updated successfully, but these errors were encountered: