Skip to content

[azopenai] Tests are failing - dall-e-3 has been deprecated/disabled #26488

@richardpark-msft

Description

@richardpark-msft

Not a huge deal, but we need to swap over to a newer model (gpt-image-1). Just swapping over, however, didn't work and we'll need to dig in a bit more.

This is the error I'm seeing when I just switch over:

POST "https://<server>/openai/images/generations?api-version=2025-03-01-preview": 400 Bad Request {
  "message": "Unknown parameter: 'response_format'.",
  "type": "invalid_request_error",
  "param": "response_format",
  "code": "unknown_parameter"
}

There's a few things we should try to see if they're part of the issue:

  • Do we need to update to the latest openai-go SDK?
  • Update the api-version we're passing in? (or possibly, remove it?)

Metadata

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.OpenAIneeds-triageWorkflow: This is a new issue that needs to be triaged to the appropriate team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions