mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-02 03:26:17 +00:00
templates: simplify tool in gemini-functions-agent 2 (#17283)
This commit is contained in:
@@ -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]]):
|
||||
|
Reference in New Issue
Block a user