Skip to content

Conversation

@SergiFuster
Copy link

No description provided.

@SergiFuster
Copy link
Author

SergiFuster commented Dec 3, 2025

I need this fix/feature (I'm not sure how to name it) to implement a consistent solution for the project we are working on at our company.

calls: dict[str, DeferredToolCallResult | Any] = field(default_factory=lambda: dict[str, DeferredToolCallResult | Any]())
"""Map of tool call IDs to results for tool calls that required external execution."""
approvals: dict[str, bool | DeferredToolApprovalResult] = field(default_factory=dict)
approvals: dict[str, bool | DeferredToolApprovalResult] = field(default_factory=lambda: dict[str, bool | DeferredToolApprovalResult]())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert these changes; looks like your IDE is using a newer pyright than we have in pyproject.toml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants