Skip to content

provider: add RainDragon - #1853

Open
hemaprathaban wants to merge 2 commits into
Portkey-AI:mainfrom
hemaprathaban:feat/add-raindragon-provider
Open

hemaprathaban wants to merge 2 commits into
Portkey-AI:mainfrom
hemaprathaban:feat/add-raindragon-provider

Conversation

@hemaprathaban

Copy link
Copy Markdown
  • Adds RainDragon (https://raindragon.ai) as a provider: x-portkey-provider: raindragon, base URL https://inference.raindragon.ai/v1, Bearer API key.
  • Chat completions (streaming, tools, response_format) through the open-ai-base helpers, default model google/gemma-4-26B-A4B-it (also serves google/gemma-4-31B-it).
  • Passes chat_template_kwargs through (same as Lepton) so users can turn Gemma 4 thinking on with {"enable_thinking": true}.
  • Registered in globals.ts, providers/index.ts, data/providers.json, and testVariables.ts (RAINDRAGON_API_KEY).

Tests Run/Test cases added: (required)

  • tsc --noEmit: no new errors (same 3 pre-existing errors as main); prettier --check passes.
  • Ran the built gateway (node build/start-server.js) and sent non-streaming, streaming, default-model, tools + response_format, and chat_template_kwargs requests with x-portkey-provider: raindragon to a local OpenAI-compatible mock (via x-portkey-custom-host); verified path /v1/chat/completions, Bearer auth, request body, and provider: "raindragon" in responses.

Type of Change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)

@hemaprathaban hemaprathaban changed the title feat: add RainDragon provider provider: add RainDragon Oct 18, 2026
RainDragon (https://raindragon.ai) serves Gemma 4 26B through an
OpenAI-compatible API at https://inference.raindragon.ai/v1.

Adds the raindragon provider (chat completions, streaming, tools,
response_format) using the open-ai-base helpers, with
chat_template_kwargs passed through for the Gemma 4 thinking toggle.
@hemaprathaban
hemaprathaban force-pushed the feat/add-raindragon-provider branch from 5ac8b6a to f772462 Compare November 17, 2026 10:53

This branch has not been deployed

No deployments
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