Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Invalid model. Please select a different model to continue.

Open AK51 opened this issue 7 months ago • 38 comments

Before opening, please confirm:

Operating System

win32

Kiro Version

0.11.130

Bug Description

The Kiro worked ok yesterday, but today, this error keeps coming up. And the development stop....

Steps to Reproduce

I ask Kiro to look into the bug and it keeps looking and still cannot solve it. After several loop, here is the error. It happened two times today already Invalid model. Please select a different model to continue.

Expected Behavior

There was no error like this before

Conversation ID

8d19151a-d058-49e9-82ce-66ab58448a4e 8d19151a-d058-49e9-82ce-66ab58448a4e 8d19151a-d058-49e9-82ce-66ab58448a4e 8d19151a-d058-49e9-82ce-66ab58448a4e 8d19151a-d058-49e9-82ce-66ab58448a4e

Additional Context

No response

AK51 avatar Apr 10 '26 05:04 AK51

🤖 Potential Duplicate Detected

This issue appears to be similar to:

What happens next?

  • ⏰ This issue will be automatically closed in 3 days
  • 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
  • 💬 Comment on the original issue if you have additional information

Why is this marked as duplicate? Both report Kiro suddenly stopping working after previously functioning normally, with similar symptoms of the application becoming unresponsive or encountering errors that prevent continued use

github-actions[bot] avatar Apr 10 '26 05:04 github-actions[bot]

This error line is new, "Invalid model. Please select a different model to continue"

AK51 avatar Apr 10 '26 06:04 AK51

Thank you for your feedback! 🙏

The duplicate label has been removed and this issue has been sent back for maintainer review.

A maintainer will review this issue shortly.

github-actions[bot] avatar Apr 10 '26 06:04 github-actions[bot]

Hey @AK51, Thanks for raising this. Please try switching to a different model from the model selector (e.g., Claude Sonnet 4.6) and starting a new chat session. If the issue persists, let us know which model was selected when the error occurred.

AnilMaktala avatar Apr 10 '26 14:04 AnilMaktala

I use Auto as default, it keeps looping for an hour and give me this error and used over 200 credits... :<

AK51 avatar Apr 11 '26 12:04 AK51

same issue. Started seeing this issue around the same time. (2 days ago) My workaround is switching from an "Auto" to a few other models and switching back repeatedly whenever it happens.

PPP168 avatar Apr 12 '26 01:04 PPP168

Same issue. This is frustrating when this issue occurs alongside "An unexpected error occurred while processing your input." (Last time I deleted the .kiro folder under the project to force this issue to be resolved). I can only avoid this problem by creating a new conversation, but then I lose the context.

CN-Air84 avatar Apr 12 '26 04:04 CN-Air84

Hey @AK51, Thanks for raising this. Please try switching to a different model from the model selector (e.g., Claude Sonnet 4.6) and starting a new chat session. If the issue persists, let us know which model was selected when the error occurred.嘿 @AK51,感谢你提出这个问题。请尝试从模型选择器中切换到其他模型(例如 Claude Sonnet 4.6)并开启一个新的聊天会话。如果问题仍然存在,请告知出现错误时所选的是哪个模型。

@AnilMaktala The issue persists whether I'm using the Auto setting or any specific Claude model.

Image

meesii avatar Apr 12 '26 17:04 meesii

i have to type Retry, again and again {"request":{"$metadata":{"httpStatusCode":400,"requestId":"ee618c96-ac4e-4571-85ea-2c67079b30c0","attempts":1,"totalRetryDelay":0}}}

Kiddonova avatar Apr 13 '26 01:04 Kiddonova

I have identified the root cause. I previously tried reinstalling the application and deleting the .kiro and Kiro directories multiple times, but none of these steps worked.

The issue was finally resolved after I downgraded to version 0.11.130. This suggests that the problem likely originated in the latest release, version 0.11.131.

meesii avatar Apr 13 '26 09:04 meesii

i just downgraded, it works! thank you @meesii

janny-lei avatar Apr 13 '26 09:04 janny-lei

Thanks to @meesii for pinpointing the issue version, and to everyone else who chipped in with details.

We've been able to confirm this issue across Windows, macOS, and Linux, affecting both Auto mode and specific model selections. The HTTP 400 error flagged by @Kiddonova is a useful data point — it suggests the IDE may be passing an invalid model identifier to the backend.

Tagging this as a bug for further investigation.

AnilMaktala avatar Apr 13 '26 13:04 AnilMaktala

Hey all, A couple of quick questions to help us investigate further:

  • Authentication method
  • User ID — could you share your user ID if possible?

This will help us correlate with other reports and narrow down the root cause faster.

