Files
xiaoyin-gateway/scripts
Jidekin c2e1226836 fix(sync): 适配 OpenCode 文档改版(Endpoints 改为 /inference/go/<vendor>/v1/)
文档 Endpoints 表地址从 https://opencode.ai/zen/go/v1/<path> 改为按供应商分线:
  /inference/go/openai/v1/{chat/completions,responses}
  /inference/go/anthropic/v1/messages
  /inference/go/google/...(Google 原生,网关不支持)
旧的 "/zen/go/v1/" 硬匹配导致一个模型都解析不出,每日同步固定 exit 2。
改为按路径末尾识别三条协议线(新旧格式都兼容),认不出的跳过并在报告里单列。
2026-10-21 10:26:51 +08:00
..