Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ search_tool = DuckDuckGoSearchResults()
|
|
18 |
tools = [browser_tool, search_tool]
|
19 |
llm = HuggingFaceEndpoint(repo_id="Qwen/Qwen2.5-Coder-32B-Instruct")
|
20 |
chat = ChatHuggingFace(llm=llm)
|
21 |
-
llm_with_tools = chat.bind_tools(tools
|
22 |
|
23 |
class State(TypedDict):
|
24 |
messages = Annotated[list[AnyMessage], add_messages]
|
|
|
18 |
tools = [browser_tool, search_tool]
|
19 |
llm = HuggingFaceEndpoint(repo_id="Qwen/Qwen2.5-Coder-32B-Instruct")
|
20 |
chat = ChatHuggingFace(llm=llm)
|
21 |
+
llm_with_tools = chat.bind_tools(tools)
|
22 |
|
23 |
class State(TypedDict):
|
24 |
messages = Annotated[list[AnyMessage], add_messages]
|