Skip to content

Commit 59c2b81

Browse files
authored
docs: fix some inline links (#31748)
1 parent 8377490 commit 59c2b81

File tree

3 files changed

+21
-18
lines changed

3 files changed

+21
-18
lines changed

libs/partners/ollama/langchain_ollama/chat_models.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -443,15 +443,16 @@ class Multiply(BaseModel):
443443
"""
444444

445445
async_client_kwargs: Optional[dict] = {}
446-
"""Additional kwargs to merge with client_kwargs before
447-
passing to the httpx AsyncClient.
448-
For a full list of the params, see [this link](https://www.python-httpx.org/api/#asyncclient)
446+
"""Additional kwargs to merge with client_kwargs before passing to the HTTPX
447+
AsyncClient.
448+
449+
For a full list of the params, see the `HTTPX documentation <https://www.python-httpx.org/api/#asyncclient>`__.
449450
"""
450451

451452
sync_client_kwargs: Optional[dict] = {}
452-
"""Additional kwargs to merge with client_kwargs before
453-
passing to the httpx Client.
454-
For a full list of the params, see [this link](https://www.python-httpx.org/api/#client)
453+
"""Additional kwargs to merge with client_kwargs before passing to the httpx Client.
454+
455+
For a full list of the params, see the `HTTPX documentation <https://www.python-httpx.org/api/#client>`__.
455456
"""
456457

457458
_client: Client = PrivateAttr(default=None) # type: ignore

libs/partners/ollama/langchain_ollama/embeddings.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,16 @@ class OllamaEmbeddings(BaseModel, Embeddings):
134134
"""
135135

136136
async_client_kwargs: Optional[dict] = {}
137-
"""Additional kwargs to merge with client_kwargs before
138-
passing to the httpx AsyncClient.
139-
For a full list of the params, see [this link](https://www.python-httpx.org/api/#asyncclient)
137+
"""Additional kwargs to merge with client_kwargs before passing to the httpx
138+
AsyncClient.
139+
140+
For a full list of the params, see the `HTTPX documentation <https://www.python-httpx.org/api/#asyncclient>`__.
140141
"""
141142

142143
sync_client_kwargs: Optional[dict] = {}
143-
"""Additional kwargs to merge with client_kwargs before
144-
passing to the httpx Client.
145-
For a full list of the params, see [this link](https://www.python-httpx.org/api/#client)
144+
"""Additional kwargs to merge with client_kwargs before passing to the httpx Client.
145+
146+
For a full list of the params, see the `HTTPX documentation <https://www.python-httpx.org/api/#client>`__.
146147
"""
147148

148149
_client: Client = PrivateAttr(default=None) # type: ignore

libs/partners/ollama/langchain_ollama/llms.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,16 @@ class OllamaLLM(BaseLLM):
120120
"""
121121

122122
async_client_kwargs: Optional[dict] = {}
123-
"""Additional kwargs to merge with client_kwargs before
124-
passing to the httpx AsyncClient.
125-
For a full list of the params, see [this link](https://www.python-httpx.org/api/#asyncclient)
123+
"""Additional kwargs to merge with client_kwargs before passing to the HTTPX
124+
AsyncClient.
125+
126+
For a full list of the params, see the `HTTPX documentation <https://www.python-httpx.org/api/#asyncclient>`__.
126127
"""
127128

128129
sync_client_kwargs: Optional[dict] = {}
129-
"""Additional kwargs to merge with client_kwargs before
130-
passing to the httpx Client.
131-
For a full list of the params, see [this link](https://www.python-httpx.org/api/#client)
130+
"""Additional kwargs to merge with client_kwargs before passing to the HTTPX Client.
131+
132+
For a full list of the params, see the `HTTPX documentation <https://www.python-httpx.org/api/#client>`__.
132133
"""
133134

134135
_client: Client = PrivateAttr(default=None) # type: ignore

0 commit comments

Comments
 (0)