Skip to content

feat: SwarmValidationError for handoff schema validation#127

Open
Igor Holt (igor-holt) wants to merge 1 commit into
langchain-ai:mainfrom
igor-holt:feat/swarm-validation-error
Open

feat: SwarmValidationError for handoff schema validation#127
Igor Holt (igor-holt) wants to merge 1 commit into
langchain-ai:mainfrom
igor-holt:feat/swarm-validation-error

Conversation

@igor-holt

Copy link
Copy Markdown

Adds SwarmValidationError exception class for validating human feedback structure in HITL gates. Prevents silent failures when handoff payloads are malformed.

Changes

  • New errors.py module with SwarmValidationError and TaskExecutionError
  • Updated __init__.py to export new exceptions
  • Tests for validation error scenarios

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Igor Holt <iholt@mymail.aacc.edu>
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.

1 participant