feat(config): declare unsloth as the universal model gateway in config.env template - #1692
Merged
Merged
Conversation
…g.env template Lean into the simplification: continuum reaches ALL models through unsloth (local llama.cpp + cloud providers, via the provider keys configured inside unsloth Studio). So continuum needs ONE credential, not a per-provider list. config.env.example now leads with a MODEL GATEWAY — UNSLOTH section: - UNSLOTH_API_KEY (the single credential continuum needs) - UNSLOTH_BASE_URL (default http://127.0.0.1:8888/v1) …and demotes the per-provider ANTHROPIC_API_KEY/OPENAI_API_KEY/etc. block to "legacy / optional — prefer the unsloth gateway". New-user setup is "open unsloth Studio, configure keys there, paste the one key here". Both readers already auto-load *_API_KEY (Rust secrets.rs + the cached config_env.rs owner). Mechanism slices tracked separately: install autowire that opens Studio + captures the key via config_env::upsert (#33), the UnslothInferenceAdapter gateway (#31), and the config.env single-owner consolidation that deprecates the TS SecretManager write path (#34). See memory unsloth-universal-model-gateway. Co-Authored-By: Claude Opus 4.8 <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.
Lean into the simplification
Per direction — let unsloth control all models. It serves local models (llama.cpp) and fans out to cloud providers using the keys configured inside unsloth Studio. So continuum needs one credential, not a per-provider list. New-user setup becomes "just open unsloth Studio, configure keys there, paste the one key."
What
src/config.env.examplenow leads with a MODEL GATEWAY — UNSLOTH section:UNSLOTH_API_KEY— the single credential continuum needsUNSLOTH_BASE_URL— defaulthttp://127.0.0.1:8888/v1…and demotes the per-provider
ANTHROPIC_API_KEY/OPENAI_API_KEY/… block to legacy / optional — prefer the unsloth gateway. Both readers already auto-load*_API_KEY(Rustsecrets.rs+ theconfig_env.rsowner), so no code change is needed for the keys to load.Mechanism slices (tracked separately)
UnslothInferenceAdapteras the universal gateway adapter (now unblocked; key is wired locally)UNSLOTH_API_KEYviaconfig_env::upsertconfig_env.rssole writer; deprecate the TSSecretManager.setpathSee memory
unsloth-universal-model-gateway.🤖 Generated with Claude Code