mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-21 06:35:02 +01:00
missing change
This commit is contained in:
@@ -398,7 +398,7 @@ class OpenAIHelper:
|
||||
messages=messages,
|
||||
temperature=0.4
|
||||
)
|
||||
return response.choices[0]['message']['content']
|
||||
return response.choices[0].message.content
|
||||
|
||||
def __max_model_tokens(self):
|
||||
base = 4096
|
||||
|
||||
Reference in New Issue
Block a user