You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: keep system prompt as plain string for Vertex SDK compatibility
The Vertex SDK does not support array-form system prompts with cache_control,
unlike the regular Anthropic SDK. This fix ensures the system parameter remains
a plain string, applying cache_control only to message content blocks.
- Modified system prompt handling to maintain string format
- Updated tests to match corrected behavior
- Maintains caching functionality for message blocks only
Fixes compatibility issue introduced in commit a3d8c0e
0 commit comments