Skip to content

The agent engineering platform.

docs: fix some inline links (#31748)

Mason Daugherty59c2b81627ea
diff --git a/libs/partners/ollama/langchain_ollama/chat_models.py b/libs/partners/ollama/langchain_ollama/chat_models.py
index 0bd1f9fd38..97d749a410 100644
--- a/libs/partners/ollama/langchain_ollama/chat_models.py
+++ b/libs/partners/ollama/langchain_ollama/chat_models.py
@@ -443,15 +443,16 @@ class ChatOllama(BaseChatModel):
"""
async_client_kwargs: Optional[dict] = {}
- """Additional kwargs to merge with client_kwargs before
- passing to the httpx AsyncClient.
- For a full list of the params, see [this link](https://www.python-httpx.org/api/#asyncclient)
+ """Additional kwargs to merge with client_kwargs before passing to the HTTPX
+ AsyncClient.
+
+ For a full list of the params, see the `HTTPX documentation <https://www.python-httpx.org/api/#asyncclient>`__.
"""
sync_client_kwargs: Optional[dict] = {}
- """Additional kwargs to merge with client_kwargs before
- passing to the httpx Client.
- For a full list of the params, see [this link](https://www.python-httpx.org/api/#client)
+ """Additional kwargs to merge with client_kwargs before passing to the httpx Client.
+
+ For a full list of the params, see the `HTTPX documentation <https://www.python-httpx.org/api/#client>`__.
"""
_client: Client = PrivateAttr(default=None) # type: ignore
diff --git a/libs/partners/ollama/langchain_ollama/embeddings.py b/libs/partners/ollama/langchain_ollama/embeddings.py
index 15643529cd..f1d12bca57 100644
--- a/libs/partners/ollama/langchain_ollama/embeddings.py
+++ b/libs/partners/ollama/langchain_ollama/embeddings.py
@@ -134,15 +134,16 @@ class OllamaEmbeddings(BaseModel, Embeddings):
"""
async_client_kwargs: Optional[dict] = {}
- """Additional kwargs to merge with client_kwargs before
- passing to the httpx AsyncClient.
- For a full list of the params, see [this link](https://www.python-httpx.org/api/#asyncclient)
+ """Additional kwargs to merge with client_kwargs before passing to the httpx
+ AsyncClient.
+
+ For a full list of the params, see the `HTTPX documentation <https://www.python-httpx.org/api/#asyncclient>`__.
"""
sync_client_kwargs: Optional[dict] = {}
- """Additional kwargs to merge with client_kwargs before
- passing to the httpx Client.
- For a full list of the params, see [this link](https://www.python-httpx.org/api/#client)
+ """Additional kwargs to merge with client_kwargs before passing to the httpx Client.
+
+ For a full list of the params, see the `HTTPX documentation <https://www.python-httpx.org/api/#client>`__.
"""
_client: Client = PrivateAttr(default=None) # type: ignore
diff --git a/libs/partners/ollama/langchain_ollama/llms.py b/libs/partners/ollama/langchain_ollama/llms.py
index db947f0d0e..83330ec5e3 100644
--- a/libs/partners/ollama/langchain_ollama/llms.py
+++ b/libs/partners/ollama/langchain_ollama/llms.py
@@ -120,15 +120,16 @@ class OllamaLLM(BaseLLM):
"""
async_client_kwargs: Optional[dict] = {}
- """Additional kwargs to merge with client_kwargs before
- passing to the httpx AsyncClient.
- For a full list of the params, see [this link](https://www.python-httpx.org/api/#asyncclient)
+ """Additional kwargs to merge with client_kwargs before passing to the HTTPX
+ AsyncClient.
+
+ For a full list of the params, see the `HTTPX documentation <https://www.python-httpx.org/api/#asyncclient>`__.
"""
sync_client_kwargs: Optional[dict] = {}
- """Additional kwargs to merge with client_kwargs before
- passing to the httpx Client.
- For a full list of the params, see [this link](https://www.python-httpx.org/api/#client)
+ """Additional kwargs to merge with client_kwargs before passing to the HTTPX Client.
+
+ For a full list of the params, see the `HTTPX documentation <https://www.python-httpx.org/api/#client>`__.
"""
_client: Client = PrivateAttr(default=None) # type: ignore