Skip to content

Add Alibaba coding-plan provider#201

Closed
rpx99 wants to merge 2 commits intocharmbracelet:mainfrom
rpx99:feat/alibaba-provider-200
Closed

Add Alibaba coding-plan provider#201
rpx99 wants to merge 2 commits intocharmbracelet:mainfrom
rpx99:feat/alibaba-provider-200

Conversation

@rpx99
Copy link
Copy Markdown

@rpx99 rpx99 commented Mar 3, 2026

Adds a new Alibaba provider config and registers it in the provider registry:

  • add internal/providers/configs/alibaba.json
  • register provider embed+factory in internal/providers/providers.go
  • add InferenceProviderAlibaba to known providers

@rpx99 rpx99 requested a review from a team as a code owner March 3, 2026 11:07
@rpx99 rpx99 requested review from meowgorithm and raphamorim and removed request for a team March 3, 2026 11:07
andreynering added a commit to charmbracelet/crush that referenced this pull request Mar 4, 2026
Copy link
Copy Markdown
Member

@andreynering andreynering left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @rpx99, thanks for contributing!

I had to do a small change on Crush to be able to enter the API key and proceed:

You can use that branch to test as well.

I also made a few comments below.

Comment thread internal/providers/configs/alibaba-coding.json
Comment thread internal/providers/configs/alibaba.json Outdated
Comment thread pkg/catwalk/provider.go Outdated
InferenceProviderMiniMax InferenceProvider = "minimax"
InferenceProviderMiniMaxChina InferenceProvider = "minimax-china"
InferenceProviderIoNet InferenceProvider = "ionet"
InferenceProviderAlibaba InferenceProvider = "alibaba"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also applies to the code. Let's do some renaming:

  • InferenceProviderAlibaba -> InferenceProviderAlibabaCoding
  • alibabaConfig -> alibabaCodingConfig
  • alibabaProvider -> alibabaCodingProvider
  • alibaba.json -> alibaba-coding.json

Comment thread internal/providers/configs/alibaba.json Outdated
rpx99 added 2 commits March 5, 2026 14:44
Adds a new Alibaba provider config and registers it in the provider registry.\n\n- add internal/providers/configs/alibaba.json\n- register provider embed+factory in internal/providers/providers.go\n- add InferenceProviderAlibaba to known providers\n\nRefs charmbracelet#200
Align naming with coding-plan-specific endpoint and simplify model names.
@rpx99 rpx99 force-pushed the feat/alibaba-provider-200 branch from 3175428 to f721174 Compare March 5, 2026 13:45
@rpx99
Copy link
Copy Markdown
Author

rpx99 commented Mar 5, 2026 via email

@andreynering
Copy link
Copy Markdown
Member

Closing in favor of #203

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Alibaba

4 participants