Skip to content

feat(providers): add Concentrate provider - #90

Draft
AjayK47 wants to merge 2 commits into
LettuceAI:mainfrom
AjayK47:feat/concentrate-provider
Draft

feat(providers): add Concentrate provider#90
AjayK47 wants to merge 2 commits into
LettuceAI:mainfrom
AjayK47:feat/concentrate-provider

Conversation

@AjayK47

@AjayK47 AjayK47 commented Aug 20, 2026

Copy link
Copy Markdown

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

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.

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
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.
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.

1 participant