Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
rishsriv committed Dec 15, 2024
1 parent c977622 commit 5d98561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defog_utils/utils_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __post_init__(self):

if len(potential_model_names) == 1:
model_name = potential_model_names[0]
else:
elif len(potential_model_names) > 1:
# if there are multiple potential matches, then find the one with the longest prefix
model_name = max(potential_model_names, key=len)

Expand Down

0 comments on commit 5d98561

Please sign in to comment.