Tutorials
@ai-sdk/anthropic drops your temperature when the model id contains claude-
The Anthropic provider decides your max_tokens, whether temperature is sent at all, and the whole shape of a generateObject request, from a case-sensitive substring test on your model id. Reproduced first-party on ai 7.0.113 with a local capture server and no real API key.
11 min read3