Skip to content

Add Standard Compute hosted preset (chat) - #566

Open
henrikdukefoss wants to merge 2 commits into
twinnydotdev:mainfrom
henrikdukefoss:add-standard-compute-preset
Open

henrikdukefoss wants to merge 2 commits into
twinnydotdev:mainfrom
henrikdukefoss:add-standard-compute-preset

Conversation

@henrikdukefoss

Copy link
Copy Markdown

Summary

Adds Standard Compute as a hosted chat preset in the provider picker, following the shape of #545 (DemonRoute).

Default model: StandardCompute, which routes each request to the cheapest enabled model that can handle it, with automatic fallback. Users can instead enter any pinned model id listed by the public GET https://api.stdcmpt.com/v1/models (for example deepseek/deepseek-v4-flash or z-ai/glm-5.3).

Changes

  • src/common/constants/providers.ts: registers standardcompute in OPEN_AI_COMPATIBLE_PROVIDERS and its display name.
  • src/common/provider-validation.ts: chat endpoint defaults api.stdcmpt.com, https, /v1 (chat only; there is no autocomplete/FIM-specific model, so no FIM or embeddings entry).
  • src/webview/providers/presets.tsx: hosted chat preset using the existing codicon("plug") glyph, placed after DemonRoute in the hosted group.
  • src/webview/assets/locales/: preset-standardcompute blurb in all 14 locale files.

No version bump or CHANGELOG entry, leaving that to the release.

Testing

Tests, type checks and the build were not run locally. The change mirrors the existing DemonRoute entries line for line, and the locale files were checked to still parse as JSON.

Website: https://standardcompute.com

Disclosure: I work on Standard Compute.

🤖 Generated with Claude Code

henrikdukefoss and others added 2 commits November 9, 2026 11:23
Registers standardcompute as an OpenAI-compatible hosted chat preset with
api.stdcmpt.com over https at /v1, default model StandardCompute. Chat only,
no autocomplete or embeddings. Blurb added to every locale.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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