(visibleToolResultIDs map[string]struct{})
| 1152 | state.CacheBreakPoints = breakpoints |
| 1153 | result := make([]map[string]any, 0, len(messages)) |
| 1154 | for i, msg := range messages { |
| 1155 | if !breakpoints.Contains(i) { |
| 1156 | result = append(result, msg) |
| 1157 | continue |
| 1158 | } |
| 1159 | blocks := contentBlocks(msg["content"]) |