Skip to content

Commit f51888b

Browse files
committed
fix gpt-4.1 use first
1 parent cd1c91c commit f51888b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythonkr_backend/curation/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,8 @@ def _get_available_models_for_provider(cls, provider, model_configs):
546546
# Check OpenAI models with UTC midnight reset
547547
today_start = timezone.now().replace(hour=0, minute=0, second=0, microsecond=0)
548548

549-
# Handle combined quota models (gpt-4.5 and gpt-4.1)
550-
combined_models = ['openai:gpt-4.5-preview-2025-02-27', 'openai:gpt-4.1-2025-04-14']
549+
# Handle combined quota models (gpt-4.1 and gpt-4.5)
550+
combined_models = ['openai:gpt-4.1-2025-04-14', 'openai:gpt-4.5-preview-2025-02-27']
551551
combined_usage = LLMUsage.objects.filter(
552552
model_name__in=combined_models,
553553
date__gte=today_start

0 commit comments

Comments
 (0)