适配图片
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user