Daemon cold start takes ~25s but hooks have short timeouts, causing retain to time out on first use. Fix by firing daemon startup as a detached background process in SessionStart so it warms up before the first recall/retain hook fires. Also bumps the daemon start timeout in _ensure_daemon_running from 10s to 30s as a fallback for when retain fires before pre-start completes. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| bank.py | ||
| client.py | ||
| config.py | ||
| content.py | ||
| daemon.py | ||
| llm.py | ||
| state.py | ||