Skip to content

Conversation

@DouweM
Copy link
Collaborator

@DouweM DouweM commented Jul 28, 2025

Fixes #2339

@hyperlint-ai
Copy link
Contributor

hyperlint-ai bot commented Jul 28, 2025

PR Change Summary

Isolated AG-UI state management between requests to enhance reliability and validation.

  • Updated documentation to clarify the use of custom dependencies for AG-UI state management.
  • Introduced a requirement for custom dependencies to implement the StateHandler protocol for state isolation.
  • Enhanced validation process for AG-UI state using Pydantic BaseModel.

Modified Files

  • docs/ag-ui.md

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

@DouweM DouweM self-assigned this Jul 28, 2025
@github-actions
Copy link

github-actions bot commented Jul 28, 2025

Docs Preview

commit: e733543
Preview URL: https://7796b564-pydantic-ai-previews.pydantic.workers.dev

@DouweM DouweM enabled auto-merge (squash) July 28, 2025 23:03
@DouweM DouweM merged commit 2fca506 into main Jul 28, 2025
17 checks passed
@DouweM DouweM deleted the ag-ui-state branch July 28, 2025 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: AG-UI state is set directly on deps, leading to issues if deps object is shared between agent runs

2 participants