opencode-provider-switch/examples/opencode.jsonc
apale7 cf3dcec399 refactor(cli): rename tool to ocswitch
Avoid collision with the existing Opswitch product while keeping the repository name as opencode-provider-switch.

This aligns the CLI, provider key, config paths, examples, and Trellis history under one public-facing name.
2026-04-17 21:43:21 +08:00

37 lines
859 B
Plaintext

{
// Sanitized example for `ocswitch provider import-opencode --from ./examples/opencode.jsonc`
"model": "su8/gpt-5.4",
"small_model": "codex/GPT-5.4-mini",
"provider": {
"su8": {
"npm": "@ai-sdk/openai",
"name": "SU8 OpenAI-Compatible",
"options": {
"baseURL": "https://cn2.su8.codes/v1",
"apiKey": "sk-example-su8-replace-me"
},
"models": {
"gpt-5.4": {
"name": "gpt-5.4"
}
}
},
"codex": {
"npm": "@ai-sdk/openai",
"name": "Codex OpenAI-Compatible",
"options": {
"baseURL": "https://api-vip.codex-for.me/v1",
"apiKey": "sk-example-codex-replace-me"
},
"models": {
"GPT-5.4": {
"name": "GPT-5.4"
},
"GPT-5.4-mini": {
"name": "GPT-5.4-mini"
}
}
}
}
}