Update src/agents/gcalendar/gcalendar_agent.py
Browse files
src/agents/gcalendar/gcalendar_agent.py
CHANGED
|
@@ -34,8 +34,7 @@ def gcalendar_agent(query: str) -> str:
|
|
| 34 |
# Load settings
|
| 35 |
settings = GoogleCalendarSettings()
|
| 36 |
CALENDAR_MCP_DIR = settings.calendar_mcp_dir
|
| 37 |
-
CREDS = settings.
|
| 38 |
-
TOKEN = settings.token
|
| 39 |
|
| 40 |
# Initialize model
|
| 41 |
model = ChatOpenAI(model="gpt-4o", temperature=0)
|
|
|
|
| 34 |
# Load settings
|
| 35 |
settings = GoogleCalendarSettings()
|
| 36 |
CALENDAR_MCP_DIR = settings.calendar_mcp_dir
|
| 37 |
+
CREDS, TOKEN = settings.materialize_files()
|
|
|
|
| 38 |
|
| 39 |
# Initialize model
|
| 40 |
model = ChatOpenAI(model="gpt-4o", temperature=0)
|