Skip to main content

hook_context

Function hook_context 

Source
pub fn hook_context(call: &HookCall, limit: usize) -> String
Expand description

The context the hook injects. A camel-case runner does not see prompt stdout, so the ids stay unmarked until the first tool result, or Stop when the turn ran no tool, delivers them. Every other runner is shown this string and the ids are marked now.