52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
|
|
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"permission": {
|
|
"lsp": "allow"
|
|
},
|
|
"lsp": true,
|
|
"provider": {
|
|
"llamacpp": {
|
|
"npm": "@ai-sdk/openai-compatible",
|
|
"options": {
|
|
"baseURL": "http://localhost:11434/v1",
|
|
"apiKey": "ollama"
|
|
},
|
|
"models": {
|
|
"google/gemma-4-12B-it-qat-q4_0-gguf": {
|
|
"name":"local llamacpp",
|
|
"modalities": {
|
|
"input": ["text", "image"],
|
|
"output": ["text"]
|
|
},
|
|
"_launch": true,
|
|
"tool_call": true,
|
|
"maxTokens": 16384,
|
|
"vision": true
|
|
}
|
|
}
|
|
},
|
|
"myprovider": {
|
|
"npm": "@ai-sdk/openai-compatible",
|
|
"name": "Uni Mainz",
|
|
"options": {
|
|
"baseURL": "https://ki-chat.uni-mainz.de/api",
|
|
"apiKey": "sk-b0949c09e3654161b7028bdb4a46aca4"
|
|
},
|
|
"models": {
|
|
"Qwen3 235B Thinking": {
|
|
"name": "Qwen3 Thinking",
|
|
"modalities": {
|
|
"input": ["text", "image"],
|
|
"output": ["text"]
|
|
},
|
|
"limit": {
|
|
"context": 65563,
|
|
"output": 16384
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|