This commit is contained in:
Patrick_Pluto 2024-09-20 09:21:07 +02:00
parent eb8fef13ff
commit 31e37ecd82
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View file

@ -9,9 +9,12 @@ class AI:
model=model, model=model,
messages=messages, messages=messages,
stream=True, stream=True,
options={"temperature": 0.8}, options={"temperature": 0.5},
) )
for i in messages:
print(i)
return_class.ai_response[access_token] = "" return_class.ai_response[access_token] = ""
for chunk in stream: for chunk in stream: