[PR #4345] [CLOSED] Allow to use custom AOAI API Version by set env AZURE_OPENAI_API_VERSION #4593

Closed
opened 2026-02-22 18:36:08 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4345
Author: @thedtvn
Created: 8/31/2025
Status: Closed

Base: masterHead: master


📝 Commits (2)

  • c2471a3 Use environment variable for Azure OpenAI API version
  • a2d00a7 Add optional AZURE_OPENAI_API_VERSION to .env.example

📊 Changes

2 files changed (+3 additions, -2 deletions)

View changed files

📝 docker/.env.example (+2 -1)
📝 server/utils/AiProviders/azureOpenAi/index.js (+1 -1)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

Temporary resolves #3753

What is in this change?

Add env AZURE_OPENAI_API_VERSION which allow to modify version of Azure OpenAI

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/4345 **Author:** [@thedtvn](https://github.com/thedtvn) **Created:** 8/31/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`c2471a3`](https://github.com/Mintplex-Labs/anything-llm/commit/c2471a3ba51acc949a716c4228b457a416611621) Use environment variable for Azure OpenAI API version - [`a2d00a7`](https://github.com/Mintplex-Labs/anything-llm/commit/a2d00a7b4b17c366f915d7bbda2337f0f3ba9868) Add optional AZURE_OPENAI_API_VERSION to .env.example ### 📊 Changes **2 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docker/.env.example` (+2 -1) 📝 `server/utils/AiProviders/azureOpenAi/index.js` (+1 -1) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues Temporary resolves #3753 ### What is in this change? Add env `AZURE_OPENAI_API_VERSION` which allow to modify version of Azure OpenAI ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:36:08 -05:00
yindo closed this issue 2026-02-22 18:36:08 -05:00
yindo changed title from [PR #4345] Allow to use custom AOAI API Version by set env AZURE_OPENAI_API_VERSION to [PR #4345] [CLOSED] Allow to use custom AOAI API Version by set env AZURE_OPENAI_API_VERSION 2026-06-05 15:19:21 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4593