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
- Mac OS Tahoe 26.1
- VS Code, Roo Code 3.36.2
- Create a Provider
- Select SambaNova
- Enter a working API key
- 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.
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
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)