mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-23 03:19:38 +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(
|
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]:
|
) -> list[dict]:
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user