(result SessionPromptResultRecord)
| 1273 | } |
| 1274 | |
| 1275 | func sessionPromptValues(result SessionPromptResultRecord) []string { |
| 1276 | return []string{ |
| 1277 | result.Status, |
| 1278 | string(result.Mode), |
| 1279 | strconv.FormatBool(result.Queued), |
| 1280 | strconv.FormatBool(result.Staged), |
| 1281 | strconv.FormatBool(result.Interrupted), |
| 1282 | result.QueueEntryID, |
| 1283 | strconv.Itoa(result.QueuePosition), |
| 1284 | strconv.FormatInt(result.QueueGeneration, 10), |
| 1285 | result.PreviousTurnID, |
| 1286 | result.NewTurnID, |
| 1287 | strconv.Itoa(result.CanceledQueuedEntries), |
| 1288 | string(result.FallbackModeIfNoToolResult), |
| 1289 | } |
| 1290 | } |
| 1291 | |
| 1292 | func filterActiveSessions(items []SessionRecord) []SessionRecord { |
| 1293 | filtered := make([]SessionRecord, 0, len(items)) |
no outgoing calls
no test coverage detected