Issue with "gemini-2.0-flash-exp" model returning an error

Hello, community!

I’m trying to use the “gemini-2.0-flash-exp” model, but I keep getting the error below. However, when I switch to “gemini-1.5-flash”, everything works fine.

Has anyone encountered this issue before and can help me?

pgsql

CopiarEditar

in _get_llm_response
    raise ValueError("Invalid response from LLM call - None or empty.")
ValueError: Invalid response from LLM call - None or empty.
  • Have you tried rerunning your Python script a few times? Does it always happen?
  • Have you tried waiting, let’s say 30 seconds? Does it get solved automatically?