Refactor database layer: convert to DatabaseProvider class with initialization

This commit is contained in:
dmit.b
2026-05-08 12:15:56 +03:00
commit 49bb854ca2
28 changed files with 2011 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"llama.cpp": {
"npm": "@ai-sdk/openai-compatible",
"name": "llama-server (local)",
"options": {
"baseURL": "http://127.0.0.1:9988/v1"
},
"models": {
"qwen3-coder:a3b": {
"name": "Qwen_Qwen3.5-9B-Q6_K (local)",
"limit": {
"context": 42000,
"output": 42000
}
}
}
}
},
"mcp": {
"IntelliJIdea": {
"type": "remote",
"url": "http://127.0.0.1:64342/stream",
"enabled": true
}
}
}