-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area:providerThe bug / feature is about AI Provider, Models, LLM Agent, LLM Agent Runner.The bug / feature is about AI Provider, Models, LLM Agent, LLM Agent Runner.bugSomething isn't workingSomething isn't working
Description
What happened / 发生了什么
在嵌入模型设置维度能否能否兼容不支持设置维度的模型配置。
bge-m3嵌入模型不支持设置维度,设置维度会报错{'error': {'message': 'Model "bge-m3" does not support matryoshka representation, changing output dimensions will lead to poor results.', 'type': 'BadRequestError', 'param': None, 'code': 400}}。
Reproduce / 如何复现?
选择bge-m3, 默认设置1024维度, 点击测试 ,服务就会报错。
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
4.20.0 docker部署 Linux/amd64
OS
Linux
Logs / 报错日志
Are you willing to submit a PR? / 你愿意提交 PR 吗?
- Yes!
Code of Conduct
- I have read and agree to abide by the project's Code of Conduct。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:providerThe bug / feature is about AI Provider, Models, LLM Agent, LLM Agent Runner.The bug / feature is about AI Provider, Models, LLM Agent, LLM Agent Runner.bugSomething isn't workingSomething isn't working