curious if there is support for subscription oauth...
# questions
r
curious if there is support for subscription oauthd Kimi
s
i'm pretty sure that you can config DIY using Kimi ACP kimi.com/code/…/kimi-acp.html docs.openhands.dev/openhands/usage/agent-canvas/acp-agents#… i'll try. if it works out, i mayput up a PR to add Kimi to the preconfigs
l
Hey @rhythmic-magician-26829, George is right that you can probably use it through ACP, but also it’d be nice to be able to use subscriptions through the regular openhands agent too. The two steps to doing this would be to: 1. confirm that this doesn’t violate the kimi tos 2. assuming it doesn’t, create an implementation similar to the chatgpt implementation I’d welcome a PR if you’re interested in contributing that!
❤️ 1
s
i thought this looked like the correct way to implement (to be compliant with Moonshot ToS) github.com/OpenHands/agent-canvas/pull/1844 (canvas: provider label + default base_url) github.com/OpenHands/software-agent-sdk/pull/4150 (SDK: kimi-for-coding) lmk if changes needed
👀 1
l
Very cool! Were you able to confirm that this actually works with a kimi code membership (using coding plan credits instead of API spend?)
s
yes, absolutely. sorry i should have said that
tested e2e personally
l
very cool, it looks like CI is failing, maybe because you need to add a note explaining the human testing to the agent canvas PR: github.com/OpenHands/agent-canvas/pull/1844 (you clicked the checkbox, but we need a sentence above it) Once that’s ready I’ll approve!
s
added a sentence. not the first time i've learned that lesson. hopefully, it was the last tho lol
🙌 1