Skip to content

fix(agents): reset task state for each run - #910

Open
Sanjays2402 wants to merge 1 commit into
SWE-agent:mainfrom
Sanjays2402:fix/909-reset-run-state
Open

fix(agents): reset task state for each run#910
Sanjays2402 wants to merge 1 commit into
SWE-agent:mainfrom
Sanjays2402:fix/909-reset-run-state

Conversation

@Sanjays2402

Copy link
Copy Markdown

Fixes #909

Reset per-task counters, cost, format-error state, and elapsed-time tracking when a reused DefaultAgent starts run(). The regression exercises two consecutive tasks and verifies each receives a fresh step budget.

Reset per-run counters, format-error state, and elapsed-time tracking when a DefaultAgent instance starts a new task. Add regression coverage showing reused agents receive a fresh step budget.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DefaultAgent.run() retains per-run budget and timing state across invocations

1 participant