Expand description
Process-wide hook invocation mode (GH-952).
Host hooks (SessionStart context, session-init, observe, summarize) run under tight host budgets, so embedding network calls made from a hook process are capped to a short deadline. A capped call that times out degrades through the configured embedding fallback chain with an error log instead of stalling the hook.
Constants§
Functions§
- enter_
hook_ runtime_ mode - Mark this process as a host hook invocation. One-way for the process lifetime: hook entrypoints are always dedicated short-lived processes.
- hook_
embedding_ timeout_ secs - The embedding network deadline cap for hook processes, in seconds.
- hook_
runtime_ mode