TGViewer
LINUX DO Channel LINUX DO Channel @linux_do_channel · 38K subscribers
Post #526953 121
奥尔良全🐓 (@spongehah) 在 opencode 配置合并同一中转站的多个分组密钥/模型到同一个provider 中发帖

简单搜了一下站内没有相关教程,就简单写了一个 
正常配置长这样,同一个 baseUrl 的不同模型都属于不同的 provider:
"provider": {
"xxx-grok": { "npm": "@ai-sdk/openai-compatible", "options": { "apiKey": "sk-grok-..." }, "models": { /* ... */ } },
"xxx-ds": { "npm": "@ai-sdk/anthropic", "options": { "apiKey": "sk-ds-..." }, "models": { /* ... */ } },
"xxx-gpt": { "npm": "@ai-sdk/openai", "options": { "apiKey": "sk-gp...
More from @linux_do_channel
  1. Oct 7, 2026wood1 在 【求助】codex cli无法通过订阅访问6.1 sol么 中发帖 ■ {“type”:“error”,“status”:400,“error”:{“type”:“…
  2. Oct 7, 2026囤囤~ (@lixi) 在 收到了微信的内测小金罐功能。这个功能年初就有,分批开放吧。类似支付宝的小荷包 中发帖 [cef361909c4f024b39c339b515d25305…
  3. Oct 7, 2026@xffdffv 在 一个周限号额度全满,一个5h号周额度刚重置5h额度0%,Tibo你不是人 中发帖 还有哪个佬友的运气能比我差吗,一个周限全满,一个周限刚自然恢复5h还是0%,…
  4. Oct 7, 2026天梦 (@tmwl) 在 Oi !国庆假期马上就要结束了😫 中发帖 不想上班😡:oncoming_fist:t2:不想上班😡:oncoming_fist:t2:不想上班😡:…
  5. Oct 7, 2026ZhizhangOps (@zhizhang31415926-ops) 在 【RelayFor Rafts】游戏攻略 中发帖 首先感谢佬@Akanyi 开发的游戏。 😝 本人打完…
  6. Oct 7, 2026Real (@caoshuo2003) 在 生图会影响CPA计算额度吗,team额度咋这高了 中发帖 错觉吗,重置后team额度看起来好高,之前5h就10刀左右,这是astra和6…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →