Update agents/agents_nodes.py
Browse files- 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.
|
| 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 |
)
|