mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-11 17:47:37 +03:00
fix typo
This commit is contained in:
parent
7aac6b4f21
commit
e7c0026b70
@ -91,7 +91,7 @@ class OpenAIClient(GenAIClient):
|
|||||||
|
|
||||||
# Default to 128K for ChatGPT models, 8K for others
|
# Default to 128K for ChatGPT models, 8K for others
|
||||||
model_name = self.genai_config.model.lower()
|
model_name = self.genai_config.model.lower()
|
||||||
if "gpt-4o" in model_name:
|
if "gpt" in model_name:
|
||||||
self.context_size = 128000
|
self.context_size = 128000
|
||||||
else:
|
else:
|
||||||
self.context_size = 8192
|
self.context_size = 8192
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user