Commit 5893e78
committed
fix(gateway): OpenCode 分组自动生成 x-opencode-session 支持通用客户端,发布 1.2.65
- 通用 OpenAI 客户端(Cherry Studio)不携带 x-opencode-session,仅透传无法满足上游要求
- 网关在缺失时生成 UUID 会话标识,覆盖 chat raw 与 responses passthrough 路径
- 无数据库迁移1 parent 8714c70 commit 5893e78
5 files changed
Lines changed: 24 additions & 1 deletion
File tree
- backend
- cmd/server
- internal/service
- docs/site/content/docs/operations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5196 | 5196 | | |
5197 | 5197 | | |
5198 | 5198 | | |
| 5199 | + | |
5199 | 5200 | | |
5200 | 5201 | | |
5201 | 5202 | | |
| |||
6670 | 6671 | | |
6671 | 6672 | | |
6672 | 6673 | | |
| 6674 | + | |
6673 | 6675 | | |
6674 | 6676 | | |
6675 | 6677 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
20 | 35 | | |
21 | 36 | | |
22 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
| |||
0 commit comments