Skip to content

Commit

Permalink
Update src/napari_chatgpt/utils/openai/model_list.py
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
royerloic and coderabbitai[bot] authored Aug 31, 2024
1 parent eb1f9b2 commit cbcb290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/napari_chatgpt/utils/openai/model_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def postprocess_openai_model_list(model_list: list) -> list:

# Ensure that the very best models are at the top of the list:
very_best_models = [m for m in model_list if
('gpt-4o' in m and not 'mini' in m)]
('gpt-4o' in m and 'mini' not in m)]
model_list = very_best_models + [m for m in model_list if
m not in very_best_models]

Expand Down

0 comments on commit cbcb290

Please sign in to comment.