Skip to main content

Module model_handler

Module model_handler 

Source
Expand description

Model handler โ€” gateway-side model tool dispatch.

Handles model_* tool calls by interacting with the shared ModelRegistry.

Functionsยง

execute_model_tool
Execute a model tool call.
generate_model_prompt_section
Generate system prompt section for model selection guidance.
is_model_tool
Check if a tool name is a model tool.