Skip to content

优化openai 网关#737

Open
mt21625457 wants to merge 3 commits intoWei-Shaw:devfrom
mt21625457:sync/upstream-dev-squash-20260303
Open

优化openai 网关#737
mt21625457 wants to merge 3 commits intoWei-Shaw:devfrom
mt21625457:sync/upstream-dev-squash-20260303

Conversation

@mt21625457
Copy link
Contributor

@mt21625457 mt21625457 commented Mar 3, 2026

  1. 为openai ws mode v2 增加稳定的透传模式,参考 caddy实现
  2. 完美支持openai ws mode v1协议
  3. 支持sub2api 转发sub2api openai ws mode v1 v2协议

- 基于 upstream/dev 对本地 dev 进行 squash 合并
- 统一解决分叉冲突并保留 dev 分支目标实现
- 产出单一提交,便于上游审阅与回溯

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mt21625457 mt21625457 changed the title feat(sync): 同步本地dev分支代码到upstream dev(squash) 优化openai 网关 Mar 3, 2026
yangjianbo and others added 2 commits March 3, 2026 19:55
- 删除已下线默认订阅逻辑对应的过期单测文件
- 修正 openai 网关 failover 分支的缩进格式问题
- 调整 ws v2 透传测试上下文入参以通过 staticcheck

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 补齐 SettingService 的 frame-src 来源提取方法以兼容路由依赖
- 修正 wire_gen 构造签名与网关处理器参数,消除构建错误
- 更新多处测试桩接口实现与契约预期,修复单测失败

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant