Skip to content

feat(config): declare unsloth as the universal model gateway in config.env template - #1692

Merged
joelteply merged 1 commit into
canaryfrom
feat/config-unsloth-gateway
Jun 20, 2026
Merged

feat(config): declare unsloth as the universal model gateway in config.env template#1692
joelteply merged 1 commit into
canaryfrom
feat/config-unsloth-gateway

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

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.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/… block to legacy / optional — prefer the unsloth gateway. Both readers already auto-load *_API_KEY (Rust secrets.rs + the config_env.rs owner), so no code change is needed for the keys to load.

Mechanism slices (tracked separately)

See memory unsloth-universal-model-gateway.

🤖 Generated with Claude Code

…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>
@joelteply
joelteply merged commit d11835d into canary Jun 20, 2026
3 checks passed
@joelteply
joelteply deleted the feat/config-unsloth-gateway branch June 20, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant