Add local API key onboarding

This commit is contained in:
sinmb79
2026-04-03 09:13:05 +09:00
parent 544e4e0720
commit c8e1ec5d34
10 changed files with 328 additions and 0 deletions

View File

@@ -64,6 +64,8 @@ async def civilplan_lifespan(_: FastMCP) -> AsyncIterator[dict[str, object]]:
missing_keys = check_api_keys()
for key in missing_keys:
logger.warning("API key missing: %s", key)
if missing_keys:
logger.warning("Provide keys in .env or run `python setup_keys.py` for encrypted local storage.")
scheduler = build_scheduler(start=True)
try: