Skip to content

Azure OpenAI: duplication of api versionΒ #5805

@koberghe

Description

@koberghe

App Version

3.23.12

API Provider

OpenAI Compatible

Model Used

o3

Roo Code Task Links (Optional)

No response

πŸ” Steps to Reproduce

When configuring the Azure OpenAI provider, the API version must be specified in two separate locations: the Base URL field and the Set Azure API Version field.

For example, to use the o3 model, the Base URL must be the complete endpoint including the version string (e.g., .../chat/completions?api-version=2024-05-01-preview). In addition, the same version (2024-05-01-preview) must be selected in the Set Azure API Version field. (see screenshot)

If Base URL does not contain the version, I get a 404 Resource not found error.

If the Set Azure API Version field is left empty, the request fails with the error: o3 is enabled only for api versions 2024-12-01-preview and later. This suggests version 2024-12-01-preview is being used as a default, ignoring the version specified in the Base URL.

This duplication of information seems redundant and inconsistent with other features like codebase indexing, which does not have a separate version field and works correctly (see this ticket).

πŸ’₯ Outcome Summary

404 Resource not found or o3 is enabled only for api versions 2024-12-01-preview and later

πŸ“„ Relevant Logs or Errors (Optional)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions