Skip to content

Conversation

@sydney-runkle
Copy link
Collaborator

No description provided.

@github-actions github-actions bot added langchain `langchain` package issues & PRs fix For PRs that implement a fix labels Dec 17, 2025
`Command`.
"""

def __call__(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could probably do

_AsyncCallableReturningToolResponse = Callable[[ToolCallRequest, Callable[[ToolCallRequest], Awaitable[ToolMessage | Command]]], Awaitable[ToolMessage | Command]]

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

Labels

fix For PRs that implement a fix langchain `langchain` package issues & PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants