Skip to content

fix(bug): update model handling in OpenAI and AzureOpenAI configurations#1178

Merged
chakravarthik27 merged 1 commit intorelease/2.6.0from
fix/error-in-templatic-augmentation-due-to-openai
Feb 25, 2025
Merged

fix(bug): update model handling in OpenAI and AzureOpenAI configurations#1178
chakravarthik27 merged 1 commit intorelease/2.6.0from
fix/error-in-templatic-augmentation-due-to-openai

Conversation

@chakravarthik27
Copy link
Collaborator

This pull request includes several updates to the langtest/augmentation/utils.py file to enhance model configuration and validation logic. The most important changes include switching from validator to field_validator, adding a new model field to configuration classes, and dynamically setting the model name in template generation functions.

Updates to model configuration and validation:

Dynamic model name setting:

Removal of redundant code:

@chakravarthik27 chakravarthik27 self-assigned this Feb 25, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@chakravarthik27 chakravarthik27 merged commit 77129e4 into release/2.6.0 Feb 25, 2025
3 checks passed
@chakravarthik27 chakravarthik27 deleted the fix/error-in-templatic-augmentation-due-to-openai branch March 12, 2025 06:06
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.

3 participants