fix(chat): 优化聊天流式接口异常处理与拦截器分发类型过滤

- talk 接口改为 TEXT_EVENT_STREAM 输出并包装 Flux 异常处理,返回 error/done 事件
- 登录与签名校验拦截器忽略 ASYNC/ERROR 分发,防止二次校验导致上下文丢失
- 更新嵌入模型与 Qdrant 配置,保持与线上环境一致
This commit is contained in:
2026-02-24 14:54:59 +08:00
parent d3abe32e1a
commit 590230a86b
6 changed files with 40 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ spring:
model: google/gemini-2.5-flash-lite
embedding:
options:
model: text-embedding-v4
model: qwen/qwen3-embedding-8b
# model: qwen/qwen3-embedding-8b
dashscope:
api-key: 11