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

Function FormatExtractionResult

agent/memory_extraction.go:266–273  ·  view source on GitHub ↗
(agentResult string)

Source from the content-addressed store, hash-verified

264func (c *ExtractionController) runFabricExtraction(ctx context.Context, payload *extractionContext) (string, error) {
265 if c.Engine == nil {
266 return "", errors.New("memory fabric engine is unavailable")
267 }
268 events := c.fabricEvents(payload)
269 if len(events) == 0 {
270 c.advanceFabricCursor(payload)
271 return "", nil
272 }
273
274 mode, sourceIDs := fabricSynchronousMemoryRequest(events)
275 policy := memory.SemanticDeferred
276 if len(sourceIDs) > 0 {

Callers 2

runExtractionMethod · 0.85

Calls 1

truncateExtractionRunesFunction · 0.85

Tested by 1