forked from React-Group/interstellar_ai
Debug.
This commit is contained in:
parent
eb8fef13ff
commit
31e37ecd82
2 changed files with 4 additions and 1 deletions
Binary file not shown.
5
py/ai.py
5
py/ai.py
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue