mirror of
https://github.com/father-bot/chatgpt_telegram_bot.git
synced 2026-08-03 13:27:16 +03:00
Default ChatGPT() model arg to gpt-4o-mini
Keep the ChatGPT class fallback model in sync with the new project default. Callers always pass an explicit model, so this only affects the no-argument fallback.
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ OPENAI_COMPLETION_OPTIONS = {
|
||||
|
||||
|
||||
class ChatGPT:
|
||||
def __init__(self, model="gpt-3.5-turbo"):
|
||||
def __init__(self, model="gpt-4o-mini"):
|
||||
assert model in {"text-davinci-003", "gpt-3.5-turbo-16k", "gpt-3.5-turbo", "gpt-4", "gpt-4o", "gpt-4o-mini", "gpt-4-1106-preview", "gpt-4-vision-preview"}, f"Unknown model: {model}"
|
||||
self.model = model
|
||||
|
||||
|
||||
Reference in New Issue
Block a user