Qwen CLI not working in RAG Debugging lab

Hi KodeKloud team,

Hope you’re doing well! I wanted to flag a small issue I ran into while working on the free RAG Debugging lab.

The qwen CLI tool doesn’t seem to be working — it throws this error whenever I try to use it:

API Error: Model stream ended without a finish reason.

After some digging, it looks like the model it’s configured to use (x-ai/grok-code-fast-1) has been deprecated by xAI, so requests aren’t going through anymore. The proxy at kodekey.ai.kodekloud.com confirmed this by returning a deprecation notice from OpenRouter.

I was still able to complete the lab manually, so no worries there!

But it would be great if the tool could be updated to use a supported model so future students can benefit from it too.
Thanks so much for all the free content you provide — really appreciate it! :blush:

Best regards

Your intuition as to the cause, from what our engineer tells me, is probably correct – the model is deprecated. They’re aware of this issue, and are working on resolving it. Happy you were able to work around it.