You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: react loop is missing a check for result without tool calls #762
I'm seeing the react_using_mellea test with DuckDuckGo and Ollama intermittently loop and run out of iterations.
When this happens there is often already a step.value that has the answer. More iterations doesn't solve anything and
is_final is never called.
I suspect this could have something to do with DDGS rate limiting but have no evidence.
Since there is a whole in the logic, it seem the step value should be used when possible. TBD whether it should be used ASAP or maybe just checked after all iterations are used up.
I have a fix that works pretty good for me, but need help determining if the fix would have any bad side effects in other cases.
Activity
markstur commentedon Mar 27, 2026
For me this is the cause of #684
PR coming soon
fix: handle direct model answers in ReACT loop
fix: Add qualitative and slow markers so the example is skipped
fix: Add qualitative and slow markers so the example is skipped (#764)
fix: before failing react loop ask LLM if it has the answer
fix: handle direct model answers in ReACT loop
fix: before failing react loop ask LLM if it has the answer
markstur commentedon May 6, 2026
This may have been fixed by #896
fix: handle direct model answers in ReACT loop
fix: before failing react loop ask LLM if it has the answer
markstur commentedon May 7, 2026
Closing since I cannot reproduce the problem after #896
Closing the PR #763 with a callback that looked useful, but is now a solution w/o a problem.
fix: Add qualitative and slow markers so the example is skipped (gene…