fix: prevent server crash when unknown model is selected#3593
Merged
mldangelo merged 1 commit intopromptfoo:mainfrom Apr 4, 2025
Merged
fix: prevent server crash when unknown model is selected#3593mldangelo merged 1 commit intopromptfoo:mainfrom
mldangelo merged 1 commit intopromptfoo:mainfrom
Conversation
Contributor
TestGru AssignmentSummary
Tip You can |
Contributor
TestGru AssignmentSummary
Tip You can |
Contributor
Author
|
Hi @typpo ! Could you pls review this pretty important hotfix |
schipiga
commented
Apr 4, 2025
b3c3d24 to
38c00ea
Compare
38c00ea to
6132086
Compare
mldangelo
approved these changes
Apr 4, 2025
Member
mldangelo
left a comment
There was a problem hiding this comment.
Nice catch, thank you so much!
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi! It's pretty important fix, which prevents server crash and all running tests, if unknown model is had chosen. For example, if to choose any
azureopenai(azureopenai:gpt-35-turbo-0125) model from UI list and click "Run Evaluation", then server is crashed.P.S. I think
azureopenai-models list should be reformatted, because FE and BE parts have different options about azure format