return model name as part of streaming object

This commit is contained in:
Krrish Dholakia 2023-09-13 09:48:45 -07:00
parent 8196652b3a
commit 6cd950a031
4 changed files with 24 additions and 16 deletions

View file

@ -82,7 +82,7 @@ def ai21_completion_call():
print(f"error occurred: {traceback.format_exc()}")
pass
ai21_completion_call()
# test on openai completion call
def test_openai_chat_completion_call():
try:
@ -122,7 +122,7 @@ async def completion_call():
print(f"error occurred: {traceback.format_exc()}")
pass
asyncio.run(completion_call())
# asyncio.run(completion_call())
# # test on azure completion call
# try: