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
为什么本地 配置了 mistral 官方的 key 后 始终无法调通
提示
ImportError: mistral required packages are not installed. Please install them with pip install any-llm-sdk[mistral]. Specific error message: cannot import name 'Mistral' from 'mistralai' (unknown location)
╭────────────────────────────────────────────────────── Error ───────────────────────────────────────────────────────╮
│ An error occurred at stage 'turn': mistral required packages are not installed. Please install them with pip │ │ install any-llm-sdk. Specific error message: cannot import name 'Mistral' from 'mistralai' (unknown location)
Activity
PsiACE commentedon Mar 15, 2026
Hi, 很开心你尝试 Bub ,由于我们暂时还没有更新 any-llm-sdk 对应的依赖,所以 Mistral 需要使用一个较低的版本运行
当前可用配置建议是:
BUB_MODEL=mistral:mistral-small-latest
BUB_MISTRAL_API_KEY=your_key
依赖可以采用这样的形式安装:
uv add "any-llm-sdk[mistral]" "mistralai<2"
辛苦你再测试一下是否可用
hlf2016 commentedon Mar 16, 2026
It works for me.Thanks.