Skip to content

Conversation

oobug
Copy link

@oobug oobug commented Aug 5, 2025

Description

Support the definition of URL parameters that will be added to OpenAI API calls. This is added to support the Azure OpenAI in Azure AI implementation.

Closes: #2

What change does this PR introduce?

Please select the relevant option(s).

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (changes to docs/code comments)

What is the proposed approach?

Add a new parameter to the .env file: OPENAI_URL_PARAMS. This supports a JSON object, where the hard-coded keys & values will be used to create a query string appended to the OpenAI request URL.

Checklist:

  • The commit message follows our adopted guidelines
  • Testing has been done for the change(s) added (for bug fixes/features)
  • Relevant comments/docs have been added/updated (for bug fixes/features)

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.

[Feat] Support Azure AI implementation of OpenAI endpoints

1 participant