-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Labels
Description
software-agent-sdk/openhands-sdk/openhands/sdk/agent/agent.py
Lines 409 to 414 in 6ce3ba5
| # Finish conversation if LLM produced content (awaits user input) | |
| # Continue if only reasoning without content (e.g., GPT-5 codex thinking) | |
| if has_content: | |
| logger.debug("LLM produced a message response - awaits user input") | |
| state.execution_status = ConversationExecutionStatus.FINISHED | |
| return |
As descripted as title, it doesn't make sense to stop conversation even when the models don't return valid tools but has contents return, especially with openhands --headless -t mode.
When addressing some difficult requirements, model maybe not give some tools back during the middle steps.
Reactions are currently unavailable