(fix) proxy + ollama - raise exception correctly

This commit is contained in:
ishaan-jaff 2023-12-19 18:48:34 +05:30
parent ce1b0b89ba
commit 9995229b97

View file

@ -230,3 +230,4 @@ async def ollama_acompletion(url, data, model_response, encoding, logging_obj):
return model_response
except Exception as e:
traceback.print_exc()
raise e