wt002 commited on
Commit
ffb9aa5
·
verified ·
1 Parent(s): 04f36d4

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +2 -0
agent.py CHANGED
@@ -183,6 +183,8 @@ def build_graph(provider: str = "huggingface", huggingface_model: str = "mistral
183
  else:
184
  raise ValueError("Invalid provider. Choose 'google' or 'huggingface'.")
185
 
 
 
186
  # ✅ Bind tools if defined
187
  llm_with_tools = llm.bind_tools(tools) # Make sure `tools` is defined/imported
188
  return llm_with_tools
 
183
  else:
184
  raise ValueError("Invalid provider. Choose 'google' or 'huggingface'.")
185
 
186
+ return llm
187
+
188
  # ✅ Bind tools if defined
189
  llm_with_tools = llm.bind_tools(tools) # Make sure `tools` is defined/imported
190
  return llm_with_tools