Commit graph

2 commits

Author SHA1 Message Date
d72361cbae chore(repo): add LICENSE, CI workflow, and untrack local config
Public-repo hygiene now that the project is hosted on Forgejo:

- LICENSE: add the MIT text that pyproject.toml already declares.
- .forgejo/workflows/ci.yml: run the pytest suite on push/PR against
  Python 3.10 and 3.12, so regressions (e.g. the healthcheck port bug)
  get caught automatically.
- Untrack llama.cpp.config and gitignore it: it is a machine-specific
  runtime config that may later hold an api_key. The tracked template
  remains llama.cpp.config.example (copy it to get started).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 10:23:05 +02:00
3158d16f9b Initial commit: llamacppctl – llama.cpp Docker server control CLI
Steuert einen llama.cpp-Server als Docker-Container: --start/--check/--stop/
--change/--chat, INI-Konfiguration (builtin defaults -> [default] ->
[model.<profile>] -> CLI), SSRF-gehärtete Prompt-Eingabe (Datei/HTTPS-URL),
File-Locking für --start/--change und ein OpenAI-kompatibler HTTP-Layer.

Enthält u. a.:
- Env-Var-Expansion in hf_home (hf_home = ${HF_HOME})
- konfigurierbares Chat-Antwortbudget (max_tokens/chat_temperature,
  CLI: --max-tokens/--chat-temp); temperature defer an Server-Default
- DNS-Pinning gegen DNS-Rebinding bei URL-Quellen
- dry-run als nebenwirkungsfreie Vorschau (kein Lock/Removal/Modell-Check)
- 98 Tests (pytest)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 16:36:27 +02:00