AnilMaktala avatar Apr 13 '26 16:04 AnilMaktala

Try switching to a different model from the model selector (e.g., Claude Sonnet 4.6)

If I switch to Claude, another problem occurred, "Too many request .....".

I remember Kiro was very stable in last year, but now, my experience with Kiro is absolutely awful.

lzh327 avatar Apr 14 '26 19:04 lzh327

@AnilMaktala

Auth: AWS IAM Identity center , instance id ssoins-7223367b26034e94

Email and UseId: [email protected] b4388438-c0d1-7051-8f79-df98712628ed [email protected] 54b84408-20a1-70fd-7b88-578413eb2397

Some Logs" 026-04-13 09:30:42.307 [error] lt6: Invalid model ID. Please select a different model to continue. at Y11 (/home/kiddonova/.kiro-server/bin/a6cf5a699ce8f7c8055a71f3de81b758ddadc746/extensions/kiro.kiro-agent/dist/extension.js:375656:140) at Cs2._streamResponseChunks (/home/kiddonova/.kiro-server/bin/a6cf5a699ce8f7c8055a71f3de81b758ddadc746/extensions/kiro.kiro-agent/dist/extension.js:377829:23) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Cs2._streamIterator (/home/kiddonova/.kiro-server/bin/a6cf5a699ce8f7c8055a71f3de81b758ddadc746/extensions/kiro.kiro-agent/dist/extension.js:377232:30) 2026-04-13 09:30:42.307 [info] [Execution] Completed with error Invalid model ID. Please select a different model to continue. 2026-04-13 09:30:42.307 [info] [agent-event-polling] Polling stopped 2026-04-13 09:30:42.307 [info] [agent-controller] Progressing model queue {"activeExecution":false,"queueSize":0} 2026-04-13 09:30:42.314 [info] [SupervisedDiffSync] Cleaned up supervised diff sessions for execution {"executionId":"ae354249-22d0-4812-878a-eb81c7e452bc"} 2026-04-13 09:30:42.643 [info] [Agent Classifier] classification result {"intentResult":{"localIntent":{"chat":1,"do":0,"spec":0},"llmIntent":{"chat":0,"do":1,"spec":0},"finalIntent":{"chat":0,"do":1,"spec":0},"classification":"do"},"userInputOptions":[]}

"modelId":"simple-tasksimple-tasksimple-tasksimple-tasksimple-tasksimple-tasksimple-tasksimple-tasksimple-tasksimple-tasksimple-tasksimple-tasksimple-task"}},"tool_call_chunks":[],"tool_calls":[],"invalid_tool_calls":[]}}}}}, but it return {"request":{"$metadata":{"httpStatusCode":400,"requestId":"cc0a7335-d883-44ce-99f0-3331d66b1602","attempts":1,"totalRetryDelay":0}}}

Kiddonova avatar Apr 15 '26 04:04 Kiddonova

How much longer will it take before we get a new version update after this bug is fixed on Linux? @AnilMaktala

Microeive avatar Apr 15 '26 12:04 Microeive

This issue has been fixed in Kiro IDE 0.11.133, released on April 22, 2026. Please update to the latest version and restart Kiro. If you continue to experience this issue after updating, please open a new issue with details.

AnilMaktala avatar Apr 23 '26 12:04 AnilMaktala

No, it hasn't been fixed yet. I tried installing Kiro IDE 0.11.133, but the issue persists. It’s even failing to fetch the Claude-related model list. Here is the log:

2026-04-23 20:33:38.484 [info] Loading telemetry with client attributes {"KiroClientVersion":"0.11","machineId":"5752aaec4346983fb26a11fed403ff307169683a4539d8297afe207bc6eb9bb5","userId":"","platform":"win32-10.0.26200","channel":"stable","version":"0.11.133","agentMode":"Autopilot"}
2026-04-23 20:33:38.484 [info] [spec-telemetry] Registered and subscribed to agent events
2026-04-23 20:33:38.484 [info] [EnterpriseSettingsManager] Setting up MCP
2026-04-23 20:33:38.484 [info] [EnterpriseSettingsManager] Active
2026-04-23 20:33:38.485 [info] AuthCallbackHandler: Initialized
2026-04-23 20:33:38.485 [info] [SessionResume] Registering resume-session URI handler
2026-04-23 20:33:38.485 [info] [Telemetry] Enterprise admin has disabled telemetry for this profile
2026-04-23 20:33:38.485 [info] [notification-service] Registered and subscribed to agent events
2026-04-23 20:33:38.485 [info] [agent-event-polling] Service created {"command":"kiro.usageLimits.getUsageLimits","intervalMs":300000,"aggregationDelayMs":120000}
2026-04-23 20:33:38.485 [info] [agent-event-polling] Service registered successfully
2026-04-23 20:33:38.485 [info] [storage] Initialized storage at 'c:\Users\VCLOUD\AppData\Roaming\Kiro\User\globalStorage\kiro.kiroagent\ef0b640efa4a3f5e55db6063fdf15ae0'
2026-04-23 20:33:38.485 [info] [FirstTimeProject] Project has been opened before in Kiro
2026-04-23 20:33:38.485 [info] Trying to clear 0 stuck executions []
2026-04-23 20:33:40.279 [info] [EnterpriseSettingsManager] Enterprise mode enabled {"policies":{"usageAnalytics":false,"contentCollection":false,"promptLogging":false,"codeReferenceTracker":true,"mcpEnabled":true,"webToolsEnabled":true,"mcpRegistryActive":false}}
2026-04-23 20:33:40.400 [info] [RemoteToolsDiscovery] Fetching available Remote tools
2026-04-23 20:33:40.400 [info] Congratulations, "Kiro" is now active!
2026-04-23 20:33:41.744 [info] [RemoteToolsDiscovery] Discovered 1 Remote tools
2026-04-23 20:34:25.580 [info] Profile validation completed {"region":"eu-central-1","totalProfiles":0,"validProfiles":0,"filteredOut":0}
2026-04-23 20:34:27.465 [info] Profile validation completed {"region":"us-east-1","totalProfiles":1,"validProfiles":1,"filteredOut":0}
2026-04-23 20:34:27.465 [info] Successfully completed list available profiles command {"finalCount":1}
2026-04-23 20:35:37.673 [info] [agent-controller] Triggered new agent: chat-agent (autonomyMode=Autopilot)
2026-04-23 20:35:37.673 [info] [agent-event-polling] Polling started {"intervalMs":300000}
2026-04-23 20:35:37.706 [info] [AgentIterator] Checking for intent overrides
2026-04-23 20:35:37.712 [info] [AgentIterator] Detecting intent
2026-04-23 20:35:37.712 [info] [AgentIterator] Parallel invoking agent
2026-04-23 20:35:37.712 [info] [Steering] Populating steering for execution eabb9c94-096f-4a25-9ace-0990b1da22d9
2026-04-23 20:35:37.713 [info] [Steering] ExistingFiles:  in eabb9c94-096f-4a25-9ace-0990b1da22d9
2026-04-23 20:35:40.802 [error] Error classifying intent with LLM: Unexpected response format from model
2026-04-23 20:35:40.802 [info] [Agent Classifier] classification result {"intentResult":{"localIntent":{"chat":0,"do":0,"spec":0},"llmIntent":{"chat":0,"do":0,"spec":0},"finalIntent":{"chat":0.33,"do":0.33,"spec":0.33},"classification":"chat"},"userInputOptions":[]}
2026-04-23 20:35:53.724 [error] Failed to stream response chunks Invalid model ID. Please select a different model to continue.
2026-04-23 20:35:53.727 [error] lt6: Invalid model ID. Please select a different model to continue.
	at Y11 (c:\Users\VCLOUD\AppData\Local\Programs\Kiro\resources\app\extensions\kiro.kiro-agent\dist\extension.js:375747:140)
	at Cs2._streamResponseChunks (c:\Users\VCLOUD\AppData\Local\Programs\Kiro\resources\app\extensions\kiro.kiro-agent\dist\extension.js:377920:23)
	at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
	at async Cs2._streamIterator (c:\Users\VCLOUD\AppData\Local\Programs\Kiro\resources\app\extensions\kiro.kiro-agent\dist\extension.js:377323:30)
2026-04-23 20:35:53.727 [info] [Execution] Completed with error Invalid model ID. Please select a different model to continue.
2026-04-23 20:35:53.727 [info] [agent-event-polling] Polling stopped
2026-04-23 20:35:53.727 [info] [agent-controller] Progressing model queue {"activeExecution":false,"queueSize":0}
2026-04-23 20:35:53.730 [info] [SupervisedDiffSync] Cleaned up supervised diff sessions for execution {"executionId":"eabb9c94-096f-4a25-9ace-0990b1da22d9"}

Image Image

meesii avatar Apr 23 '26 12:04 meesii

same here! the new version can't get Claude models. We have to keep using 0.11.130 and ask our whole team to force downgrading .

Kiddonova avatar Apr 24 '26 01:04 Kiddonova

now confirmed from our company, is this country specific, our sub team is located in China.

Image

Kiddonova avatar Apr 24 '26 01:04 Kiddonova