Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
@@ -40,7 +40,7 @@ TOOLS = [
|
|
40 |
|
41 |
# βββββββββββββββββββββββββββββ Agent Wrapper βββββββββββββββββββββββββββββ
|
42 |
class SimpleLangGraphAgent:
|
43 |
-
def __init__(self, model_name="gpt-
|
44 |
self.agent = create_react_agent(
|
45 |
model=ChatOpenAI(model_name=model_name, temperature=0.3),
|
46 |
tools=TOOLS,
|
|
|
40 |
|
41 |
# βββββββββββββββββββββββββββββ Agent Wrapper βββββββββββββββββββββββββββββ
|
42 |
class SimpleLangGraphAgent:
|
43 |
+
def __init__(self, model_name="gpt-4.1"):
|
44 |
self.agent = create_react_agent(
|
45 |
model=ChatOpenAI(model_name=model_name, temperature=0.3),
|
46 |
tools=TOOLS,
|