Skip to content

[Bug]: Model reasoning in loop burning all tokens #251

@pat3dx

Description

@pat3dx

Description

There is a big issue on how the model, whatever the model, is reasoning. For a simple blog post, it took 11 mn .........and cost me $2 for a simple blog post using the new Qwen 3.6 Flash, witch cost nothing. this is just totally crazy.
The AI make the blog post in 30s, then try to fix issue in loop, and never find the issue.
I tried different model Mimo v2.5, Mimo v2.5 Pro, Qwen 3.6 flash, all same issue....agent try to fix issue for 10+ mn for a simple task, and burn a lot of credits for nothing.
You really need to make the agent smarter.
Also, i noticed, in the AI reasoning in the chat, a lot of time it try to read the error, but AI said, it don't know what is the issue, because the lag parse nothing.
So the AI, try to fin by itself and test everything.

The biggest issue, is that AI can't reaf the log because the log is empty.
Need an urgent fix, i had to stop testing the app, because it whould have spend me like $10 to genrerate a simple blog article LOL...

Steps to reproduce

step to reproduce: everything, genrate blog post, landin,g page, everything.

Expected behavior

for a blog post, the AI should genrate it in less than 1mn, not 10mn with a cost of $2+.....and even after 10mn of reseasoning, i had to stop it.....it can't even find and fix the issue in the blog post.

Actual behavior

Agent is stuck in a loop of trying to find and read error log, but the log is empty, so Agent don't know what issue there is, and try everything by itself, so it enter in an infinie loop of reasoning - editing - reasoning - editing.....and burn all credits.

open-codesign version

0.1.4

Platform

Windows

OS version

win 11

Model provider (if relevant)

OpenRouter

Error code

no error code

Diagnostics bundle

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting maintainer review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions