kilocode icon indicating copy to clipboard operation
kilocode copied to clipboard

ProviderInitError: ProviderInitError

Open I4mCh40s opened this issue 9 months ago • 13 comments

Plugin Type

CLI Tool

App Version

1.0.21

Description

After trying to queue the command (after pc slept and woken up) it shows "ProviderInitError: ProviderInitError " using any mode, and a free model. Tried with GLM5 and Minimax M2.5 :((

Reproduction steps

Open Kilo CLI and queue any command in a preexisting project.

Provider

Kilo Code

Model

GLM-5

System Information

No response

I4mCh40s avatar Feb 16 '26 17:02 I4mCh40s

I can confirm! Came here to write the same thing, it looks like this is happening for all models.

Edit: OP mentions VSCode extension, but I have the same issue in the Kilo CLI.

marrov avatar Feb 16 '26 17:02 marrov

got same problem

jhartum avatar Feb 16 '26 18:02 jhartum

I can confirm! Came here to write the same thing, it looks like this is happening for all models

Phew, its not just me then

I4mCh40s avatar Feb 16 '26 18:02 I4mCh40s

Same

ElYaiko avatar Feb 16 '26 18:02 ElYaiko

Same here using kilo cli.

Aliman00 avatar Feb 16 '26 18:02 Aliman00

same issue. windows 10. only the CLI seems to be affected - the VSCode extension works fine. Attempted fix: deleting the .local\share\kilo folder and reinstalling the CLI via terminal does not fix issue

marcd35 avatar Feb 16 '26 19:02 marcd35

The models API returns "npm": "opencode-kilo-auth" for the kilo provider, but this is an auth plugin with no SDK factory function. The getSDK() function can't find a create* export → undefined → fn3 is not a function.

Fix: The models API should return "npm": "@kilocode/kilo-gateway" for the kilo provider — this matches the BUNDLED_PROVIDERS key in packages/opencode/src/provider/provider.ts (line 71) and contains the createKilo() factory.

For reference, other providers work because their npm fields match bundled keys correctly (@ai-sdk/anthropic, @ai-sdk/openai, etc.).

DoubyCz avatar Feb 16 '26 19:02 DoubyCz

It seems like they fixed it, update your Kilo, guys (1.0.21 -> 1.0.22)

Noktomezo avatar Feb 16 '26 20:02 Noktomezo

It's the anthropic auth bricking us all according to ChatGPT. GPT, based on npm analysis, said there were also rapid fire updates today to kilocode auth. need an update from someone on the inside to help us understand. I can post GPT diagnostics if that helps.

erik777 avatar Feb 16 '26 20:02 erik777

It seems like they fixed it, update your Kilo, guys (1.0.21 -> 1.0.22)

Hi folks, apologies for the interruption this has indeed been fixed. Please update (or restart your CLI if you have auto-update on) and everything should work.

There was a model data change that conflicted with the Kilo Gateway provider which has been fixed: https://github.com/Kilo-Org/kilo/pull/338/changes

lambertjosh avatar Feb 16 '26 21:02 lambertjosh

@lambertjosh , @Noktomezo Thank you for the information. Got to this discussion after scouring the internet for a while.

surya-gorla avatar Feb 17 '26 06:02 surya-gorla

Thanks! All working now!

I4mCh40s avatar Feb 17 '26 08:02 I4mCh40s

To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please reopen it or create a fresh new one.

github-actions[bot] avatar Jun 13 '26 07:06 github-actions[bot]