Skip to content

Commit

Permalink
Fix docs typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hwong557 authored Jan 8, 2025
1 parent a9a4ad7 commit db7b539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/results.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Runs end when either a plain text response is received or the model calls a tool

When the result type is `str`, or a union including `str`, plain text responses are enabled on the model, and the raw text response from the model is used as the response data.

If the result type is a union with multiple members (after remove `str` from the members), each member is registered as a separate tool with the model in order to reduce the complexity of the tool schemas and maximise the changes a model will respond correctly.
If the result type is a union with multiple members (after remove `str` from the members), each member is registered as a separate tool with the model in order to reduce the complexity of the tool schemas and maximise the chances a model will respond correctly.

If the result type schema is not of type `"object"`, the result type is wrapped in a single element object, so the schema of all tools registered with the model are object schemas.

Expand Down

0 comments on commit db7b539

Please sign in to comment.