feat: rewrite gh-commit in Go with local Ollama backend

Replaces the Python/Crush/DuckDB implementation with a CGO-free Go binary:
cobra CLI, modernc.org/sqlite storage, huh/lipgloss UI, and speed-tuned raw
/api/generate calls (think:false, keep_alive, capped num_predict) against a
local qwen3.5:2b. Ships as a gh extension via cli/gh-extension-precompile.
This commit is contained in:
t
2026-08-15 19:10:16 -04:00
parent 735229b150
commit 9647c854c9
31 changed files with 2731 additions and 1085 deletions
-18
View File
@@ -1,18 +0,0 @@
{
"$schema": "https://charm.land/crush.json",
"providers": {
"groq": {
"type": "openai-compat",
"base_url": "https://api.groq.com/openai/v1",
"api_key": "$GROQ_API_KEY",
"models": [
{
"id": "openai/gpt-oss-120b",
"name": "GPT-OSS 120B on Groq",
"context_window": 131072,
"default_max_tokens": 8192
}
]
}
}
}