We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nee
need
1 parent 5ce859f commit 8d37cfdCopy full SHA for 8d37cfd
docs/results.md
@@ -39,7 +39,7 @@ Structured results (like tools) use Pydantic to build the JSON schema used for t
39
!!! note "Bring on PEP-747"
40
Until [PEP-747](https://peps.python.org/pep-0747/) "Annotating Type Forms" lands, unions are not valid as `type`s in Python.
41
42
- When creating the agent we nee to `# type: ignore` the `result_type` argument, and add a type hint to tell type checkers about the type of the agent.
+ When creating the agent we need to `# type: ignore` the `result_type` argument, and add a type hint to tell type checkers about the type of the agent.
43
44
Here's an example of returning either text or a structured value
45
0 commit comments