Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -19,7 +19,7 @@ def assistant(state: AgentState):
|
|
| 19 |
|
| 20 |
def build_agent():
|
| 21 |
llm = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)
|
| 22 |
-
llm.bind_tools(tools)
|
| 23 |
|
| 24 |
## The graph
|
| 25 |
builder = StateGraph(AgentState)
|
|
|
|
| 19 |
|
| 20 |
def build_agent():
|
| 21 |
llm = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)
|
| 22 |
+
chat_with_tools = llm.bind_tools(tools)
|
| 23 |
|
| 24 |
## The graph
|
| 25 |
builder = StateGraph(AgentState)
|