Skip to content

fix: update default api_version for openai#88

Merged
cosminacho merged 1 commit into
mainfrom
fix/update-api-version
May 25, 2026
Merged

fix: update default api_version for openai#88
cosminacho merged 1 commit into
mainfrom
fix/update-api-version

Conversation

@ionut-mihalache-uipath
Copy link
Copy Markdown
Collaborator

@ionut-mihalache-uipath ionut-mihalache-uipath commented May 24, 2026

Summary

Bumps the default Azure OpenAI API version from 2025-03-01-preview to 2025-04-01-preview across both packages, and releases the change as 1.12.2 for uipath-llm-client and uipath-langchain-client.

Changes

Core (uipath-llm-client)

  • src/uipath/llm_client/clients/openai/utils.pybase_api_config.api_version default updated.
  • src/uipath/llm_client/settings/base.py — docstring example updated.
  • README.md — example + field reference updated.
  • Version bumped 1.11.31.12.2; new entry in CHANGELOG.md.

LangChain (uipath-langchain-client)

  • UiPathChatOpenAI, UiPathAzureChatOpenAI, UiPathOpenAIEmbeddings, UiPathAzureOpenAIEmbeddings, UiPathChatFireworks, UiPathFireworksEmbeddings — default api_version updated.
  • Version bumped 1.12.11.12.2; new entry in packages/uipath_langchain_client/CHANGELOG.md.
  • uipath-llm-client dependency floor bumped to >=1.12.2,<2.0.0.

Tests

  • tests/core/clients/openai/test_unit.py and tests/core/features/test_api_config.py updated to assert the new default.

Test plan

  • ruff check
  • ruff format --check .
  • pyright
  • pytest tests

@cosminacho cosminacho merged commit d132c3b into main May 25, 2026
11 checks passed
@cosminacho cosminacho deleted the fix/update-api-version branch May 25, 2026 06:08
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.

2 participants