ウェブサイト:https://opencode.ai(クリックしてジャンプ!)
設定手順
設定ファイルを作成
プロジェクトルートディレクトリに opencode.json 設定ファイルを作成:
{
"$schema": "https://opencode.ai/config.json",
"theme": "opencode",
"provider": {
"google": {
"options": {
"apiKey": "YOUR_API_KEY_HERE",
"baseURL": "https://llmoxy.com/v1"
}
}
},
"model": "google/gpt-5.4",
"autoupdate": true
}
設定説明
- apiKey:
YOUR_API_KEY_HEREをあなたの LLMoxy トークンに置き換え - baseURL: API アクセスポイント
https://llmoxy.com/v1 - model:
google/gpt-5.4モデルを使用
💡 ヒント auto グループのトークンを使用してください。設定完了後、OpenCode は自動的に LLMoxy の API サービスを使用します。
