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

Method Execute

cli/plugins/builtin_knowledge.go:151–153  ·  view source on GitHub ↗

Execute parses the args and dispatches to the adapter.

(ctx context.Context, args []string)

Source from the content-addressed store, hash-verified

149
150// Execute parses the args and dispatches to the adapter.
151func (p *BuiltinKnowledgePlugin) Execute(ctx context.Context, args []string) (string, error) {
152 return p.ExecuteWithStream(ctx, args, nil)
153}
154
155// ExecuteWithStream mirrors Execute — this plugin produces no incremental
156// output, so the stream callback is ignored.

Calls 1

ExecuteWithStreamMethod · 0.95