mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
Follow redirects
This commit is contained in:
parent
f4355d3e88
commit
936b76662f
1 changed files with 1 additions and 0 deletions
|
@ -356,6 +356,7 @@ def ollama_completion_stream(url, api_key, data, logging_obj):
|
|||
"json": data,
|
||||
"method": "POST",
|
||||
"timeout": litellm.request_timeout,
|
||||
"follow_redirects": True
|
||||
}
|
||||
if api_key is not None:
|
||||
_request["headers"] = {"Authorization": "Bearer {}".format(api_key)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue