Re-raise exception in async ollama streaming

This commit is contained in:
Chris Van Pelt 2024-02-01 16:14:07 -08:00 • committed by GitHub
parent a45ce8c5f5
commit 1568b162f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -267,6 +267,7 @@ async def ollama_async_streaming(url, data, model_response, encoding, logging_ob
yield transformed_chunk
except Exception as e:
traceback.print_exc()
raise e
async def ollama_acompletion(url, data, model_response, encoding, logging_obj):