OpenAI GPT-5 Issues

I am still having issues with GPT 5.

I get the following messages

Error parsing LLM output, agent will retry: I did it wrong. Tried to both perform Action and give a Final Answer at the same time, I must do one or the other
Error parsing LLM output, agent will retry: I did it wrong. Tried to both perform Action and give a Final Answer at the same time, I must do one or the other
Error parsing LLM output, agent will retry: I did it wrong. Tried to both perform Action and give a Final Answer at the same time, I must do one or the other
Error parsing LLM output, agent will retry: I did it wrong. Tried to both perform Action and give a Final Answer at the same time, I must do one or the other
Error parsing LLM output, agent will retry: I did it wrong. Tried to both perform Action and give a Final Answer at the same time, I must do one or the other

I am using

gpt_5_llm = LLM(model="openai/gpt-5", drop_params=True, additional_drop_params=["stop", "temperature"])

When i use 4.1 or Gemini it works. For CrewAI I have stopped using GPT 5.. Any wisdom from the community for resolving this.. or is it just to wait for it to get a solid LLM implementation?

Well, judging by the output, you’re likely running into an issue I’ve already discussed in this issue. It comes down to the unnecessarily confusing way CrewAI presents the action space for the LLM to decide its next step. This can cause confusion, leading the LLM to provide a final answer when it shouldn’t.

If you have a moment, I’d recommend reading the entire thread to get the full picture. Further down in that same thread, I even put forward a simple proof-of-concept demonstrating how a single, clearer instruction can enable even an LLM with far fewer parameters to comprehend, decide, and communicate with clarity.

1 Like

Hey Thanks Max. I’ll wait for the fix and switch to 4.1 which works well till then

1 Like