templates: simplify tool in gemini-functions-agent 2 (#17283)

This commit is contained in:
Erick Friis 2024-02-08 19:39:29 -08:00 committed by GitHub
parent febf9540b9
commit 12d3159dd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@ prompt = ChatPromptTemplate.from_messages(
]
)
llm_with_tools = llm.bind(functions=[tavily_tool])
llm_with_tools = llm.bind(functions=tools)
def _format_chat_history(chat_history: List[Tuple[str, str]]):