Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix(agent): not default to /repo path (#4799)

Xingyao Wang8a063fdf6afd
diff --git a/openhands/agenthub/codeact_agent/function_calling.py b/openhands/agenthub/codeact_agent/function_calling.py
index 770d2c679d..afe6f253d5 100644
--- a/openhands/agenthub/codeact_agent/function_calling.py
+++ b/openhands/agenthub/codeact_agent/function_calling.py
@@ -245,7 +245,7 @@ StrReplaceEditorTool = ChatCompletionToolParam(
'type': 'string',
},
'path': {
- 'description': 'Absolute path to file or directory, e.g. `/repo/file.py` or `/repo`.',
+ 'description': 'Absolute path to file or directory, e.g. `/workspace/file.py` or `/workspace`.',
'type': 'string',
},
'file_text': {