Skip to content

provider: add SaladCloud provider#1649

Open
mgorkii-nlplogix wants to merge 1 commit into
Portkey-AI:mainfrom
mgorkii-nlplogix:provider-saladcloud
Open

provider: add SaladCloud provider#1649
mgorkii-nlplogix wants to merge 1 commit into
Portkey-AI:mainfrom
mgorkii-nlplogix:provider-saladcloud

Conversation

@mgorkii-nlplogix
Copy link
Copy Markdown

Description:

  • Added SaladCloud as an OpenAI-compatible provider for chat completions.
  • Registered saladcloud as a valid provider and added provider metadata.
  • Added SaladCloud API routing for https://ai.salad.cloud/v1/chat/completions.
  • Added SaladCloud test variables using SALADCLOUD_API_KEY or SALAD_CLOUD_API_KEY.
  • Added a focused provider API config test.

Tests Run/Test cases added: (required)

  • Added src/providers/saladcloud/index.test.ts to verify SaladCloud base URL, chat completions endpoint, and authorization header.
  • Ran npx jest --runTestsByPath src/providers/saladcloud/index.test.ts.
  • Ran npm run format:check.
  • Ran npm run build.
  • Verified live non-streaming SaladCloud chat completion request returns 200.
  • Verified live streaming SaladCloud chat completion request returns SSE chunks and [DONE].

Type of Change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)

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.

1 participant