Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
fix(pi-extension): don't block session_start on the OV server chain (#4506)
NoxOS241af176bf71
diff --git a/examples/pi-coding-agent-extension/index.ts b/examples/pi-coding-agent-extension/index.tsindex 039547879..807f8d980 100644--- a/examples/pi-coding-agent-extension/index.ts+++ b/examples/pi-coding-agent-extension/index.ts@@ -136,7 +136,14 @@ export default async function (pi: ExtensionAPI) {// --- session_start ---pi.on("session_start", async (event, ctx) => {- await start(ctx);+ // Fire-and-forget: the OV chain (health check, session ensure, profile+ // build) costs ~2s against the remote server; blocking session_start on it+ // delays every pi startup. start() is memoized via startPromise, so+ // before_agent_start awaits the same in-flight chain before the first+ // provider request — the first turn still gets profile + recall.+ void start(ctx).catch((error) => {+ debugLog(`session_start: ${error instanceof Error ? error.message : String(error)}`);+ });});// --- before_agent_start ---