Skip to content

Commit

Permalink
fix(vertex): remove anthropic_version deletion for token counting
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertCraigie authored and stainless-app[bot] committed Dec 17, 2024
1 parent ed64904 commit beefeb7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/vertex-sdk/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,6 @@ export class AnthropicVertex extends Core.APIClient {
);
}

if (Core.isObj(options.body)) {
options.body['anthropic_version'] = undefined;
}

options.path = `/projects/${this.projectId}/locations/${this.region}/publishers/anthropic/models/count-tokens:rawPredict`;
}

Expand Down

0 comments on commit beefeb7

Please sign in to comment.