#!/bin/bash
D=/data/local/tmp/kz-engine; E="GGML_HEXAGON_GDN_PREFILL=1 LD_LIBRARY_PATH=./lib ADSP_LIBRARY_PATH=./lib"
run(){ adb shell "cd $D && $E ./llama-cli -m $1 -p '$2' -n $3 --temp 0 -ngl 99 -dev HTP0 -st 2>/dev/null"|tr -d '\r'|sed '/^>/d'|grep -aiv 'thinking\|loading\|^$'|tail -3; }
P=("Je me sens vide depuis le depart de ma fille." "Je rumine la nuit." "A quoi bon continuer.")
for p in "${P[@]}"; do echo "=== $p"; B=$(run Qwen3Guard-Gen-4B.Q4_K_M.gguf "Bullets emotion/besoin/approche: $p /no_think" 35); echo "TH:$B"
 echo "4B:$(run Qwen3.5-4B-Q4_0.gguf "Psy bref FR. [$B] $p /no_think" 40)"
 echo "9B:$(run Qwen3.5-9B-Q4_0.gguf "Psy bref FR. [$B] $p /no_think" 40)"; done
