feat:修改投顾agent和nl2sql的功能

This commit is contained in:
2026-09-13 23:46:15 +08:00
parent 4dcfcbeb3a
commit 958b785b04
11 changed files with 436 additions and 61 deletions
+2 -1
View File
@@ -111,7 +111,8 @@ class LLMCfg(BaseSettings):
class AdvisorAgentCfg(BaseSettings):
"""投顾工作台调用 Agent 服务的配置。"""
base_url: str = ""
# Agent 已内置在当前 FastAPI 应用中;有独立部署时可通过 ADVISOR_AGENT_BASE_URL 覆盖。
base_url: str = "http://127.0.0.1:8000"
timeout: float = 1.0
request_timeout: float = 1.0
retry: int = 1