Skip to content

Commit 5349963

Browse files
committed
[DATALAD RUNCMD] run codespell throughout fixing few left typos automagically
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent 8d3d7b0 commit 5349963

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/graph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ class Feedback(BaseNode[State, None, Email]):
450450
async def main():
451451
user = User(
452452
name='John Doe',
453-
email='john.joe@exmaple.com',
453+
email='john.joe@example.com',
454454
interests=['Haskel', 'Lisp', 'Fortran'],
455455
)
456456
state = State(user)

docs/tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ sequenceDiagram
186186

187187
## Registering Function Tools via kwarg
188188

189-
As well as using the decorators, we can register tools via the `tools` argument to the [`Agent` constructor][pydantic_ai.Agent.__init__]. This is useful when you want to re-use tools, and can also give more fine-grained control over the tools.
189+
As well as using the decorators, we can register tools via the `tools` argument to the [`Agent` constructor][pydantic_ai.Agent.__init__]. This is useful when you want to reuse tools, and can also give more fine-grained control over the tools.
190190

191191
```python {title="dice_game_tool_kwarg.py"}
192192
import random

pydantic_ai_slim/pydantic_ai/models/mistral.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def _map_content(content: MistralOptionalNullable[MistralContent]) -> str | None
600600
elif isinstance(content, str):
601601
result = content
602602

603-
# Note: Check len to handle potential mismatch between function calls and responses from the API. (`msg: not the same number of function class and reponses`)
603+
# Note: Check len to handle potential mismatch between function calls and responses from the API. (`msg: not the same number of function class and responses`)
604604
if result and len(result) == 0:
605605
result = None
606606

pydantic_ai_slim/pydantic_ai/models/ollama.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def __init__(
8080
):
8181
"""Initialize an Ollama model.
8282
83-
Ollama has built-in compatability for the OpenAI chat completions API ([source](https://ollama.com/blog/openai-compatibility)), so we reuse the
83+
Ollama has built-in compatibility for the OpenAI chat completions API ([source](https://ollama.com/blog/openai-compatibility)), so we reuse the
8484
[`OpenAIModel`][pydantic_ai.models.openai.OpenAIModel] here.
8585
8686
Args:

0 commit comments

Comments
 (0)