Add prompt window limits for gpt-4o-* models (#2104)

This commit is contained in:
PyKen 2024-08-14 01:13:36 +09:00 committed by GitHub
parent dfb951e9cf
commit a2571024a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,6 +44,10 @@ class OpenAiLLM {
case "gpt-3.5-turbo-1106": case "gpt-3.5-turbo-1106":
return 16_385; return 16_385;
case "gpt-4o": case "gpt-4o":
case "gpt-4o-2024-08-06":
case "gpt-4o-2024-05-13":
case "gpt-4o-mini":
case "gpt-4o-mini-2024-07-18":
case "gpt-4-turbo": case "gpt-4-turbo":
case "gpt-4-1106-preview": case "gpt-4-1106-preview":
case "gpt-4-turbo-preview": case "gpt-4-turbo-preview":