-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
When I use openManus with openai gpt4o, it gives the following error:
(OpenManus) ➜ OpenManus git:(main) ✗ 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: who is the openai controlling?
2025-03-20 12:09:49.610 | WARNING | __main__:main:15 - Processing your request...
2025-03-20 12:09:49.612 | INFO | app.agent.base:run:140 - Executing step 1/20
2025-03-20 12:09:50.906 | ERROR | app.llm:ask_tool:759 - OpenAI API error: Error code: 400 - {'error': {'message': "Invalid 'tools[1].function.description': string too long. Expected a string with maximum length 1024, but got a string with length 1634 instead.", 'type': 'invalid_request_error', 'param': 'tools[1].function.description', 'code': 'string_above_max_length'}}
Bug solved method
it is working in older commit. I tried the following commit: git checkout 564a9fd
Environment information
- System version: Apple M2 Pro 16GB
- Python version: 3.12.5
- OpenManus version or branch: main/2a13cb49f34ab8772ea967c50fca916bdc15f546
- Installation method (e.g.,
pip install -r requirements.txt
orpip install -e .
): uv pip install -r requirements
Extra information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working