Duke-911 commited on
Commit
b7d44c8
·
1 Parent(s): e8b5a9a

Fix parameter name in AgentWorkflow instantiation from 'tools' to 'tools_or_functions'

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import gradio as gr
8
 
9
  llm = HuggingFaceInferenceAPI(model_name='Qwen/Qwen2.5-Coder-32B-Instruct')
10
  alfred = AgentWorkflow.from_tools_or_functions(
11
- tools=[
12
  get_weather_info_tool,
13
  get_hub_stats_tool,
14
  search_tool,
 
8
 
9
  llm = HuggingFaceInferenceAPI(model_name='Qwen/Qwen2.5-Coder-32B-Instruct')
10
  alfred = AgentWorkflow.from_tools_or_functions(
11
+ tools_or_functions=[
12
  get_weather_info_tool,
13
  get_hub_stats_tool,
14
  search_tool,