Skip to content

Conversation

@mcavdar
Copy link
Contributor

@mcavdar mcavdar commented Nov 5, 2025

Overview

It might be better to add the missing import, since it’s not as commonly imported as create_agent.

Type of change

Type: [Update existing documentation]

Related issues/PRs

  • GitHub issue:
  • Feature PR:
  • Linear issue:
  • Slack thread:

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
  • I have gotten approval from the relevant reviewers
  • (Internal team members only / optional) I have created a preview deployment using the Create Preview Branch workflow

Additional notes

@mcavdar mcavdar requested a review from lnhsingh as a code owner November 5, 2025 18:07
@github-actions github-actions bot added langchain For docs changes to LangChain oss labels Nov 5, 2025
@mcavdar mcavdar changed the title docs: Add typing import for CustomState class docs: Add typing import for CustomMiddleware Nov 5, 2025
@lnhsingh lnhsingh merged commit c639b7b into langchain-ai:main Nov 6, 2025
1 check passed
lnhsingh pushed a commit that referenced this pull request Nov 20, 2025
## Overview
It might be better to add the missing import, since it’s not as commonly
imported as create_agent.

## Type of change

**Type:** [Update existing documentation]

## Related issues/PRs
<!-- 
Link to related issues, feature PRs, or discussions (if applicable)

To automatically close an issue when this PR is merged, use closing
keywords:
- "closes #123" or "fixes #123" or "resolves #123"

For regular references without auto-closing, just use:
- "#123" or "See issue #123"

Examples:
- closes #456 (will auto-close issue #456 when PR is merged)
- See #789 for context (will reference but not auto-close issue #789)
-->
- GitHub issue:
- Feature PR:

<!-- For LangChain employees, if applicable: -->
- Linear issue:
- Slack thread:

## Checklist
<!-- Put an 'x' in all boxes that apply -->
- [x] I have read the [contributing guidelines](README.md)
- [x] I have tested my changes locally using `docs dev`
- [x] All code examples have been tested and work correctly
- [x] I have used **root relative** paths for internal links
- [x] I have updated navigation in `src/docs.json` if needed
- I have gotten approval from the relevant reviewers
- (Internal team members only / optional) I have created a preview
deployment using the [Create Preview Branch
workflow](https://github.com/langchain-ai/docs/actions/workflows/create-preview-branch.yml)

## Additional notes
<!-- Any other information that would be helpful for reviewers -->
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