29 lines
638 B
JSON

{
"$schema": "https://opencode.ai/config.json",
"model": "drobotics/glm-5.3",
"provider": {
"drobotics": {
"npm": "@ai-sdk/openai-compatible",
"name": "Drobotics Gateway",
"options": {
"baseURL": "https://ai-api.d-robotics.cc/v1",
"apiKey": "{env:DROBOTICS_API_KEY}"
},
"models": {
"glm-5.3": {
"name": "glm-5.3",
"options": {
"maxOutputTokens": 65536
}
}
}
}
},
"permission": {
"read": {"*": "allow"},
"edit": {"*": "allow"},
"bash": {"*": "allow"},
"external_directory": {"*": "allow"}
}
}