Merge pull request #78 from bucolucas/update-default-model
Update default model to gpt-4o
This commit is contained in:
@@ -9,8 +9,8 @@ class ChatGPTTelegramInferenceBot(BaseTelegramInferenceBot):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"))
|
||||
self.model = "gpt-4o-mini"
|
||||
self.max_tokens = 16384
|
||||
self.model = "gpt-4o"
|
||||
self.max_tokens = 4096
|
||||
|
||||
def get_chat_response(self, messages):
|
||||
response = self.client.chat.completions.create(
|
||||
|
||||
Reference in New Issue
Block a user