diff --git a/ollama/_client.py b/ollama/_client.py index 9f37a52..b952eba 100644 --- a/ollama/_client.py +++ b/ollama/_client.py @@ -554,7 +554,7 @@ def _create_blob(self, path: Union[str, Path]) -> str: break sha256sum.update(chunk) - digest = f'sha256:{sha256sum.hexdigest()}' + digest = sha256sum.hexdigest() with open(path, 'rb') as r: self._request_raw('POST', f'/api/blobs/sha256:{digest}', content=r)