You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
更新4.23.6后刚开始没问题,今天启动后就无法正常使用了
这是日志文件红字部分
[2026-04-30 13:19:43.142] [Core] [ERRO] [v4.23.6] [provider.manager:709]: 实例化 openai_chat_completion(mimo test/mimo-v2.5-pro) 提供商适配器失败:Invalid
http_clientargument; Expected an instance ofhttpx.AsyncClientbut got <class 'httpx.AsyncClient'>[2026-04-30 13:19:43.144] [Core] [ERRO] [v4.23.6] [provider.manager:283]: Traceback (most recent call last):
File "\?\F:\AI\AstrBot\backend\app\astrbot\core\provider\manager.py", line 662, in load_provider
inst = cls_type(
^^^^^^^^^
File "\?\F:\AI\AstrBot\backend\app\astrbot\core\provider\sources\openai_source.py", line 474, in init
self.client = AsyncOpenAI(
^^^^^^^^^^^^
File "F:\AI\AstrBot\backend\python\Lib\site-packages\openai_client.py", line 617, in init
super().init(
File "F:\AI\AstrBot\backend\python\Lib\site-packages\openai_base_client.py", line 1487, in init
raise TypeError(
TypeError: Invalid
http_clientargument; Expected an instance ofhttpx.AsyncClientbut got <class 'httpx.AsyncClient'>During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "\?\F:\AI\AstrBot\backend\app\astrbot\core\provider\manager.py", line 281, in initialize
await self.load_provider(provider_config)
File "\?\F:\AI\AstrBot\backend\app\astrbot\core\provider\manager.py", line 712, in load_provider
raise Exception(
Exception: 实例化 openai_chat_completion(mimo test/mimo-v2.5-pro) 提供商适配器失败:Invalid
http_clientargument; Expected an instance ofhttpx.AsyncClientbut got <class 'httpx.AsyncClient'>[2026-04-30 13:19:43.144] [Core] [ERRO] [v4.23.6] [provider.manager:284]: 实例化 openai_chat_completion(mimo test/mimo-v2.5-pro) 提供商适配器失败:Invalid
http_clientargument; Expected an instance ofhttpx.AsyncClientbut got <class 'httpx.AsyncClient'>Beta Was this translation helpful? Give feedback.
All reactions