Repository navigation
provider: add RainDragon - #1853
Open
hemaprathaban wants to merge 2 commits into
Open
hemaprathaban wants to merge 2 commits into
hemaprathaban wants to merge 2 commits into
Conversation
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
force-pushed
the
feat/add-raindragon-provider
branch
from
November 17, 2026 10:53
5ac8b6a to
f772462
Compare
This branch has not been deployed
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.
x-portkey-provider: raindragon, base URLhttps://inference.raindragon.ai/v1, Bearer API key.response_format) through theopen-ai-basehelpers, default modelgoogle/gemma-4-26B-A4B-it(also servesgoogle/gemma-4-31B-it).chat_template_kwargsthrough (same as Lepton) so users can turn Gemma 4 thinking on with{"enable_thinking": true}.globals.ts,providers/index.ts,data/providers.json, andtestVariables.ts(RAINDRAGON_API_KEY).Tests Run/Test cases added: (required)
tsc --noEmit: no new errors (same 3 pre-existing errors as main);prettier --checkpasses.node build/start-server.js) and sent non-streaming, streaming, default-model, tools +response_format, andchat_template_kwargsrequests withx-portkey-provider: raindragonto a local OpenAI-compatible mock (viax-portkey-custom-host); verified path/v1/chat/completions, Bearer auth, request body, andprovider: "raindragon"in responses.Type of Change: