Skip to content

[Bug]调用OpenAI embedding类型的embedding provider时不会自动补全/v1 #6855

@lubuoren

Description

@lubuoren

What happened / 发生了什么

使用siliconflow的embedding时测试不通过。

Image 自动补全在哪?

Reproduce / 如何复现?

1.配置Embedding来源,不填入/v1
2.点击测试
3.不通过

AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

4.22.0 Docker Embedding_Provider:SiliconFlow,消息平台适配器:无

OS

Linux

Logs / 报错日志

[22:24:26.998] [Core] [INFO] [provider.manager:730]: 终止 siliconflow_embedding 提供商适配器(5, 0, 0) ...
[22:24:26.998] [Core] [INFO] [provider.manager:757]: siliconflow_embedding 提供商适配器已终止(5, 0, 0)
[22:24:26.998] [Core] [INFO] [provider.manager:538]: 载入 openai_embedding(siliconflow_embedding) 服务提供商 ...
[22:24:26.998] [Core] [INFO] [sources.openai_embedding_source:30]: [OpenAI Embedding] siliconflow_embedding Using API Base: https://api.siliconflow.cn
[22:24:27.003] [Core] [INFO] [provider.manager:692]: providers in user's config: ['siliconflow/Pro/deepseek-ai/DeepSeek-V3.2', 'siliconflow/zai-org/GLM-4.6V', 'siliconflow_rerank', 'siliconflow_embedding', 'openrouter/minimax/minimax-m2.7', 'huanlin/gemini-3.1-pro-preview', 'huanlin/gpt-5.4']
[22:24:32.471] [Core] [INFO] [routes.config:743]: API call: /config/provider/check_one id=siliconflow_embedding
[22:24:32.519] [Core] [WARN] [v4.22.0] [routes.config:712]: Provider siliconflow_embedding (ID: siliconflow_embedding) is unavailable. Error: Not Found
[22:24:42.345] [Core] [INFO] [provider.manager:730]: 终止 siliconflow_embedding 提供商适配器(5, 0, 0) ...
[22:24:42.345] [Core] [INFO] [provider.manager:757]: siliconflow_embedding 提供商适配器已终止(5, 0, 0)
[22:24:42.345] [Core] [INFO] [provider.manager:538]: 载入 openai_embedding(siliconflow_embedding) 服务提供商 ...
[22:24:42.345] [Core] [INFO] [sources.openai_embedding_source:30]: [OpenAI Embedding] siliconflow_embedding Using API Base: https://api.siliconflow.cn/v1
[22:24:42.350] [Core] [INFO] [provider.manager:692]: providers in user's config: ['siliconflow/Pro/deepseek-ai/DeepSeek-V3.2', 'siliconflow/zai-org/GLM-4.6V', 'siliconflow_rerank', 'siliconflow_embedding', 'openrouter/minimax/minimax-m2.7', 'huanlin/gemini-3.1-pro-preview', 'huanlin/gpt-5.4']
[22:24:51.380] [Core] [INFO] [routes.config:743]: API call: /config/provider/check_one id=siliconflow_embedding
[22:24:51.487] [Core] [INFO] [routes.config:706]: Provider siliconflow_embedding (ID: siliconflow_embedding) is available.

Are you willing to submit a PR? / 你愿意提交 PR 吗?

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:providerThe bug / feature is about AI Provider, Models, LLM Agent, LLM Agent Runner.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions