Skip to content

⚠️ Tool 'str_replace_editor' encountered a problem: StrReplaceEditor.execute() missing 1 required keyword-only argument: 'path' #1189

@iPadawan

Description

@iPadawan

Bug Description

(open_manus) PS D:\OpenManus> python .\main.py
INFO [browser_use] BrowserUse logging setup complete with level info
INFO [root] Anonymized telemetry enabled. See https://docs.browser-use.com/development/telemetry for more information.
Enter your prompt: cosa sai fare?
2025-07-01 15:27:03.416 | WARNING | main:main:25 - Processing your request...
2025-07-01 15:27:03.417 | INFO | app.agent.base:run:140 - Executing step 1/20
2025-07-01 15:27:09.175 | INFO | app.llm:update_token_count:243 - Token usage: Input=1566, Completion=24, Cumulative Input=1566, Cumulative Completion=24, Total=1590, Cumulative Total=1590
2025-07-01 15:27:09.175 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:09.176 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:09.176 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:09.176 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:09.181 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:09.236 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:09.236 | INFO | app.agent.base:run:140 - Executing step 2/20
2025-07-01 15:27:10.039 | INFO | app.llm:update_token_count:243 - Token usage: Input=1680, Completion=30, Cumulative Input=3246, Cumulative Completion=54, Total=1710, Cumulative Total=3300
2025-07-01 15:27:10.039 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:10.039 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:10.039 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:10.040 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"str_replace","new_str":"","old_str":""}
2025-07-01 15:27:10.040 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:10.040 | ERROR | app.agent.toolcall:execute_tool:207 - ⚠️ Tool 'str_replace_editor' encountered a problem: StrReplaceEditor.execute() missing 1 required keyword-only argument: 'path'
Traceback (most recent call last):

File "D:\OpenManus\main.py", line 36, in
asyncio.run(main())
│ │ └ <function main at 0x0000025F06A1AAC0>
│ └ <function run at 0x0000025F06DA6200>
└ <module 'asyncio' from 'C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\...

File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\Lib\asyncio\runners.py", line 195, in run
return runner.run(main)
│ │ └ <coroutine object main at 0x0000025F0BED5210>
│ └ <function Runner.run at 0x0000025F06E1B880>
└ <asyncio.runners.Runner object at 0x0000025F06A12750>
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
│ │ │ └ <Task pending name='Task-1' coro=<main() running at D:\OpenManus\main.py:26> cb=[_run_until_complete_cb() at C:\Program Files...
│ │ └ <function BaseEventLoop.run_until_complete at 0x0000025F06E19440>
│ └
└ <asyncio.runners.Runner object at 0x0000025F06A12750>
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 678, in run_until_complete
self.run_forever()
│ └ <function ProactorEventLoop.run_forever at 0x0000025F06ECD580>

File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\Lib\asyncio\windows_events.py", line 322, in run_forever
super().run_forever()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 645, in run_forever
self._run_once()
│ └ <function BaseEventLoop._run_once at 0x0000025F06E1B1A0>

File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1999, in _run_once
handle._run()
│ └ <function Handle._run at 0x0000025F06D55120>
└ <Handle <_asyncio.TaskStepMethWrapper object at 0x0000025F1015F3A0>()>
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\Lib\asyncio\events.py", line 88, in _run
self._context.run(self._callback, *self._args)
│ │ │ │ │ └ <member '_args' of 'Handle' objects>
│ │ │ │ └ <Handle <_asyncio.TaskStepMethWrapper object at 0x0000025F1015F3A0>()>
│ │ │ └ <member '_callback' of 'Handle' objects>
│ │ └ <Handle <_asyncio.TaskStepMethWrapper object at 0x0000025F1015F3A0>()>
│ └ <member '_context' of 'Handle' objects>
└ <Handle <_asyncio.TaskStepMethWrapper object at 0x0000025F1015F3A0>()>

File "D:\OpenManus\main.py", line 26, in main
await agent.run(prompt)
│ │ └ 'cosa sai fare?'
│ └ <function ToolCallAgent.run at 0x0000025F0CA2D4E0>
└ Manus(name='Manus', description='A versatile agent that can solve various tasks using multiple tools including MCP-based tool...

File "D:\OpenManus\app\agent\toolcall.py", line 248, in run
return await super().run(request)
└ 'cosa sai fare?'

File "D:\OpenManus\app\agent\base.py", line 141, in run
step_result = await self.step()
│ └ <function ReActAgent.step at 0x0000025F0BB3C860>
└ Manus(name='Manus', description='A versatile agent that can solve various tasks using multiple tools including MCP-based tool...

File "D:\OpenManus\app\agent\react.py", line 38, in step
return await self.act()
│ └ <function ToolCallAgent.act at 0x0000025F0BCFA7A0>
└ Manus(name='Manus', description='A versatile agent that can solve various tasks using multiple tools including MCP-based tool...

File "D:\OpenManus\app\agent\toolcall.py", line 145, in act
result = await self.execute_tool(command)
│ │ └ ChatCompletionMessageToolCall(id='call_xpqze4of', function=Function(arguments='{"command":"str_replace","new_str":"","old_str...
│ └ <function ToolCallAgent.execute_tool at 0x0000025F0CA2CCC0>
└ Manus(name='Manus', description='A versatile agent that can solve various tasks using multiple tools including MCP-based tool...

File "D:\OpenManus\app\agent\toolcall.py", line 181, in execute_tool
result = await self.available_tools.execute(name=name, tool_input=args)
│ │ │ │ └ {'command': 'str_replace', 'new_str': '', 'old_str': ''}
│ │ │ └ 'str_replace_editor'
│ │ └ <function ToolCollection.execute at 0x0000025F0CA2CF40>
│ └ <app.tool.tool_collection.ToolCollection object at 0x0000025F0D1B0FE0>
└ Manus(name='Manus', description='A versatile agent that can solve various tasks using multiple tools including MCP-based tool...

File "D:\OpenManus\app\tool\tool_collection.py", line 32, in execute
result = await tool(*tool_input)
│ └ {'command': 'str_replace', 'new_str': '', 'old_str': ''}
└ StrReplaceEditor(name='str_replace_editor', description='Custom editing tool for viewing, creating and editing files\n
State...

File "D:\OpenManus\app\tool\base.py", line 17, in call
return await self.execute(*kwargs)
│ │ └ {'command': 'str_replace', 'new_str': '', 'old_str': ''}
│ └ <function StrReplaceEditor.execute at 0x0000025F0BCFBE20>
└ StrReplaceEditor(name='str_replace_editor', description='Custom editing tool for viewing, creating and editing files\n
State...

TypeError: StrReplaceEditor.execute() missing 1 required keyword-only argument: 'path'
2025-07-01 15:27:10.055 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Error: ⚠️ Tool 'str_replace_editor' encountered a problem: StrReplaceEditor.execute() missing 1 required keyword-only argument: 'path'
2025-07-01 15:27:10.055 | INFO | app.agent.base:run:140 - Executing step 3/20
2025-07-01 15:27:10.864 | INFO | app.llm:update_token_count:243 - Token usage: Input=1802, Completion=30, Cumulative Input=5048, Cumulative Completion=84, Total=1832, Cumulative Total=5132
2025-07-01 15:27:10.865 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:10.865 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:10.865 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:10.865 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:10.865 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:10.883 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:10.884 | INFO | app.agent.base:run:140 - Executing step 4/20
2025-07-01 15:27:11.717 | INFO | app.llm:update_token_count:243 - Token usage: Input=1916, Completion=30, Cumulative Input=6964, Cumulative Completion=114, Total=1946, Cumulative Total=7078
2025-07-01 15:27:11.718 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:11.718 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:11.719 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:11.719 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:11.720 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:11.736 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:11.736 | INFO | app.agent.base:run:140 - Executing step 5/20
2025-07-01 15:27:12.575 | INFO | app.llm:update_token_count:243 - Token usage: Input=2030, Completion=30, Cumulative Input=8994, Cumulative Completion=144, Total=2060, Cumulative Total=9138
2025-07-01 15:27:12.575 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:12.575 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:12.576 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:12.576 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:12.576 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:12.593 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:12.593 | INFO | app.agent.base:run:140 - Executing step 6/20
2025-07-01 15:27:13.473 | INFO | app.llm:update_token_count:243 - Token usage: Input=2144, Completion=30, Cumulative Input=11138, Cumulative Completion=174, Total=2174, Cumulative Total=11312
2025-07-01 15:27:13.473 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:13.473 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:13.474 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:13.474 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:13.474 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:13.513 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:13.514 | INFO | app.agent.base:run:140 - Executing step 7/20
2025-07-01 15:27:14.411 | INFO | app.llm:update_token_count:243 - Token usage: Input=2258, Completion=30, Cumulative Input=13396, Cumulative Completion=204, Total=2288, Cumulative Total=13600
2025-07-01 15:27:14.412 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:14.412 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:14.412 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:14.413 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:14.413 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:14.489 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:14.489 | INFO | app.agent.base:run:140 - Executing step 8/20
2025-07-01 15:27:15.405 | INFO | app.llm:update_token_count:243 - Token usage: Input=2372, Completion=30, Cumulative Input=15768, Cumulative Completion=234, Total=2402, Cumulative Total=16002
2025-07-01 15:27:15.406 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:15.406 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:15.406 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:15.406 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:15.407 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:15.458 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:15.458 | INFO | app.agent.base:run:140 - Executing step 9/20
2025-07-01 15:27:16.381 | INFO | app.llm:update_token_count:243 - Token usage: Input=2486, Completion=30, Cumulative Input=18254, Cumulative Completion=264, Total=2516, Cumulative Total=18518
2025-07-01 15:27:16.382 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:16.382 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:16.382 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:16.382 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:16.383 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:16.399 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:16.399 | INFO | app.agent.base:run:140 - Executing step 10/20
2025-07-01 15:27:17.333 | INFO | app.llm:update_token_count:243 - Token usage: Input=2600, Completion=30, Cumulative Input=20854, Cumulative Completion=294, Total=2630, Cumulative Total=21148
2025-07-01 15:27:17.334 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:17.334 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:17.334 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:17.334 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:17.335 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:17.351 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:17.351 | INFO | app.agent.base:run:140 - Executing step 11/20
2025-07-01 15:27:18.316 | INFO | app.llm:update_token_count:243 - Token usage: Input=2714, Completion=30, Cumulative Input=23568, Cumulative Completion=324, Total=2744, Cumulative Total=23892
2025-07-01 15:27:18.316 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:18.316 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:18.317 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:18.317 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:18.317 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:18.333 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:18.334 | INFO | app.agent.base:run:140 - Executing step 12/20
2025-07-01 15:27:19.319 | INFO | app.llm:update_token_count:243 - Token usage: Input=2828, Completion=30, Cumulative Input=26396, Cumulative Completion=354, Total=2858, Cumulative Total=26750
2025-07-01 15:27:19.319 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:19.319 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:19.319 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:19.319 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:19.320 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:19.335 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:19.336 | INFO | app.agent.base:run:140 - Executing step 13/20
2025-07-01 15:27:20.328 | INFO | app.llm:update_token_count:243 - Token usage: Input=2942, Completion=30, Cumulative Input=29338, Cumulative Completion=384, Total=2972, Cumulative Total=29722
2025-07-01 15:27:20.328 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:20.328 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:20.328 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:20.328 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:20.329 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:20.345 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:20.346 | INFO | app.agent.base:run:140 - Executing step 14/20
2025-07-01 15:27:21.353 | INFO | app.llm:update_token_count:243 - Token usage: Input=3056, Completion=30, Cumulative Input=32394, Cumulative Completion=414, Total=3086, Cumulative Total=32808
2025-07-01 15:27:21.353 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:21.353 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:21.354 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:21.354 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:21.354 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:21.371 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:21.372 | INFO | app.agent.base:run:140 - Executing step 15/20
2025-07-01 15:27:22.409 | INFO | app.llm:update_token_count:243 - Token usage: Input=3170, Completion=30, Cumulative Input=35564, Cumulative Completion=444, Total=3200, Cumulative Total=36008
2025-07-01 15:27:22.409 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:22.409 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:22.410 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:22.410 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:22.410 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:22.426 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:22.427 | INFO | app.agent.base:run:140 - Executing step 16/20
2025-07-01 15:27:23.483 | INFO | app.llm:update_token_count:243 - Token usage: Input=3284, Completion=30, Cumulative Input=38848, Cumulative Completion=474, Total=3314, Cumulative Total=39322
2025-07-01 15:27:23.483 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:23.484 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:23.484 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:23.485 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:23.485 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:23.501 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:23.502 | INFO | app.agent.base:run:140 - Executing step 17/20
2025-07-01 15:27:24.580 | INFO | app.llm:update_token_count:243 - Token usage: Input=3398, Completion=30, Cumulative Input=42246, Cumulative Completion=504, Total=3428, Cumulative Total=42750
2025-07-01 15:27:24.581 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:24.581 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:24.581 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:24.581 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:24.581 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:24.598 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:24.598 | INFO | app.agent.base:run:140 - Executing step 18/20
2025-07-01 15:27:25.700 | INFO | app.llm:update_token_count:243 - Token usage: Input=3512, Completion=30, Cumulative Input=45758, Cumulative Completion=534, Total=3542, Cumulative Total=46292
2025-07-01 15:27:25.701 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:25.701 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:25.701 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:25.702 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:25.702 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:25.814 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:25.814 | INFO | app.agent.base:run:140 - Executing step 19/20
2025-07-01 15:27:26.943 | INFO | app.llm:update_token_count:243 - Token usage: Input=3626, Completion=30, Cumulative Input=49384, Cumulative Completion=564, Total=3656, Cumulative Total=49948
2025-07-01 15:27:26.944 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:26.944 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:26.944 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:26.944 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:26.944 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:26.961 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:26.961 | INFO | app.agent.base:run:140 - Executing step 20/20
2025-07-01 15:27:28.110 | INFO | app.llm:update_token_count:243 - Token usage: Input=3740, Completion=30, Cumulative Input=53124, Cumulative Completion=594, Total=3770, Cumulative Total=53718
2025-07-01 15:27:28.110 | INFO | app.agent.toolcall:think:81 - ✨ Manus's thoughts:
2025-07-01 15:27:28.110 | INFO | app.agent.toolcall:think:82 - 🛠️ Manus selected 1 tools to use
2025-07-01 15:27:28.111 | INFO | app.agent.toolcall:think:86 - 🧰 Tools being prepared: ['str_replace_editor']
2025-07-01 15:27:28.111 | INFO | app.agent.toolcall:think:89 - 🔧 Tool arguments: {"command":"view","path":"D:\OpenManus\workspace"}
2025-07-01 15:27:28.111 | INFO | app.agent.toolcall:execute_tool:180 - 🔧 Activating tool: 'str_replace_editor'...
2025-07-01 15:27:28.129 | INFO | app.agent.toolcall:act:150 - 🎯 Tool 'str_replace_editor' completed its mission! Result: Observed output of cmd str_replace_editor executed:
Error: FIND: formato del parametro non corretto

2025-07-01 15:27:28.129 | INFO | app.tool.mcp:disconnect:194 - Disconnected from all MCP servers
2025-07-01 15:27:28.130 | INFO | main:main:27 - Request processing completed.
(open_manus) PS D:\OpenManus>

Bug solved method

not yet

Environment information

  • System version: windows 11

  • Python version: 3.13

  • OpenManus version or branch:
    commit 36713cd (HEAD -> main, origin/main, origin/HEAD)
    Merge: 1510820 8597ef4
    Author: Jiayi Zhang [email protected]
    Date: Mon Jun 9 16:22:09 2025 +0800

    Merge pull request fix: sanitize MCP tool names for OpenAI API compliance #1145 from ryantzr1/main

    fix: sanitize MCP tool names for OpenAI API compliance

  • Installation method (e.g., pip install -r requirements.txt or pip install -e .):
    pip install -r requirements.txt`

Extra information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions