GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(providers): add Runcrate provider by heydryft · Pull Request #9808 · simstudioai/sim

Conversation

@heydryft

@heydryft heydryft commented Nov 9, 2026

Copy link
Copy Markdown

Thanks for building Sim: the shared openai-compat helper and the add-model skill made this a small, clean addition.

Summary

Adds Runcrate as a BYOK model provider for the Agent block. Runcrate is an AI cloud with an OpenAI-compatible inference API at https://api.runcrate.ai/v1, so the new provider goes through the shared openai-compat chat-completions helper, the same way Nebius does.

  • Catalog models are namespaced runcrate/<org>/<model>: DeepSeek V3.2, Gemma 3 27B, Llama 3.3 70B, MiniMax M3, Qwen3 235B, Qwen3 Coder 480B and GLM 5.3. Ids, context windows and per-million-token pricing were taken from GET https://api.runcrate.ai/v1/models.
  • Strict JSON schema response format is sent natively (checked against the live API on three of the models).
  • Forced tool choice is only sent to models that honor it (DeepSeek V3.2, Gemma 3 27B, GLM 5.3). The API answers 400 for a named tool_choice on the others, so those fall back to auto, the same pattern Nebius uses.
  • BYOK wiring: key lookup, settings row, API contract, usage-page icon and a new RuncrateIcon.
  • Attachments are disabled for this provider.
  • Docs: agent.mdx and costs.mdx.

Product update (if relevant)

Workspaces can add their own Runcrate API key and use Runcrate-hosted open models in Agent blocks. On self-hosted Sim, the key goes in the Agent block's API Key field.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Other: ___________

Testing

Run from apps/sim unless noted, after bun install --ignore-scripts (the isolated-vm native build failed on my machine, which does not affect these checks):

  • bunx vitest run providers/runcrate providers/utils providers/models providers/attachments providers/history-adapters lib/api-key: 14 files, 359 tests passed (the 9 new providers/runcrate/index.test.ts tests: wire contract and auth header, case-insensitive model resolution, strict JSON schema, forced-tool downgrade for four models, SSE reasoning and usage with catalog pricing, missing key). The new Runcrate cases in lib/api-key/byok.test.ts pass with the rest of that file.
  • bun run type-check (in apps/sim): clean.
  • bunx biome check on the touched files: no findings.
  • From the repo root: bun run check:byok-providers, check:icon-paths, check:bare-icons, check:file-names and check:source-conventions pass.
  • Live API: I sent a handful of small chat requests with a Runcrate key to confirm the tool-choice and JSON schema behavior above. I did not add a live acceptance test or run the app by hand.

Reviewers may want to look at the per-model forcedToolUse flags and the icon, which I drew as a simple SVG of the brand mark.

Disclosure: I work on Runcrate.

This PR was prepared with AI assistance (omp with Claude): the code, tests, docs and this description were written with it, and the commands above were run as part of preparing it.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Screenshots/Videos

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

greptile-apps[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@heydryft
feat(providers): add Runcrate provider
7545c9b
@vercel

vercel Bot commented Nov 9, 2026

Copy link
Copy Markdown

@heydryft is attempting to deploy a commit to the Sim Team on Vercel.

A member of the Team first needs to authorize it.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@greptile-apps

greptile-apps Bot commented Nov 9, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] The new request path is limited to workflows that choose Runcrate models.

No behavioral blocker was found, but the new exports must satisfy the repository's TSDoc requirement before merging.

Findings

  1. P2 New exports lack required docs ▶

Summary

Adds Runcrate as a bring-your-own-key provider for Agent blocks.

  • Agent blocks can send requests to seven Runcrate models.
  • Workspace admins can save Runcrate keys for Agent calls.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Agent selects Runcrate model] --> B[Resolve saved or block key]
  B --> C[Runcrate adapter]
  C --> D[Restore catalog model spelling]
  D --> E[Downgrade unsupported forced tool choice]
  E --> F[Shared Chat Completions helper]
  F --> G[Runcrate API]
Loading

Reviews (1) · Last reviewed commit: "feat(providers): add Runcrate provider" · Reviewed by Greptile

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

greptile-apps[bot]
greptile-apps Bot reviewed Nov 9, 2026
View reviewed changes
Comment thread apps/sim/providers/runcrate/index.ts
return messages
}

export const runcrateProvider: ProviderConfig = {

@greptile-apps greptile-apps Bot Nov 9, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 New exports lack required docs

The new runcrateProvider and RuncrateIcon exports have no TSDoc, which CLAUDE.md requires for exported APIs. Add short comments describing their purpose, including the provider's key requirement and tool-choice fallback, so callers do not have to read the implementation. This repository requirement must be satisfied before merging.

Context Used: CLAUDE.md (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@heydryft
docs(providers): add TSDoc to Runcrate provider and icon
b1c8579
@heydryft

heydryft commented Nov 9, 2026

Copy link
Copy Markdown
Author

Added TSDoc to runcrateProvider and RuncrateIcon, covering the API key requirement and the tool choice fallback.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

Reviewers

@greptile-apps greptile-apps[bot] greptile-apps[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@heydryft
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.