feat: 舆情分析智能体改为经 Gateway 转发外部 AG-UI 网关

前端不再直连上游 SSE,改为 POST /api/sentiment-agent/stream 由后台代理转发,支持关闭 TLS 校验并回传完整错误信息。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
董宏凯andCursor committed 2026-08-25 18:26:48 +08:00
1 parent 5c0864bf0a
commit 62a3faa7c8
17 files changed
+398 -130

No files matched your search

+5
View File
@@ -331,6 +331,11 @@ y_log:
enabled: true
write_url: https://ch1.b.uat.4.cn/api/y-log/write
# 舆情分析虚拟智能体:前端改 dist/runtime-config.js 的地址/账号/密码,
# 随请求传给 Gateway 转发;这里只配上游超时。
sentiment_agent:
timeout_seconds: 300
summarization:
# 开关已移到聊天框下方(参考文献下面)的「上下文压缩」按钮,默认关闭。
# 这里 enabled 仅作为非 Web 路径(渠道/定时任务)的后备开关;下面的 trigger/keep