forked from phoenix/litellm-mirror
Merge pull request #1750 from vanpelt/patch-2
Re-raise exception in async ollama streaming
This commit is contained in:
commit
14c9e239a1
1 changed files with 1 additions and 0 deletions
|
@ -270,6 +270,7 @@ async def ollama_async_streaming(url, data, model_response, encoding, logging_ob
|
||||||
yield transformed_chunk
|
yield transformed_chunk
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
raise e
|
||||||
|
|
||||||
|
|
||||||
async def ollama_acompletion(url, data, model_response, encoding, logging_obj):
|
async def ollama_acompletion(url, data, model_response, encoding, logging_obj):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue