MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / BuildMemoryBehaviorSection

Function BuildMemoryBehaviorSection

agentContext/builder.go:697–706  ·  view source on GitHub ↗
(memorySection string)

Source from the content-addressed store, hash-verified

695 budget,
696 ), nil
697}
698
699func BuildBudgetProjectInstructionsSection(cwd, role string) (PromptSection, error) {
700 cfg := config.NewConfigForCWD(cwd)
701 return BuildBudgetProjectInstructionsSectionWithConfig(cwd, role, cfg)
702}
703
704func BuildBudgetProjectInstructionsSectionWithConfig(cwd, role string, cfg config.Config) (PromptSection, error) {
705 projectInstructions, err := LoadProjectInstructionsWithConfig(cwd, cfg)
706 if err != nil {
707 return PromptSection{}, err
708 }
709 if strings.TrimSpace(projectInstructions) == "" || role == "subagent" {

Callers 1

BuildInitialContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected