Skip to content

feat(gateway): support Mistral providers - #5264

Merged
benjaminshafii merged 1 commit into
devfrom
feat/gateway-mistral
Sep 23, 2026
Merged

benjaminshafii merged 1 commit into
devfrom
feat/gateway-mistral

Conversation

@OmarMcAdam

Copy link
Copy Markdown
Member

What is this about?

Add Mistral to Gateway provider setup and routing. Supports chat, streaming and embeddings with the native SDK, without injecting OpenAI-only stream options. Other upstream operations remain blocked.

What problem does it solve?

Organizations can route Mistral through Gateway while retaining credential isolation, model grants, usage logging and upstream destination validation.

What was the situation before?

The API and dashboard rejected the Mistral SDK. Gateway lacked its native defaults and operation policy. This PR contains only the nine Mistral files, not the unrelated SCIM or catalog/reporting work.

Release note

You can now use Mistral chat, streaming and embeddings through OpenWork Gateway.

Evidence

  • No E2E; unit-tested. gateway.test.ts exercises the real Mistral SDK against a stub upstream: previously unsupported requests now route correctly, while unauthorized requests remain blocked. No live Mistral calls.
  • Provider config/request tests and usage/transport-security tests pass; source typechecks pass for Gateway, Den API and Den web after a frozen install.
  • Lint is incomplete: pnpm --filter @openwork-ee/den-web lint exits 1 because Next treats lint as a nonexistent directory. Reproduced identically on the clean base checkout. Supplemental strict test-fixture typechecking was not rerun.

@OmarMcAdam
OmarMcAdam requested a review from a team September 23, 2026 17:45
@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 23, 2026 5:47pm UTC
openwork-den Ready Ready Preview Sep 23, 2026 5:47pm UTC
openwork-diagnostics Ready Ready Preview Sep 23, 2026 5:47pm UTC
openwork-landing Ready Ready Preview, v0 Sep 23, 2026 5:47pm UTC

@benjaminshafii
benjaminshafii merged commit 02acf87 into dev Sep 23, 2026
27 checks passed
reachjalil added a commit that referenced this pull request Sep 30, 2026
Brings in centralized Gateway usage management (#5139), per-member Google
Vertex sign-in (#5236) and Mistral providers (#5264). Our migration moves to
0111 on top of dev's 0108-0110 with an unchanged table set; the DB test now
upgrades from the 0110 snapshot. dev's shared session-cache helper replaces
our local copy in the management-boundary test.

This branch was successfully deployed

4 active deployments
Preview – openwork-landing — f72aa84c Deployed Sep 23, 2026 by vercel[bot]
Preview – openwork-app — f72aa84c Deployed Sep 23, 2026 by vercel[bot]
Preview – openwork-den — f72aa84c Deployed Sep 23, 2026 by vercel[bot]
Preview – openwork-diagnostics — f72aa84c Deployed Sep 23, 2026 by vercel[bot]
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.

2 participants