mirror of
https://github.com/hwchase17/langchain.git
synced 2025-04-28 11:55:21 +00:00
fmt
This commit is contained in:
parent
df415417a1
commit
994bde53e3
@ -1409,7 +1409,7 @@ def _get_message_openai_role(message: BaseMessage) -> str:
|
||||
|
||||
|
||||
def _convert_to_openai_tool_calls(
|
||||
tool_calls: list[Union[ToolCall, InvalidToolCall]], invalid: bool = False
|
||||
tool_calls: Union[list[ToolCall], list[InvalidToolCall]], invalid: bool = False
|
||||
) -> list[dict]:
|
||||
return [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user