dev: lokale Tests mit Mock-llama.cpp

This commit is contained in:
Mikei386
2026-08-18 22:52:48 +02:00
parent 70dba6fcb2
commit c753bd120c
7 changed files with 318 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
# Simuliert /usr/local/bin/llama-profile für lokale Tests.
# Setzt nur die Fake-override.conf (kein systemctl, kein whiptail).
set -e
D="$(cd "$(dirname "$0")" && pwd)/fake-profile-dir"
case "${1:-}" in
fast|medium|long) ;;
*) echo "Usage: fake-llama-profile {fast|medium|long}"; exit 1 ;;
esac
cp "$D/profile-$1.conf.disabled" "$D/override.conf"
echo "fake: Profil '$1' gesetzt"