Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

fix(zhipu): correct Embedding BaseURL to match API structure

MEKXH467ac013847b
diff --git a/internal/models/provider/zhipu.go b/internal/models/provider/zhipu.go
index ac1433ff5..aecdc8da0 100644
--- a/internal/models/provider/zhipu.go
+++ b/internal/models/provider/zhipu.go
@@ -10,7 +10,7 @@ const (
// ZhipuChatBaseURL 智谱 AI Chat 的默认 BaseURL
ZhipuChatBaseURL = "https://open.bigmodel.cn/api/paas/v4"
// ZhipuEmbeddingBaseURL 智谱 AI Embedding 的默认 BaseURL
- ZhipuEmbeddingBaseURL = "https://open.bigmodel.cn/api/paas/v4/embeddings"
+ ZhipuEmbeddingBaseURL = "https://open.bigmodel.cn/api/paas/v4"
// ZhipuRerankBaseURL 智谱 AI Rerank 的默认 BaseURL
ZhipuRerankBaseURL = "https://open.bigmodel.cn/api/paas/v4/rerank"
)