witty-carpet-44257
08/11/2025, 1:54 PMBadRequestError: litellm.BadRequestError: AzureException - Azure OpenAI Responses API is enabled only for api-version 2025-03-01-preview and later
GPT-4.1 works fine.
I noticed a difference in the base URL for Chat 4.1
https://mydeploy.openai.azure.com/openai/deployments/gpt-4.1/chat/completions?api-version=2025-01-01-preview
compared to GPT-5
https://mydeploy.openai.azure.com/openai/responses?api-version=2025-04-01-previewpolite-architect-52194
08/11/2025, 2:44 PMOPENAI_API_VERSION="2025-04-01-preview"
works for me, @witty-carpet-44257
actually, never mind, I only tried it outside OpenHands for now; leaving it here in case you get it workingwitty-carpet-44257
08/12/2025, 5:28 PM