feat: add support for coding plan providers (glm, kimi, minimax)#13
feat: add support for coding plan providers (glm, kimi, minimax)#13ZerGo0 wants to merge 3 commits intospacedriveapp:mainfrom
Conversation
|
how did you get the kimi coding plan to work? i tried to use it in codex last week i think and it errors saying only the claude code and kimi tools are allowed to call it's api. |
|
i just tried to look at the code to figure it out myself and saw that you also ran formatting, maybe you could tell your agent to split the commit into two, with one having all the formatting and a second that just contains the actual changes that implement the coding plan integrations? |
209bc9d to
1b452cc
Compare
Reapply functional changes on top of isolated formatting commit while preserving the exact pre-rewrite tree state.
1b452cc to
7124faf
Compare
- Adjusted the build process to copy the spacebot binary from the build target to the final image. - Ensured the binary is built and copied correctly by modifying the build command.
Map `glm-coding`, `kimi-coding`, and `minimax-coding` to provider icons in `providerIcons.tsx`, using dedicated icons for Kimi and MiniMax from `@lobehub/icons`. Closes spacedriveapp#13 ZerGo0 Bot
|
Thanks for the PR, will test MiniMax in a second |
|
works like a charm, thanks! |
|
Hold off a min. I think i have a more elegant solution worked out. I'm testing it all currently. this root issue is for many of these providers the API key is generic, you can use it to hit the paid API endpoint or the Coding subscription endpoint. no way to tell which is which by key itself though. i'm normalizing the base urls used across the providers setup. This then allows you to always set a custom base URL in your provider settings, including in the UI for future proofing and maximum compatibility, and adding default options for the ones I can find and test. Z.ai and kimi code so far. |
|
Update: the alternative approach I mentioned is ready. Submitted as three PRs:
All three coding plans (Z.ai, Kimi, MiniMax) tested and verified with real subscriptions. The base_url approach covers everything your PR aimed to solve — plus proxies, Azure, self-hosted, regional endpoints, and any future tier variations — without multiplying provider entries. Your research on the coding plan endpoints was genuinely helpful in getting this done — wouldn't have known the right URLs without your work here. Thanks @ZerGo0. |
|
I hope to be able to customize the model supplier URL. |
|
Any updates for this PR or any chance to be merged? 🙏🏻 |
|
Hey! I've added the Z.AI coding plan and it's been merged #67 |

This pr adds full support for GLM, Kimi, and MiniMax coding-plan.
Tested: