AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(classic): fix 5 blocking bugs preventing CLI agent from working
- Handle LLM responses with tool_calls but no text content (common with native tool calling on GPT-4o) - Add tool response messages on retry to satisfy OpenAI API contract (tool_calls must be followed by tool messages) - Fix permission pattern matching: resolve relative paths against workspace and handle write_file/create_file command aliases - Serialize tool_calls arguments as JSON strings in message history (OpenAI API rejects dict objects) - Add finish command to default workspace permission allow list
Z
Zamil Majdy committed
f908af1f72993d63e6ca7df0cfac837113b73bb2
Parent: d61ffe3