Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.
This repository was archived by the owner on May 15, 2026. It is now read-only.

[BUG] Sambanova endpoint returning API Error 400 and API Error to OpenAI Compatible API #9975

@richtong

Description

@richtong

Problem (one or two sentences)

OK this is a strange one, Sambanova used to work a few months ago, but getting back to it, both the SambaNova API Provider returns an API Error 400. (I know the API key is valid and I've tested the OpenAI Compatible API point with both curl and Open-WebUI and they work properly).

The SambaNova provider is returning the correct /models but a chat call does not work.

More confusingly, if I directly use the OpenAI Compatible API point with https://api.sambanova.ai/v1 and a working API key, I also get the correct /models output in the Model section, but when I try to use it I get an "API Error"

Context (who is affected and when)

If you are trying to use SambaNova fast inferencing with Roo Code it fails with both the dedicated provider and the OpenAI Compatible API Endpoint

Reproduction steps

  1. Mac OS Tahoe 26.1
  2. VS Code, Roo Code 3.36.2
  3. Create a Provider
  4. Select SambaNova
  5. Enter a working API key
  6. Press save and run "hello"

Expected result

Should show a result

Actual result

With the SambaNova provider I get a 400 error and with the OpenAI Compatible Provider I get invalid API

Variations tried (optional)

I tried this with Open-WebUI with the same api endpoint and token. Also tried this with a curl command. Both worked

App Version

3.36.2

API Provider (optional)

SambaNova

Model Used (optional)

gpt-oss-120b and DeepSeek-R1

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

is there a way to get a log to see what is exactly being sent. I could find it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions