Uh oh!
There was an error while loading. Please reload this page.
feat: add moonshot provider - #5869
Conversation
Uh oh!
There was an error while loading. Please reload this page.
21d839e to
dd55cb2Comparedd55cb2 to
16117bcCompare16117bc to
ef9e6f3Comparedaniel-lxs
commented
Jul 18, 2025
Thank you @CellenLee for taking the time and implementing this, according to https://platform.moonshot.ai/docs/api/chat#public-service-address it seems like moonshot is already OpenAI compatible which means it can be used on Roo Code already. Unless adding a new provider gives user additional benefits we usually don't add new providers that are OpenAI compatible already. I'll close the PR but please feel free to let me know if there's additional benefits to having this provider added. |
@daniel-lxs hi,We’re Moonshot AI, a startup from China building open, powerful, affordable LLMs for real-world use. @CellenLee is our colleague. We’re big fans of RooCode, so we submitted this pull request. We’d like to discuss with you the possibility of having our name, Moonshot, displayed in the same manner as DeepSeek. we sincerely appreciate your time and consideration. |
mrubens
commented
Jul 22, 2025
Hi @sjf126 and @CellenLee, I just saw this - would be happy to discuss more. We're big fans of Moonshot and Kimi as well, amazing work! |
mrubens
commented
Jul 22, 2025
I couldn't figure out how to reopen this so I merged #6046 instead. Thank you for the contribution! |
sjf126
commented
Jul 24, 2025
@mrubens thank you!If there are new features later, we can collaborate to make more user-friendly. |
Related GitHub Issue
Closes: https://github.com/RooCodeInc/Roo-Code/discussions/586
Roo Code Task Context (Optional)
Description
Test Procedure
Pre-Submission Checklist
Screenshots / Videos
Documentation Updates
Additional Notes
Get in Touch
Important
Add Moonshot provider with handler, model definitions, UI integration, and tests.
moonshottoproviderNamesinprovider-settings.ts.moonshotSchematoproviderSettingsSchemaDiscriminatedandproviderSettingsSchemainprovider-settings.ts.moonshotApiKeytoSECRET_STATE_KEYSinglobal-settings.ts.MoonshotHandlerinmoonshot.tsextendingOpenAiHandler.MoonshotHandlertobuildApiHandler()inindex.ts.moonshotModelsandmoonshotDefaultModelIdinmoonshot.ts.moonshotModelstoMODELS_BY_PROVIDERinconstants.ts.Moonshotcomponent inMoonshot.tsxfor settings UI.MoonshotinApiOptions.tsxandproviders/index.ts.MoonshotHandlerinmoonshot.spec.ts.checkExistApiConfig.spec.tsto includemoonshotApiKey.This description was created by
for 21d839e1e8711a30eb1be3c26b99705b2a0ed69b. You can customize this summary. It will automatically update as commits are pushed.