MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _daily_note_user_profile

Function _daily_note_user_profile

agents/reading-agent/main.py:2291–2299  ·  view source on GitHub ↗
(user_id: str)

Source from the content-addressed store, hash-verified

2289
2290
2291def _daily_note_user_profile(user_id: str) -> Dict[str, Any]:
2292 if not user_id:
2293 return {}
2294 try:
2295 profile = get_profile(user_id) or {}
2296 return ensure_profile_schema(profile) if isinstance(profile, dict) else {}
2297 except Exception as exc:
2298 print(f" Daily Note profile lookup skipped: {exc}")
2299 return {}
2300
2301
2302def _daily_note_profile_terms(user_profile: Optional[Dict[str, Any]]) -> List[str]:

Callers 2

refresh_daily_note_filesFunction · 0.85

Calls 2

ensure_profile_schemaFunction · 0.85
get_profileFunction · 0.50

Tested by

no test coverage detected