add server, config, and scripts

This commit is contained in:
2026-06-14 19:05:18 +08:00
parent 110226d612
commit b3caa7dd7b
5 changed files with 124 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"Agent": {
"api": "openai",
"options": {
"baseURL": "http://localhost:8000/v1/",
"apiKey": "not-needed"
},
"models": {
"GLM-4.6V-Flash": {
"id": "GLM-4.6V-Flash",
"name": "GLM-4.6V-Flash",
"limit": { "context": 32768, "output": 8192 },
"cost": { "input": 0, "output": 0 },
"modalities": { "input": ["text", "image"], "output": ["text"] }
}
}
}
},
"experimental": {
"mcp_timeout": 60000
}
}