We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a76a1d commit 2d2d088Copy full SHA for 2d2d088
1 file changed
openhands-tools/openhands/tools/file_editor/definition.py
@@ -229,11 +229,7 @@ def create(
229
base_description = "\n".join(description_lines[:2]) # First two lines
230
remaining_description = "\n".join(description_lines[2:]) # Rest of description
231
232
- # Add image viewing line if the agent supports vision. Delegates to
233
- # ``agent.supports_vision()`` so ACPAgent can override — its sentinel
234
- # LLM ("acp-managed") is unknown to LiteLLM and would otherwise
235
- # report False even when the wrapped server forwards images to a
236
- # vision-capable model.
+ # Add image viewing line if the agent supports vision
237
if conv_state.agent.supports_vision():
238
tool_description = (
239
f"{base_description}\n"
0 commit comments