MCPcopy Create free account
hub / github.com/AI45Lab/Code / dispatch

Function dispatch

core/src/agent_api/session_commands.rs:23–29  ·  view source on GitHub ↗
(
    session: &AgentSession,
    prompt: &str,
    ctx: &CommandContext,
)

Source from the content-addressed store, hash-verified

21}
22
23pub(super) fn dispatch(
24 session: &AgentSession,
25 prompt: &str,
26 ctx: &CommandContext,
27) -> Option<CommandOutput> {
28 registry(session).dispatch(prompt, ctx)
29}

Callers 2

dispatch_blockingFunction · 0.85
dispatch_streamingFunction · 0.85

Calls 2

registryFunction · 0.85
dispatchMethod · 0.45

Tested by

no test coverage detected