Skip to content

fix: await set_progress() coroutine in code_execution_tool#1557

Open
qvl15 wants to merge 1 commit into
agent0ai:mainfrom
qvl15:fix/set-progress-not-awaited
Open

fix: await set_progress() coroutine in code_execution_tool#1557
qvl15 wants to merge 1 commit into
agent0ai:mainfrom
qvl15:fix/set-progress-not-awaited

Conversation

@qvl15
Copy link
Copy Markdown

@qvl15 qvl15 commented Apr 24, 2026

Fix: await set_progress() coroutine in code_execution_tool
Fixes #1543
set_progress() is defined as async def in helpers/tool.py but was called without await at lines 259 and 371 in code_execution_tool.py. This caused progress updates to silently fail with a RuntimeWarning, making the agent appear stalled in the WebUI. Added await at both locations to fix this.

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.

Bug: set_progress() coroutine never awaited in code_execution_tool.py — agent appears stalled/frozen in WebUI

1 participant