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