Skip to content

Provider cerebras#333

Merged
yinwm merged 2 commits intosipeed:mainfrom
mattn:provider-cerebras
Feb 20, 2026
Merged

Provider cerebras#333
yinwm merged 2 commits intosipeed:mainfrom
mattn:provider-cerebras

Conversation

@mattn
Copy link
Contributor

@mattn mattn commented Feb 16, 2026

Also added misssing provider section in README.ja.md

Copy link
Contributor

@lukemilby lukemilby left a comment

Choose a reason for hiding this comment

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

Looks good to me. Nothing extra and clean

Copy link

@nikolasdehor nikolasdehor left a comment

Choose a reason for hiding this comment

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

Good work adding Cerebras support — the documentation across all three README locales is thorough, and the JA README bonus provider table is a nice touch.

However, this PR targets pkg/providers/http_provider.go which has since been refactored upstream. The CreateProvider() function and model prefix stripping now live in pkg/providers/factory.go. This PR needs a rebase against current main.

Specifically, you'll need to:

  1. Add case "cerebras": in the explicit provider switch (~line 77 in factory.go)
  2. Add the boolean case for model-name detection in the fallback switch (~line 216)
  3. Add prefix stripping for "cerebras/" in the model normalization code

The config struct and documentation changes should merge cleanly. Once rebased, this is ready to approve.

@yinwm yinwm merged commit 6992012 into sipeed:main Feb 20, 2026
3 checks passed
hyperwd pushed a commit to hyperwd/picoclaw that referenced this pull request Mar 5, 2026
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.

4 participants