SIGN IN SIGN UP

fix(provider/moonshotai): gate sampling by model (#19563)

## Summary

- omit `temperature`, `topP`, `frequencyPenalty`, and `presencePenalty`
from official Kimi model requests
- return actionable unsupported-setting warnings for omitted values
- preserve sampling controls for Moonshot V1 and unknown/custom model
IDs
- document model-specific sampling behavior

Fixes #19543

## Tests

- `pnpm --filter @ai-sdk/moonshotai test:node` (87 passed)
- `pnpm --filter @ai-sdk/moonshotai test:edge` (87 passed)
- `pnpm --filter @ai-sdk/moonshotai type-check`
- `pnpm type-check:full`
- `pnpm check`
G
Gregor Martynus committed
1cb04934243894771fc4b02314ff73a5bb0b0161
Parent: df45e67
Committed by GitHub <noreply@github.com> on 8/25/2026, 7:36:15 PM