Repository navigation
Conversation
|
@heydryft is attempting to deploy a commit to the E2B Team on Vercel. A member of the Team first needs to authorize it. |
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.
Adds Runcrate (https://runcrate.ai) as an LLM provider. Runcrate serves open-weight models behind an OpenAI-compatible Chat Completions API, so it follows the existing Together AI / DeepSeek pattern:
lib/models.ts:runcrateclient withcreateOpenAIand base URLhttps://api.runcrate.ai/v1, key from the request orRUNCRATE_API_KEY;runcrateadded to the providers that use the caller's keylib/models.json: four models (DeepSeek V4 Flash, GLM-5.3, Kimi K2.6, Qwen3 Coder 480B)lib/models.test.ts:runcrateadded to the host and env key tables, so the existing routing and key tests cover itpublic/thirdparty/logos/runcrate.svgfor the model picker,.env.templateand READMETesting
npm test: 77 tests, 77 pass (includessends runcrate requests to api.runcrate.ai, ignoring a client base URLand the client key tests)npx tsc --noEmit -p .: exit 0npm run lint: exit 0 (only the two existing warnings)resolveModel('deepseek-ai/DeepSeek-V4-Flash'),getModelClient,generateTextwithRUNCRATE_API_KEYset) returned"OK"withfinishReason: stop.This PR was prepared with AI assistance (Claude Code). I work on Runcrate.