Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

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
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