MCPcopy Create free account
hub / github.com/astercloud/aster / Prompt

Method Prompt

pkg/tools/cache.go:494–496  ·  view source on GitHub ↗

Prompt 实现 Tool 接口

()

Source from the content-addressed store, hash-verified

492
493// Prompt 实现 Tool 接口
494func (ct *CachedTool) Prompt() string {
495 return ct.tool.Prompt()
496}
497
498// Execute 实现 Tool 接口(带缓存)
499func (ct *CachedTool) Execute(ctx context.Context, input map[string]any, tc *ToolContext) (any, error) {

Callers

nothing calls this directly

Calls 1

PromptMethod · 0.65

Tested by

no test coverage detected