Autumn-27
4319fe413f
feat(llm): 每个 LLM 配置支持自定义会话头
新增 session_header_key:非空时每次 LLM 请求带上该 HTTP 头,头值为当前
运行的 session id(chat 会话=conv-<id>,worker=exp<x>-worker-i<intent>
等)。用于某些按 session-id 头做提示缓存/粘性路由的网关。
实现:在已有的 quotaAwareTransport 里从请求 context 读取 session id
(transcript.WithSessionID 挂上的)并注入,无需改 norma;同一共享 provider
也能按会话发出不同头值。DB 加 session_header_key 列(带旧库迁移),前端
LLM 配置弹窗新增输入框。
2026-09-07 11:21:50 -04:00
..
2026-07-26 04:27:45 -04:00
2026-08-28 14:03:07 +08:00
2026-08-31 09:00:21 -04:00
2026-08-28 14:03:07 +08:00
2026-08-24 19:29:00 +08:00
2026-08-31 12:20:31 -04:00
2026-08-24 14:14:15 +08:00
2026-08-24 14:14:15 +08:00
2026-07-26 04:27:45 -04:00
2026-07-26 04:27:45 -04:00
2026-08-31 12:20:31 -04:00
2026-08-24 10:32:10 -04:00
2026-08-31 12:20:31 -04:00
2026-08-31 12:20:31 -04:00
2026-08-15 00:19:14 -04:00
2026-09-07 10:43:38 -04:00
2026-08-15 00:19:14 -04:00
2026-08-18 12:20:53 -04:00
2026-08-25 09:40:05 -04:00
2026-09-07 11:21:50 -04:00
2026-08-24 19:28:18 +08:00
2026-08-25 11:39:24 -04:00
2026-09-07 11:21:50 -04:00
2026-09-07 10:43:38 -04:00
2026-08-24 19:29:00 +08:00
2026-09-07 11:21:50 -04:00
2026-07-26 04:27:45 -04:00
2026-08-24 19:29:00 +08:00
2026-08-24 19:29:00 +08:00
2026-07-26 04:27:45 -04:00
2026-08-08 09:09:38 -04:00
2026-08-24 14:14:15 +08:00
2026-08-24 10:32:10 -04:00
2026-08-24 19:29:00 +08:00
2026-08-29 22:05:28 +08:00
2026-08-29 21:55:27 +08:00
2026-09-07 10:43:38 -04:00
2026-08-17 09:54:04 -04:00