适配图片

This commit is contained in:
Sirius
2026-08-12 16:23:52 +08:00
parent f65ac095bb
commit 995392e526
12 changed files with 821 additions and 116 deletions
+29
View File
@@ -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"]
}
}
}
}
}
}