Skip to main content

Module runtime

Module runtime 

Source

Functionsยง

enrich_tool_input_with_runtime_context
Enrich tool input with session metadata, provenance, and workspace-aware paths.
insert_field
Insert a string field into a JSON object only when the value is present.
is_codesearch_no_match_output
Return whether a successful codesearch result represents a no-match response.
is_interactive_tool
Return whether the tool requires interactive user input.
is_local_cuda_provider
Return whether a provider name refers to a local CUDA-backed provider.
local_cuda_light_system_prompt
Return the lightweight system prompt used for local CUDA providers.