Same tool call infinite loop

#139
by vstiff - opened

Tried the aquarium test in Codex, and it got stuck in infinite loop calling same tool over and over again. Had similar issues in other tasks/harnesses, but was unable to catch it, and here it reproduced 3 times, so had opportunity to log full prompt

Served with

llama-server \
    --host 0.0.0.0 --threads-http 4 --alias llm \
    -hf unsloth/gemma-4-31B-it-qat-GGUF:UD-Q4_K_XL \
    -np 1 -fa on --ctx-size 262144 --swa-checkpoints 2 \
    --ubatch-size 256 \
    --no-mmap --keep 10000 \
    --spec-type draft-mtp --spec-draft-n-max 3

In same env Qwen3.5-122b and Qwen3.6-27b (also quantized by Unsloth) complete the same task without problems.

I noticed that prompt has leftover from previous attempts, so this is not a good example. And in clear chat it doesn't loop this time.

vstiff changed discussion status to closed

Sign up or log in to comment