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

Function BuildSystemPromptWithConfig

agentContext/builder.go:851–857  ·  view source on GitHub ↗
(cfg config.Config, memorySection string)

Source from the content-addressed store, hash-verified

849 return InitialContext{
850 CWD: cwd,
851 Sections: sections,
852 ProjectDocs: projectDocs,
853 MemorySection: memorySection,
854 SystemPromptPath: systemPromptPath,
855 }, nil
856}
857
858func AssemblePromptSections(sections []PromptSection) string {
859 var result []string
860 for _, section := range sections {

Calls 2

BuildInitialContextFunction · 0.85
RenderMethod · 0.80