This commit is contained in:
Saifeddine ALOUI 2023-11-14 23:21:03 +01:00
parent e49b5bfc49
commit ea52332dbb

View File

@ -259,7 +259,8 @@ def chat_completions():
print('Streaming')
if True:
def callback(token, data_type):
print(token)
print(token,end="",flush=True)
return True
response = cv.safe_generate(
full_discussion=full_discussion,