Skip to content

Commit 6814764

Browse files
authored
Merge pull request #95 from MLAI-AUS-Inc/disable-medhack-case-scheduler
Disable MedHack daily case scheduler
2 parents 746c3bb + f5bed68 commit 6814764

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

roo-standalone/roo/main.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,15 @@ async def lifespan(app: FastAPI):
151151
agent = get_agent()
152152
print(f" Loaded {len(agent.skills)} skills")
153153

154-
# Start MedHack daily case scheduler
155-
import asyncio
156-
medhack_task = asyncio.create_task(_medhack_daily_case_loop())
157-
print(" Started MedHack daily case scheduler")
154+
# MedHack daily case scheduler (currently disabled)
155+
# import asyncio
156+
# medhack_task = asyncio.create_task(_medhack_daily_case_loop())
157+
# print(" Started MedHack daily case scheduler")
158158

159159
yield
160160

161-
# Cancel the background task on shutdown
162-
medhack_task.cancel()
161+
# Cancel the background task on shutdown (disabled)
162+
# medhack_task.cancel()
163163
print("🦘 Roo Standalone shutting down...")
164164

165165

0 commit comments

Comments
 (0)