Commit bf08b1c
docs: clarify ProviderStrategy vs ToolStrategy in response_format note (#1524)
## Overview
This PR fixes a confusing note in the `create_agent.response_format`
documentation. The original text implied that `ToolStrategy` is used
when passing a schema directly, which is incorrect. The update clarifies
that `ProviderStrategy` is automatically used for models that support
native structured output, and wrapping the schema explicitly is
optional.
## Type of change
**Type:** Update existing documentation
## Related issues/PRs
- GitHub issue: -
- Feature PR: -
## Checklist
- [x] I have read the [contributing guidelines](README.md)
- [ ] I have tested my changes locally using `docs dev`
- [ ] All code examples have been tested and work correctly
- [ ] I have used **root relative** paths for internal links
- [ ] I have updated navigation in `src/docs.json` if needed
Co-authored-by: Lauren Hirata Singh <[email protected]>1 parent 631b9ca commit bf08b1c
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
0 commit comments