Merge pull request #1750 from vanpelt/patch-2

Re-raise exception in async ollama streaming
This commit is contained in:
Ishaan Jaff 2024-02-05 08:12:17 -08:00 committed by GitHub
commit 14c9e239a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -270,6 +270,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):