Add ability to delete classification models (#20747)

* fix typo

* Add ability to delete classification models
This commit is contained in:
Nicolas Mowen
2025-11-01 09:11:24 -05:00
committed by GitHub
parent 7aac6b4f21
commit 9937a7cc3d
4 changed files with 182 additions and 22 deletions
+1 -1
View File
@@ -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