Heatherm Huang
|
b0441ca5aa
|
fix(grok): support upstream model sync for API keys
|
2026-07-13 11:46:52 +08:00 |
|
 Wesley LiddickandGitHub
|
26b51ccfd3
|
Merge pull request #3737 from wucm667/fix/sync-models-non-v1-base-url
fix(models): 同步上游模型支持非 /v1 API 版本 base_url(如智谱 /v4)
|
2026-07-07 08:28:41 +08:00 |
|
shaw
|
ec7b20649e
|
feat: apikey 账号支持请求头覆写(Anthropic/OpenAI)
- 账号 credentials 新增 header_override_enabled / header_overrides,
仅对 anthropic/openai 平台的 api_key 账号生效
- 转发前对同名请求头做大小写不敏感覆盖(EqualFold 全量删除后按
wire casing 写入单值),值为空的条目视为占位不参与覆盖
- 覆盖全部出站路径:/v1/messages(标准+透传)、count_tokens、
/v1/responses、chat completions、embeddings、images、全部 WS 模式、
账号测试/探测、上游模型列表
- 创建/编辑/批量更新统一校验:RFC 7230 名称格式、去重、长度/条目上限、
24 个禁止覆写头(认证/连接控制/accept-encoding/sec-websocket-*/
会话隔离头),应用时二次防御过滤
- 前端三个账号弹窗新增开关+键值行编辑器+模板按钮(Claude Code CLI /
Codex CLI 标准头,值为空),本地校验与后端规则对齐,i18n 中英文
|
2026-07-06 19:11:08 +08:00 |
|
wucm667
|
f881ff7cb0
|
fix(models): support non-v1 OpenAI models URLs
|
2026-07-06 17:46:44 +08:00 |
|
alfadb
|
7869b7fe38
|
fix(anthropic): 支持 API Key Bearer 认证方式
|
2026-07-02 10:43:08 +08:00 |
|
 benjaminandSisyphus
|
ba676e43fd
|
feat: add upstream model sync service
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
|
2026-05-18 19:01:12 +08:00 |
|