30 lines
700 B
JSON
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"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|