Skip to content
This repository was archived by the owner on Sep 18, 2026. It is now read-only.
This repository was archived by the owner on Sep 18, 2026. It is now read-only.

Add AZURE_OPENAI_API_VERSION to environment variables for translation #945

Description

Is your feature request related to a problem? Please describe.
Outdated code, result needles extra tokens racking up the cost for translation.

Describe the solution you'd like
Add AZURE_OPENAI_API_VERSION to check if it's equal to version "2024-10-21" or above and skip extra complexity.
The changes ensure that the latest GPT version can handle multilingual content without requiring translation fields,
so any version equal or above version "2024-10-21" can skip those fields.

Describe alternatives you've considered
Removing translation fields and its logic in general.

Additional context
Already done it here, just need to make a pull request.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions