Просмотр исходного кода

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

Xingyao Wang 1 год назад
Родитель
Сommit
8a063fdf6a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      openhands/agenthub/codeact_agent/function_calling.py

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