(agentResult string)
| 264 | func (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 { |