feat: add PleumRouter provider - #381
Conversation
PleumRouter (https://router.pleum.ai) is a Korea-region multi-provider LLM gateway with an OpenAI-compatible API (type: openai-compat). - Endpoint: https://router.pleum.ai/v1 - Auth: PLEUMROUTER_API_KEY - Costs are effective USD per 1M tokens (gateway markup included) Adds the static config and registers it in providers.go (matching the cerebras static-config precedent). gofmt clean, go test ./internal/... passes.
Context from Pleum AI (for reviewers)Hi maintainers — friendly re-intro + merge ask. Who we are: Pleum AI (pleum.ai) — a Korea-based company building PleumRouter (router.pleum.ai), an OpenAI-compatible multi-provider LLM gateway (also Anthropic Messages + OpenAI Responses). One Why this PR: Your users already pick first-party “OpenAI-compatible gateway” options (OpenRouter et al.). Listing PleumRouter lets them select us in one click instead of hand-editing What we are asking: a review pass toward merge when you have bandwidth. Happy to adjust naming, defaults, docs URL, or model list to your conventions. Docs / key signup: https://router.pleum.ai/docs/cookbook/agent-integration |
What
Adds PleumRouter as a provider for Crush.
PleumRouter is a Korea-region multi-provider LLM gateway with an OpenAI-compatible API, so it uses
type: "openai-compat".https://router.pleum.ai/v1PLEUMROUTER_API_KEYChanges
internal/providers/configs/pleumrouter.json— provider config with 10 featured flagship text models (Claude, GPT, Gemini, DeepSeek, Qwen, GLM).internal/providers/providers.go— register the embedded config (matching the static-config precedent, e.g.cerebras).Validation
gofmtcleango test ./internal/...passes (TestValidDefaultModelsgreen with PleumRouter included)