Skip to content

Commit

Permalink
fix(bedrock): correct messages beta handling
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertCraigie authored and stainless-app[bot] committed Oct 23, 2024
1 parent 416c3a8 commit f34d67a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bedrock-sdk/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getAuthHeaders } from './auth';
import { Stream } from './streaming';

const DEFAULT_VERSION = 'bedrock-2023-05-31';
const MODEL_ENDPOINTS = new Set<string>(['/v1/complete', '/v1/messages']);
const MODEL_ENDPOINTS = new Set<string>(['/v1/complete', '/v1/messages', '/v1/messages?beta=true']);

export type ClientOptions = Omit<API.ClientOptions, 'apiKey' | 'authToken'> & {
awsSecretKey?: string | null | undefined;
Expand Down

0 comments on commit f34d67a

Please sign in to comment.