mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-03 03:59:42 +00:00
anthropic[minor]: tool use (#20016)
This commit is contained in:
@@ -13,6 +13,9 @@ class ToolMessage(BaseMessage):
|
||||
|
||||
tool_call_id: str
|
||||
"""Tool call that this message is responding to."""
|
||||
# TODO: Add is_error param?
|
||||
# is_error: bool = False
|
||||
# """Whether the tool errored."""
|
||||
|
||||
type: Literal["tool"] = "tool"
|
||||
|
||||
|
Reference in New Issue
Block a user