MCPcopy Create free account
hub / github.com/diillson/chatcli / Run

Method Run

cli/plugins/builtin_moa.go:37–37  ·  view source on GitHub ↗

Run queries each member model with prompt in parallel, then has the aggregator synthesize a single answer. Empty members → a sensible default set drawn from configured providers. Empty aggregator → the session's current model. Each member is "provider" or "provider:model".

(ctx context.Context, prompt string, members []string, aggregator string)

Source from the content-addressed store, hash-verified

35 // set drawn from configured providers. Empty aggregator → the session's
36 // current model. Each member is "provider" or "provider:model".
37 Run(ctx context.Context, prompt string, members []string, aggregator string) (string, error)
38 // List reports the providers/models available to participate.
39 List(ctx context.Context) (string, error)
40}

Callers 15

cmdBatchExecuteMethod · 0.65
getCriticalInputMethod · 0.65
editCommandBlockMethod · 0.65
TestPickFirstNonEmptyFunction · 0.65
TestExtractFilePathsFunction · 0.65
runAutoTriggerActionMethod · 0.65
TestMainFunction · 0.65
TestRouteConfigCommandFunction · 0.65
TestEnvBoolFunction · 0.65
TestFamilyProviderOfFunction · 0.65

Implementers 2

moaPluginAdaptercli/moa_adapter.go
fakeMoaAdaptercli/plugins/builtin_moa_test.go

Calls

no outgoing calls

Tested by 15

TestPickFirstNonEmptyFunction · 0.52
TestExtractFilePathsFunction · 0.52
TestMainFunction · 0.52
TestRouteConfigCommandFunction · 0.52
TestEnvBoolFunction · 0.52
TestFamilyProviderOfFunction · 0.52
TestCatalogProviderOfFunction · 0.52
TestGetModelPricingFunction · 0.52
TestPreviousTokenFunction · 0.52