Skip to content

Conversation

@andreax79
Copy link

This change introduces a new configuration option that allows users to define the OpenAI API version.
This is particularly important when using Azure OpenAI Service, which requires an api-version 'preview'.

https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/responses?tabs=rest-api

What’s changed:

Added the --openai-api-version string "OpenAI API version ($OPENAI_API_VERSION)" flag

The version string is included in API requests when specified.

@ibuildthecloud
Copy link
Contributor

Thanks, I'll merge this soon. In the middle of a massive change.

@sesubash
Copy link

@ibuildthecloud , will this be merged anytime soon?

@darrenparkinson
Copy link

Is this still the case now with Azure AI Foundry? I'm not 100% sure since their whole ecosystem is pretty confusing but, from their docs:

Starting in August 2025, you can now opt in to our next generation v1 Azure OpenAI APIs which add support for:

  • Ongoing access to the latest features with no need specify new api-version's each month.

I'm pretty keen to use this with Azure AI for enterprise usage (so also keen to know how the slack etc. integrations will be implemented).

@darrenparkinson
Copy link

Hmm, actually it potentially is the same, except the api-version would just be preview, e.g. openai.azure.com/openai/v1/responses?api-version=preview? Sorry, ignore me!

@ibuildthecloud ibuildthecloud force-pushed the main branch 3 times, most recently from a776d4c to 44a8c65 Compare December 18, 2025 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants