Shago commited on
Commit
ece3a76
·
verified ·
1 Parent(s): be13701

Update agents/agents_nodes.py

Browse files
Files changed (1) hide show
  1. agents/agents_nodes.py +1 -1
agents/agents_nodes.py CHANGED
@@ -27,7 +27,7 @@ text_generator = pipeline(
27
 
28
  llm = HuggingFacePipeline(pipeline=text_generator)
29
 
30
- llm_instantiated = llm.bind(
31
  [time_value_tool],
32
  tool_choice={"type": "function", "function": {"name": "time_value_tool"}}
33
  )
 
27
 
28
  llm = HuggingFacePipeline(pipeline=text_generator)
29
 
30
+ llm_instantiated = llm.bind_tools(
31
  [time_value_tool],
32
  tool_choice={"type": "function", "function": {"name": "time_value_tool"}}
33
  )