()
| 119 | func (c *ExtractionController) incrementalFabricMessages(state *AgentState) ([]map[string]any, []string, int, int, string, string) { |
| 120 | sessionID := firstNonEmptyString(c.SourceSessionID, state.MemorySessionID) |
| 121 | if sessionID == "" { |
| 122 | sessionID = "runtime-" + stableFabricTextID(c.Config.ProjectRoot()) + "-" + |
| 123 | firstNonEmptyString(c.SourceAgentID, "main") |
| 124 | } |
| 125 | consumerID := "memory-fabric-ingest:" + firstNonEmptyString(c.SourceAgentID, "main") |
| 126 | start := state.MemoryExtractionCursor |
| 127 | if start < 0 { |
| 128 | start = 0 |
| 129 | } |
| 130 | if start >= len(state.Messages) { |
| 131 | return nil, nil, start, start - 1, sessionID, consumerID |
| 132 | } |
| 133 |
no outgoing calls