mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-21 14:18:52 +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(
|
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 [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user