Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

Now that tools are disabled during compaction, Anthropic models can use thinking without conflicts. Also includes continue message in compaction prompt to help focus the summarization.

Changes

  • Remove Anthropic-specific thinking restriction in compactionOptions.ts
  • Add continue message context to compaction prompt when provided
  • Update tests to reflect new behavior

Testing

  • ✅ Unit tests pass (compactionOptions.test.ts)
  • ✅ Slash command tests pass (compact.test.ts)
  • ✅ Type checking passes

Generated with cmux

Now that tools are disabled during compaction, Anthropic models can use
thinking without conflicts. Also includes continue message in compaction
prompt to help focus the summarization.

Changes:
- Remove Anthropic-specific thinking restriction in compactionOptions
- Add continue message to compaction prompt when provided
- Update tests to reflect new behavior
@ammario ammario merged commit d7da0fc into main Oct 19, 2025
8 checks passed
@ammario ammario deleted the compact-tweak branch October 19, 2025 03:26
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.

2 participants