Kaynağa Gözat

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

Xingyao Wang 1 yıl önce
ebeveyn
işleme
8a063fdf6a

+ 1 - 1
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': {