yoda1976 commited on
Commit
7f6547d
·
1 Parent(s): 8d72886

Remove parallel tool calls parameter

Browse files
Files changed (1) hide show
  1. tools.py +1 -1
tools.py CHANGED
@@ -50,7 +50,7 @@ llm = ChatHuggingFace(llm = HuggingFaceEndpoint(
50
  endpoint_url="https://api-inference.huggingface.co/models/meta-llama/llama-2-7b-chat-hf",
51
  temperature=0))
52
  tools = [add, subtract, divide, web_search]
53
- llm_with_tools = llm.bind_tools(tools, parallel_tool_calls = False)
54
 
55
  def retriever(state: AgentState) -> Dict:
56
  """
 
50
  endpoint_url="https://api-inference.huggingface.co/models/meta-llama/llama-2-7b-chat-hf",
51
  temperature=0))
52
  tools = [add, subtract, divide, web_search]
53
+ llm_with_tools = llm.bind_tools(tools)
54
 
55
  def retriever(state: AgentState) -> Dict:
56
  """