Skip to content

Fix step_timeout causing ParentCommand/GraphInterrupt exception to bubble up #4950

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 2025

Conversation

nfcampos
Copy link
Contributor

@nfcampos nfcampos commented Jun 4, 2025

  • We should not re-raise exceptions in commit() as that is now called in a future done callback
  • panic_or_proceed takes care of re-raising exceptions as needed anyway

Copy link

vercel bot commented Jun 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langgraph-docs-preview ⬜️ Ignored (Inspect) Visit Preview Jun 4, 2025 0:29am

@nfcampos nfcampos linked an issue Jun 4, 2025 that may be closed by this pull request
4 tasks
nfcampos added a commit that referenced this pull request Jun 4, 2025
See fix and tests in original PR #4950
…bble up

- We should not re-raise exceptions in commit() as that is now called in a future done callback
- panic_or_proceed takes care of re-raising exceptions as needed anyway
@nfcampos nfcampos force-pushed the nc/3jun/parent-command-timeout branch from 206dffc to 3141155 Compare June 4, 2025 00:26
@nfcampos nfcampos enabled auto-merge June 4, 2025 00:28
@nfcampos nfcampos merged commit 1ea5812 into main Jun 4, 2025
57 checks passed
@nfcampos nfcampos deleted the nc/3jun/parent-command-timeout branch June 4, 2025 00:32
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.

Why does setting the agent timeout cause an error?
1 participant