feat(providers): add Concentrate provider - #90
Draft
AjayK47 wants to merge 2 commits into
Draft
Conversation
Adds Concentrate (https://concentrate.ai, an OpenAI-compatible gateway to 150+ models across 20+ providers) as a native chat provider, alongside OpenRouter / Anannas / Chutes etc. - Registers Concentrate in the provider config with its base URL; it uses the existing generic OpenAI adapter (openai::OpenAIAdapter) since Concentrate's API is a standard OpenAI-compatible /v1/chat/completions + /v1/models surface, same pattern as the built-in lettuce-host gateway - Adds Concentrate to PROVIDER_PARAMETER_SUPPORT (temperature, top_p, frequency_penalty, effort-based reasoning) - presencePenalty is intentionally left false since Concentrate's own docs mark that field accepted-but-unsupported - Provider icon, sourced from Concentrate's own logo submission to models.dev (AjayK47/models.dev PR #5049) Verified with tsc --noEmit and cargo check (both clean).
AjayK47
marked this pull request as draft
August 20, 2026 12:40
Same fix as the SillyTavern integration: the logo committed earlier used fill="currentColor" on a transparent background so it would theme automatically, but the real Concentrate mark has a solid black background as part of the logo itself. Confirmed against a reference image provided by Concentrate: same 64-dot (8x8) gradient pattern and radii, just with the black square baked in and dots always white.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Concentrate (https://concentrate.ai, an OpenAI-compatible gateway to 150+ models across 20+ providers) as a native chat provider, alongside OpenRouter / Anannas / Chutes etc.
Verified with tsc --noEmit and cargo check (both clean), and tested locally end-to-end — connected, model list loaded, and chat responses came back correctly.