Files
command-code-openai-bridge/examples/opencode.json
T
2026-08-12 16:23:52 +08:00

30 lines
700 B
JSON

{
"$schema": "https://opencode.ai/config.json",
"provider": {
"command-bridge": {
"npm": "@ai-sdk/openai-compatible",
"name": "Command Code Bridge",
"options": {
"baseURL": "http://127.0.0.1:18000/v1",
"apiKey": "local-bridge"
},
"models": {
"command-default": {
"name": "Command Code Default",
"modalities": {
"input": ["text"],
"output": ["text"]
}
},
"command-luna": {
"name": "Command Code Luna (image data URLs)",
"modalities": {
"input": ["text", "image"],
"output": ["text"]
}
}
}
}
}
}