Update default model to gpt-4o
This commit is contained in:
@@ -9,7 +9,7 @@ class ChatGPTTelegramInferenceBot(BaseTelegramInferenceBot):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"))
|
self.client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"))
|
||||||
self.model = "gpt-4o-mini"
|
self.model = "gpt-4o"
|
||||||
self.max_tokens = 16384
|
self.max_tokens = 16384
|
||||||
|
|
||||||
def get_chat_response(self, messages):
|
def get_chat_response(self, messages):
|
||||||
|
|||||||
Reference in New Issue
Block a user