Skip to content

fix: EmbeddingRetriever 传入 base_url 以支持代理访问#57

Merged
PolarSnowLeopard merged 1 commit into
masterfrom
fix/embedding-base-url
May 13, 2026
Merged

fix: EmbeddingRetriever 传入 base_url 以支持代理访问#57
PolarSnowLeopard merged 1 commit into
masterfrom
fix/embedding-base-url

Conversation

@PolarSnowLeopard
Copy link
Copy Markdown
Collaborator

Summary

  • EmbeddingRetriever 创建时补充传入 base_url=config.llm.base_url,使 Embedding 调用也走 LLM 配置的代理地址

Test plan

  • 验证 Embedding 调用不再报 Connection error

Embedding 创建时未传 base_url,导致无法走 LLM 代理,
从受限 IP 直连 OpenRouter/OpenAI 时会 Connection error。
@PolarSnowLeopard PolarSnowLeopard merged commit 8283aa3 into master May 13, 2026
3 checks passed
@PolarSnowLeopard PolarSnowLeopard deleted the fix/embedding-base-url branch May 13, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant