Skip to content

feat(providers): add Sarvam preset to the provider wizard - #205

Merged
plombeer31 merged 1 commit into
AtomicBot-ai:mainfrom
yablokolabs:feat/sarvam-preset-only
Aug 21, 2026
Merged

feat(providers): add Sarvam preset to the provider wizard#205
plombeer31 merged 1 commit into
AtomicBot-ai:mainfrom
yablokolabs:feat/sarvam-preset-only

Conversation

@yablokolabs

Copy link
Copy Markdown
Contributor

Follow-up to the closed #129, per the maintainer's guidance: this is a preset-only addition — no new provider kind.

Change: one PROVIDER_PRESETS entry between SambaNova and Together AI, resolving to the existing openai-compatible kind like every other preset.

/v1/models confirmation (probed live 2026-08-20, per the file's admission bar):

  • GET https://api.sarvam.ai/v1/models200 with a data array, keyless: sarvam-105b, sarvam-105b-conversations
  • GET https://api.sarvam.ai/v1/definitely-not-a-route404 (the host actually routes /v1/models)

Because the list answers keyless (same as SambaNova / Ollama Cloud / Novita / Nous), the entry sets listsModelsWithoutKey: true, so the wizard skips the key screen. The SARVAM_API_KEY env var is still wired for chat requests that need it.

Verified: tsc --noEmit clean, preset tests (sort order, keyless marking) pass.

- Adds a Sarvam entry to PROVIDER_PRESETS between SambaNova and
  Together AI, resolving to the existing openai-compatible kind
- Verified live: https://api.sarvam.ai/v1/models answers 200 with a
  data array keyless (sarvam-105b, sarvam-105b-conversations), and a
  bogus sibling path answers 404 — the preset admission bar
@plombeer31
plombeer31 merged commit e8b2fb1 into AtomicBot-ai:main Aug 21, 2026
@yablokolabs
yablokolabs deleted the feat/sarvam-preset-only branch August 21, 2026 07:21
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.

2 participants