full-greece-2387
10/17/2025, 9:55 AMFunctionCallValidationError exception. IIRC in V0 we send these errors back as observations so that the agent can recover from, maybe we should do the same for V1?
File "/home/hoang/.cache/uv/archive-v0/wOgA6PHvOssGAfpLhM2TD/lib/python3.12/site-packages/tenacity/__init__.py", line 400, in lambda
self._add_action_func(lambda rs: rs.outcome.result())
^^^^^^^^^^^^^^^^^^^
File "/home/hoang/.local/share/uv/python/cpython-3.12.11-linux-x86_64-gnu/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/hoang/.local/share/uv/python/cpython-3.12.11-linux-x86_64-gnu/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/hoang/.cache/uv/archive-v0/wOgA6PHvOssGAfpLhM2TD/lib/python3.12/site-packages/tenacity/__init__.py", line 480, in __call__
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/home/hoang/.cache/uv/archive-v0/wOgA6PHvOssGAfpLhM2TD/lib/python3.12/site-packages/openhands/sdk/llm/llm.py", line 462, in _one_attempt
resp = self.post_response_prompt_mock(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hoang/.cache/uv/archive-v0/wOgA6PHvOssGAfpLhM2TD/lib/python3.12/site-packages/openhands/sdk/llm/mixins/non_native_fc.py", line 82, in post_response_prompt_mock
fn_msgs: list[dict] = convert_non_fncall_messages_to_fncall_messages(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hoang/.cache/uv/archive-v0/wOgA6PHvOssGAfpLhM2TD/lib/python3.12/site-packages/openhands/sdk/llm/mixins/fn_call_converter.py", line 957, in convert_non_fncall_messages_to_fncall_messages
params = _extract_and_validate_params(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hoang/.cache/uv/archive-v0/wOgA6PHvOssGAfpLhM2TD/lib/python3.12/site-packages/openhands/sdk/llm/mixins/fn_call_converter.py", line 739, in _extract_and_validate_params
raise FunctionCallValidationError(
openhands.sdk.llm.exceptions.FunctionCallValidationError: Missing required parameters for function 'str_replace_editor': {'command', 'security_risk', 'path'}calm-artist-7206
10/17/2025, 11:02 AMchilly-france-44439
10/20/2025, 2:41 PMAgentErrorEvent back to the LLM nod We should also add test for itfull-greece-2387
10/20/2025, 8:55 PMMessageEvent instead? 🤔 https://github.com/OpenHands/agent-sdk/pull/832calm-artist-7206
10/20/2025, 9:32 PMActionEvent without action for such case, for the tool call:
https://github.com/OpenHands/agent-sdk/blob/3c4ce52a8b7cf192df16ed58974c3d67cae1bafa/openhands-sdk/openhands/sdk/agent/agent.py#L324calm-artist-7206
10/20/2025, 9:35 PMcalm-artist-7206
10/20/2025, 9:37 PMaction=None will be problematic in some places, and it turned out it wasn't. Maybe... it's possible to make it without tool, too? And with the tool string in the AgentError?chilly-france-44439
10/21/2025, 12:56 PMfull-greece-2387
10/21/2025, 1:08 PMcalm-artist-7206
10/21/2025, 1:08 PMfull-greece-2387
10/21/2025, 1:10 PMcalm-artist-7206
10/21/2025, 1:13 PMcalm-artist-7206
10/21/2025, 1:15 PMcalm-artist-7206
10/21/2025, 1:17 PMfull-greece-2387
10/21/2025, 1:31 PMcalm-artist-7206
10/21/2025, 1:37 PM