added theb to openai_rev module

This commit is contained in:
Raju Komati
2023-04-28 02:58:12 +05:30
parent b206a1eb63
commit dc1d9834f9
9 changed files with 35 additions and 21 deletions

View File

@@ -169,7 +169,6 @@ class Completion:
) -> ForeFrontResponse:
text = ''
final_response = None
res = list(StreamingCompletion.create(token=token, prompt=prompt))
for response in StreamingCompletion.create(
token=token,
chat_id=chat_id,