Refactor ListLatestSessionsForViewer to use a map for tracking seen resource IDs, ensuring only the newest session per resource is kept. Add a test case to verify correct deduplication across paginated API responses. |
||
|---|---|---|
| .. | ||
| capi | ||
| create | ||
| list | ||
| shared | ||
| view | ||
| agent_task.go | ||
| agent_task_test.go | ||