Skip to content

Conversation

@E66Crisp
Copy link
Contributor

Commit description

  1. Simplify the ToolUIPartApproval union: keep a “pending” branch that forbids approved/reason, and a “responded” branch with approved: boolean and optional reason; remove redundant variants to improve readability and maintainability.
  2. Use inject(ConfirmationKey) in useConfirmationContext to avoid manual generics/defaults, keeping runtime behavior the same while improving type accuracy.

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