Implement Baseten chat completions adapter#97
Conversation
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
4 similar comments
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
Summary
BASETEN_API_KEYand use Baseten's requiredAuthorization: Api-Key ...schemebaseUrloverride support, standard generation options,opts.extrapassthrough, usage mapping, dry-run behavior, and concise HTTP error handlingDocs used:
Validation
corepack pnpm exec vitest run packages/ai/baseten/src/index.test.tscorepack pnpm exec tsc -p packages/ai/baseten/tsconfig.json --noEmitgit diff --check