-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bug] Fix Regex for identifying OpenAI models (#778)
Addresses the issue with the model naming convention used by Azure's OpenAI API. Completion models are recognised strictly through the `-instruct` suffix on their names. Additionally, the deployment path check has been changed to handle scenarios where ```pathlib.parts``` does not include the deployment path, ensuring more robust path validation during Azure deployments. Closes #761
- Loading branch information
1 parent
92afe33
commit acb38d1
Showing
2 changed files
with
19 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters