1. 13 Jan, 2026 6 commits
    • IanShaw027's avatar
      fix(codex): 添加codex CLI instructions fallback机制 · f9713e87
      IanShaw027 authored
      ## 问题
      - 使用OpenAI API key时,opencode客户端可能因instructions不兼容而报错
      - 依赖外部GitHub获取instructions,网络故障时会失败
      
      ## 解决方案
      1. 将codex CLI标准instructions嵌入到项目中
      2. 实现自动fallback机制:
         - 优先使用opencode GitHub的instructions
         - 失败时自动fallback到本地codex CLI instructions
      3. 添加辅助函数用于错误检测和手动替换
      
      ## 改动
      - 新增: internal/service/prompts/codex_cli_instructions.md
        - 从codex项目复制的标准instructions
        - 使用go:embed嵌入到二进制文件
      
      - 修改: internal/service/openai_codex_transform.go
        - 添加embed支持
        - 增强getOpenCodeCodexHeader()的fallback逻辑
        - 新增GetCodexCLIInstructions()公开函数
        - 新增ReplaceWithCodexInstructions()用于手动替换
        - 新增IsInstructionError()用于错误检测
      
      ## 优势
      - 零停机:GitHub不可用时仍能正常工作
      - 离线可用:不依赖外部网络
      - 兼容性:使用标准codex CLI instructions
      - 部署简单:instructions嵌入到二进制文件
      f9713e87
    • shaw's avatar
      fix: Gemini OpenCode 教程 baseURL 改为 v1beta · 93db889a
      shaw authored
      93db889a
    • Wesley Liddick's avatar
      Merge pull request #226 from xilu0/main · 0df7385c
      Wesley Liddick authored
      feat(gateway): 优化 Antigravity/Gemini 思考块处理 此提交解决了思考块 (thinking blocks) 在转发过程中的兼容性问题
      0df7385c
    • Wesley Liddick's avatar
      Merge pull request #260 from IanShaw027/fix/sync-openai-gpt5-models · 1a3fa641
      Wesley Liddick authored
      fix: 同步 OpenAI GPT-5 模型列表并完善参数处理
      1a3fa641
    • Wesley Liddick's avatar
      Merge pull request #259 from cyhhao/main · 64614756
      Wesley Liddick authored
      fix: adjust OpenCode OpenAI example store placement
      64614756
    • Wesley Liddick's avatar
      Merge pull request #257 from Edric-Li/feat/ops-fullscreen-scrollbar · bb1fd54d
      Wesley Liddick authored
      feat(ops): 添加运维监控全屏模式 & 优化滚动条
      bb1fd54d
  2. 12 Jan, 2026 34 commits