Kiro sends modelId "auto" for the main agent turn; without a defaultModels slot getMappedModel returned null and the call leaked to AWS instead of the configured provider. Adds the slot + guard test. Co-authored-by: Cursor <cursoragent@cursor.com>