fixed stuff with the backend and the pesky cpython cache

This commit is contained in:
Patrick_Pluto 2024-09-20 15:46:02 +02:00
parent b924d30616
commit 7b6f91c117
3 changed files with 11 additions and 9 deletions

View file

@ -12,13 +12,9 @@ class AI:
options={"temperature": 0.5},
)
for i in messages:
print(i)
return_class.ai_response[access_token] = ""
for chunk in stream:
print(chunk['message']['content'])
return_class.ai_response[access_token] += chunk['message']['content']
@staticmethod