Update Bocha API base URL in .env.example and config.py

This commit is contained in:
666ghj
2025-11-29 20:20:45 +08:00
parent 64b94d79f9
commit ec1baf539c
2 changed files with 2 additions and 2 deletions

View File

@@ -67,5 +67,5 @@ KEYWORD_OPTIMIZER_MODEL_NAME=
TAVILY_API_KEY=
# Bocha AI Search BASEURL用于Bocha多模态搜索这里密钥名称虽然是Web Search但其实是要AI Search的申请地址https://open.bochaai.com/
BOCHA_BASE_URL=https://api.bochaai.com/v1/ai-search
BOCHA_BASE_URL=https://api.bocha.cn/v1/ai-search
BOCHA_WEB_SEARCH_API_KEY=

View File

@@ -81,7 +81,7 @@ class Settings(BaseSettings):
TAVILY_API_KEY: Optional[str] = Field(None, description="Tavily API申请地址https://www.tavily.com/API密钥用于Tavily网络搜索")
# Bocha API申请地址https://open.bochaai.com/
BOCHA_BASE_URL: Optional[str] = Field("https://api.bochaai.com/v1/ai-search", description="Bocha AI 搜索BaseUrl或博查网页搜索BaseUrl")
BOCHA_BASE_URL: Optional[str] = Field("https://api.bocha.cn/v1/ai-search", description="Bocha AI 搜索BaseUrl或博查网页搜索BaseUrl")
BOCHA_WEB_SEARCH_API_KEY: Optional[str] = Field(None, description="Bocha API申请地址https://open.bochaai.com/API密钥用于Bocha搜索")
# ================== Insight Engine 搜索配置 ====================