community[patch]: Release 0.2.11 (#24989)

This commit is contained in:
Bagatur
2024-08-02 13:08:44 -07:00
committed by GitHub
parent c2538e7834
commit 8e2316b8c2
12 changed files with 540 additions and 561 deletions

View File

@@ -318,9 +318,9 @@ class _OllamaCommon(BaseLanguageModel):
"Content-Type": "application/json",
**(self.headers if isinstance(self.headers, dict) else {}),
},
auth=self.auth,
auth=self.auth, # type: ignore[arg-type]
json=request_payload,
timeout=self.timeout,
timeout=self.timeout, # type: ignore[arg-type]
) as response:
if response.status != 200:
if response.status == 404: