mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-12 06:13:36 +00:00
templates: simplify tool in gemini-functions-agent 2 (#17283)
This commit is contained in:
parent
febf9540b9
commit
12d3159dd6
@ -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]]):
|
def _format_chat_history(chat_history: List[Tuple[str, str]]):
|
||||||
|
Loading…
Reference in New Issue
Block a user