Spaces:
Sleeping
Sleeping
Remove parallel tool calls parameter
Browse files
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
|
| 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 |
"""
|