Skip to content

fix(tasks): count complete responses for task reminders - #302

Open
Wenyan0315 wants to merge 1 commit into
GoDiao:mainfrom
Wenyan0315:fix/task-reminder-response-count
Open

Wenyan0315 wants to merge 1 commit into
GoDiao:mainfrom
Wenyan0315:fix/task-reminder-response-count

Conversation

@Wenyan0315

Copy link
Copy Markdown
Contributor

Summary

  • count each assistant request once when a response is split into multiple content-block messages
  • preserve per-message counting for legacy messages without request ids
  • recognize task management calls in any content block of a response

Tests

  • bun test — 3,427 passed across 238 files
  • bun test --randomize --seed=1 src/utils/__tests__/taskReminder.test.ts
  • cd desktop && bun run lint
  • cd desktop && bun run test -- --run — 3,139 passed, 4 skipped across 238 files

Closes #274

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Harness: count assistant responses, not content blocks, for the task reminder

1 participant