Skip to content

← All questions

Local model loops on agent generate, calling the same tool until it hits max turns

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

bash
sdods agent generate -p rwa-bank --adapter ollama --model llama3.1:8b --plan docs/test-plans/contacts.md --events

It calls feature_list, reads the result, calls feature_list again with the same arguments, and keeps going until the turn budget stops it. No proposal. It is not confused about the tool — it just never seems to remember it already called it.

Budget never fires, which I assume is because nothing is billed.

4 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related