Skip to content

Conversation

@benjamin-frost
Copy link
Contributor

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

  • I have read the contributing guidelines
  • 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

@github-actions github-actions bot added langchain For docs changes to LangChain oss labels Nov 19, 2025
@lnhsingh lnhsingh merged commit bf08b1c into langchain-ai:main Nov 21, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

langchain For docs changes to LangChain oss

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants