mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-17 16:39:52 +00:00
add type hint
This commit is contained in:
parent
c9c4776fb7
commit
eab89965de
@ -190,7 +190,7 @@ class AIMessage:
|
||||
self._tool_calls: list[types.ToolCall] = [
|
||||
block for block in self.content if types.is_tool_call_block(block)
|
||||
]
|
||||
self._invalid_tool_calls = [
|
||||
self._invalid_tool_calls: list[types.InvalidToolCall] = [
|
||||
block for block in self.content if types.is_invalid_tool_call_block(block)
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user