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

Method Priority

pkg/agent/prompt_builder.go:22–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 Name() string
21 Build(ctx *PromptContext) (string, error)
22 Priority() int // 模块优先级,决定注入顺序
23 Condition(ctx *PromptContext) bool // 是否应该注入此模块
24}
25

Callers 2

BuildMethod · 0.65
CreateFunction · 0.65

Implementers 15

BasePromptModulepkg/agent/prompt_modules.go
EnvironmentModulepkg/agent/prompt_modules.go
ToolsManualModulepkg/agent/prompt_modules.go
SandboxModulepkg/agent/prompt_modules.go
TodoReminderModulepkg/agent/prompt_modules.go
CodeReferenceModulepkg/agent/prompt_modules.go
SecurityModulepkg/agent/prompt_modules.go
PerformanceModulepkg/agent/prompt_modules.go
CollaborationModulepkg/agent/prompt_modules.go
WorkflowModulepkg/agent/prompt_modules.go
CustomInstructionsModulepkg/agent/prompt_modules.go
CapabilitiesModulepkg/agent/prompt_modules.go

Calls

no outgoing calls

Tested by

no test coverage detected