Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Build
Method · 0.65
Create
Function · 0.65
Implementers
15
BasePromptModule
pkg/agent/prompt_modules.go
EnvironmentModule
pkg/agent/prompt_modules.go
ToolsManualModule
pkg/agent/prompt_modules.go
SandboxModule
pkg/agent/prompt_modules.go
TodoReminderModule
pkg/agent/prompt_modules.go
CodeReferenceModule
pkg/agent/prompt_modules.go
SecurityModule
pkg/agent/prompt_modules.go
PerformanceModule
pkg/agent/prompt_modules.go
CollaborationModule
pkg/agent/prompt_modules.go
WorkflowModule
pkg/agent/prompt_modules.go
CustomInstructionsModule
pkg/agent/prompt_modules.go
CapabilitiesModule
pkg/agent/prompt_modules.go
Calls
no outgoing calls
Tested by
no test coverage detected