mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-21 10:31:23 +00:00
fmt
This commit is contained in:
@@ -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 [
|
||||
{
|
||||
|
Reference in New Issue
Block a user