removed unused code

This commit is contained in:
afjcjsbx 2026-05-07 13:20:39 +02:00
parent 6f6270b39d
commit f1f6e1131b

View file

@ -275,13 +275,6 @@ Each part separated by the marker will be sent as an independent message.`,
return stack.Parts()
}
func (cb *ContextBuilder) buildAgentDiscoveryContext() string {
if cb.agentDiscovery == nil {
return ""
}
return formatAgentDiscoverySection(cb.agentDiscovery(cb.workspace))
}
// BuildSystemPromptWithCache returns the cached system prompt if available
// and source files haven't changed, otherwise builds and caches it.
// Source file changes are detected via mtime checks (cheap stat calls).