91 lines
1.9 KiB
JSON
91 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://charm.land/crush.json",
|
|
"options": {
|
|
"disable_metrics": true
|
|
},
|
|
"providers": {
|
|
"crush": {
|
|
"disable": true
|
|
},
|
|
"exa": {
|
|
"disable": true
|
|
},
|
|
"local-ollama": {
|
|
"type": "openai-compat",
|
|
"base_url": "http://ollama.home.arpa:11434/v1",
|
|
"api_key": "ollama",
|
|
"models": [
|
|
{
|
|
"id": "gemma4-1gpu",
|
|
"name": "gemma4-1gpu",
|
|
"context_window": 48000,
|
|
"cost_per_1m_in": 0,
|
|
"cost_per_1m_out": 0,
|
|
"cost_per_1m_in_cached": 0,
|
|
"cost_per_1m_out_cached": 0,
|
|
"default_max_tokens": 8192,
|
|
"can_reason": true,
|
|
"supports_attachments": true
|
|
},
|
|
{
|
|
"id": "qwen3.6-1gpu",
|
|
"name": "qwen3.6-1gpu",
|
|
"context_window": 128000,
|
|
"cost_per_1m_in": 0,
|
|
"cost_per_1m_out": 0,
|
|
"cost_per_1m_in_cached": 0,
|
|
"cost_per_1m_out_cached": 0,
|
|
"default_max_tokens": 8192,
|
|
"can_reason": true,
|
|
"supports_attachments": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"models": {
|
|
"default": {
|
|
"provider": "local-ollama",
|
|
"model": "qwen3.6-1gpu",
|
|
"think": true
|
|
}
|
|
},
|
|
"mcp": {
|
|
"nix": {
|
|
"type": "stdio",
|
|
"command": "nix",
|
|
"args": [
|
|
"run",
|
|
"github:utensils/mcp-nixos",
|
|
"--"
|
|
]
|
|
},
|
|
"gitea": {
|
|
"type": "stdio",
|
|
"command": "nix",
|
|
"args": [
|
|
"run",
|
|
"nixpkgs#gitea-mcp-server",
|
|
"--"
|
|
]
|
|
},
|
|
"ha": {
|
|
"type": "stdio",
|
|
"command": "nix",
|
|
"args": [
|
|
"shell",
|
|
"nixpkgs#uv",
|
|
"nixpkgs#python3",
|
|
"--command",
|
|
"uv",
|
|
"tool",
|
|
"run",
|
|
"ha-mcp"
|
|
],
|
|
"env": {
|
|
"UV_PYTHON_DOWNLOADS": "never",
|
|
"UV_PYTHON_PREFERENCE": "system"
|
|
}
|
|
}
|
|
}
|
|
}
|