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

Function BuildSystemPrompt

agentContext/builder.go:843–849  ·  view source on GitHub ↗
(cwd, memorySection string)

Source from the content-addressed store, hash-verified

841 memoryPromptSection, err := BuildMemoryBehaviorSection(memorySection)
842 if err == nil {
843 sections = append(sections, memoryPromptSection)
844 }
845 sessionMemoryPromptSection, err := BuildSessionMemoryBehaviorSection(cfg.SessionMemoryEnabled)
846 if err == nil {
847 sections = append(sections, sessionMemoryPromptSection)
848 }
849 return InitialContext{
850 CWD: cwd,
851 Sections: sections,
852 ProjectDocs: projectDocs,

Calls 2

BuildSystemPromptSectionFunction · 0.85
AssemblePromptSectionsFunction · 0.85