mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
1ec1b864a6
## Summary - Default `max_tokens` was hardcoded to 1024, causing truncated responses for most use cases - Increased default from 1024 to 4096 while still respecting user-provided `maxTokens` Fixes #2354 ## Test plan - [x] Added test verifying default max_tokens is 4096 when not specified - [x] Added test verifying user-provided maxTokens is passed through - [x] All existing anthropic adapter tests pass