mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-05 22:32:50 +03:00
Add ability to delete classification models (#20747)
* fix typo * Add ability to delete classification models
This commit is contained in:
@@ -91,7 +91,7 @@ class OpenAIClient(GenAIClient):
|
||||
|
||||
# Default to 128K for ChatGPT models, 8K for others
|
||||
model_name = self.genai_config.model.lower()
|
||||
if "gpt-4o" in model_name:
|
||||
if "gpt" in model_name:
|
||||
self.context_size = 128000
|
||||
else:
|
||||
self.context_size = 8192
|
||||
|
||||
Reference in New Issue
Block a user