diff --git a/ollama/_client.py b/ollama/_client.py index 541d9c8..1f289b5 100644 --- a/ollama/_client.py +++ b/ollama/_client.py @@ -102,6 +102,8 @@ def __init__( 'User-Agent': f'ollama-python/{__version__} ({platform.machine()} {platform.system().lower()}) Python/{platform.python_version()}', }.items() }, + http2=False, + transport=httpx.HTTPTransport(retries=3), **kwargs, )