Latest in AI
Kimi Code: What to Check When Gemini Won't Stop or a Session Won't Resume
Kimi Desktop 1.5.1 and CLI 2.8.1 fix two distinct failures. Check the provider stream and the current tool list separately.
If a Gemini or Vertex AI request keeps running after you stop it in Kimi Code, check the client version before changing providers. Kimi Code Desktop 1.5.1 and Kimi Code CLI 2.8.1 include fixes for closing that connection promptly and keeping token usage when a request is canceled. They also fix a separate unloaded_tool error after a tool list changes or a session resumes.
These failures look similar when you're in the middle of a task. In one case you're interrupting a request that has already reached the model. In the other, you are dealing with a conversation that remembers a tool the current session may no longer have.
Check which client actually runs the session
Check the version on the surface that hit the issue: Desktop and CLI use different version numbers. If the problem only happens in a remote terminal, check the CLI version on that machine rather than assuming the version in your desktop app applies there. Use the release notes for the exact client you run. The provider cancellation change names Gemini and Vertex AI; it doesn't establish the same behavior for every other provider.
Test cancellation without changing anything else
Run a benign text-only request in a throwaway workspace, with the same provider and model as the affected session. Ask for a long answer, wait until it starts streaming, then use the client's normal stop control. Check whether the visible stream stops and whether the provider connection closes promptly if you have session diagnostics. Record usage separately. A quiet UI can tell you that the display stopped, but it won't tell you whether usage had already been recorded.
Don't expect a canceled request to cost nothing. The release notes say usage is preserved on cancellation. To reconcile a bill, match the request timing with the provider's usage records and allow for delayed reporting there. If an agent had already started a command or changed a file, verify the workspace before retrying. Stopping a model response doesn't undo work that's already happened.
Compare a resumed session with a fresh one
Start with a harmless function, such as listing the examples in a test project. Reopen the affected conversation and check what tools are available before asking it to continue. In the CLI, the session guide documents kimi --continue for the most recent session in that directory and kimi --session to pick one. Try the same harmless action in a fresh session with the current configuration.
If the tool is absent in both, check that the integration is still enabled and connected. If it works in a fresh session but the resumed one still reports unloaded_tool after updating, keep that old session intact and report the version, which tool changed, and whether the fresh session worked. Use a minimal fixture rather than uploading a client transcript. The patch addresses the session error; it doesn't restore access to a tool you deliberately removed.
I'm Paras. I work with teams building AI tools.
I help turn release notes and support issues into guides developers can use when something breaks.