Merge branch 'main' of interstellardevelopment.org:YasinOnm08/interstellar_ai

This commit is contained in:
YasinOnm08 2024-09-20 09:22:35 +02:00
commit 44cd249421
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View file

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