Skip to main content

Module ai_explain

Module ai_explain 

Source
Expand description

ferro ai:explain <target> — AI-powered service/route/model explanation.

Resolves the target in SERVICE → ROUTE → MODEL order (projection-framed is primary; prose fallback when no projection exists). Assembles a prompt from introspected facts and produces prose via a raw CompletionRequest { schema: None, .. } call. --dry-run prints the assembled prompt without calling the LLM.

All resolution and prompt-building logic lives in ferro_mcp::tools::ai_explain_core. This module is a thin CLI wrapper: tokio runtime bridge, console output, process exit.

Functions§

run
Run the ferro ai:explain <target> command.