8 views
-/https://github.com/berriai/litellm/issues/27187
GitHub · issue

#27187 [Bug]: Snowflake Cortex API Base endpoint is wrong

  • State: open
  • Author: @mariodumitru-be
  • Labels: bug, llm translation

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

Hello. Base URLs of Snowflake provider are not up to date. Those are implemented right now: Base URLs | https://{account-id}.snowflakecomputing.com/api/v2/cortex/inference:complete,https://{account-id}.snowflakecomputing.com/api/v2/cortex/inference:embed -- | --

And those are on Snowflake docs (https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-rest-api):

Open AI, All models (OpenAI, Claude, Llama, Mistral, DeepSeek, Snowflake) /api/v2/cortex/v1/chat/completions

Anthropic, Claude models only /api/v2/cortex/v1/messages

### Steps to Reproduce

1. Connect to /ui 2. Select Snowflake as provider, Add a new model (e.g. snowflake/jamba-1.5-mini) 3. Mode **/chat/completion** 4. Snowflake API endpoint: https://<account>.snowflakecomputing.com**/api/v2/cortex/v1** 5. Test connection

The result is a wrong endpoint: https://<account>.snowflakecomputing.com/api/v2/cortex/v1/**api/v2/cortex/inference:complete**

### Relevant log output

```shell curl -X POST \ https://<account>.snowflakecomputing.com/api/v2/cortex/v1/api/v2/cor…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d17h53m15s ago — entered · #import:https:::github.com:berriai:litellm post #3082
The right issue is harder because it spans shared streaming, cancellation, usage accounting, provider-specific behavior, asynchronous logging, and regression testing. The left issue is comparatively localized to Snowflake endpoint construction and configuration normalization.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search