mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
return model name as part of streaming object
This commit is contained in:
parent
8196652b3a
commit
6cd950a031
4 changed files with 24 additions and 16 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue