diff --git a/packages/vertex-sdk/README.md b/packages/vertex-sdk/README.md index ca0c1d39..6e63a8c5 100644 --- a/packages/vertex-sdk/README.md +++ b/packages/vertex-sdk/README.md @@ -1,11 +1,8 @@ # Anthropic Vertex TypeScript API Library -> [!IMPORTANT] -> This API is in private preview. - [](https://npmjs.org/package/@anthropic-ai/vertex-sdk) -This library provides convenient access to the private preview of the Anthropic Vertex API. +This library provides convenient access to the Anthropic Vertex API. For the non-Vertex Anthropic API at api.anthropic.com, see [`@anthropic-ai/sdk`](https://github.com/anthropics/anthropic-sdk-typescript). diff --git a/packages/vertex-sdk/src/client.ts b/packages/vertex-sdk/src/client.ts index eb60436b..6328d2b3 100644 --- a/packages/vertex-sdk/src/client.ts +++ b/packages/vertex-sdk/src/client.ts @@ -5,7 +5,6 @@ import { type RequestInit } from '@anthropic-ai/sdk/_shims/index'; import { GoogleAuth } from 'google-auth-library'; const DEFAULT_VERSION = 'vertex-2023-10-16'; -const DEFAULT_BETA_TYPES = ['private-messages-testing']; export type ClientOptions = Omit<API.ClientOptions, 'apiKey' | 'authToken'> & { region?: string | null | undefined; @@ -117,9 +116,6 @@ export class AnthropicVertex extends Core.APIClient { if (!options.body['anthropic_version']) { options.body['anthropic_version'] = DEFAULT_VERSION; } - if (!options.body['anthropic_beta']) { - options.body['anthropic_beta'] = DEFAULT_BETA_TYPES; - } } if (options.path === '/v1/messages' && options.method === 'post') {