Repository navigation
Add Standard Compute hosted preset (chat) - #566
Open
henrikdukefoss wants to merge 2 commits into
Open
henrikdukefoss wants to merge 2 commits into
henrikdukefoss wants to merge 2 commits into
Conversation
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>
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.
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 publicGET https://api.stdcmpt.com/v1/models(for exampledeepseek/deepseek-v4-flashorz-ai/glm-5.3).Changes
src/common/constants/providers.ts: registersstandardcomputeinOPEN_AI_COMPATIBLE_PROVIDERSand its display name.src/common/provider-validation.ts: chat endpoint defaultsapi.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 existingcodicon("plug")glyph, placed after DemonRoute in the hosted group.src/webview/assets/locales/:preset-standardcomputeblurb 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