Skip to content

Commit beefeb7

Browse files
RobertCraigiestainless-app[bot]
authored andcommitted
fix(vertex): remove anthropic_version deletion for token counting
1 parent ed64904 commit beefeb7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/vertex-sdk/src/client.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,6 @@ export class AnthropicVertex extends Core.APIClient {
157157
);
158158
}
159159

160-
if (Core.isObj(options.body)) {
161-
options.body['anthropic_version'] = undefined;
162-
}
163-
164160
options.path = `/projects/${this.projectId}/locations/${this.region}/publishers/anthropic/models/count-tokens:rawPredict`;
165161
}
166162

0 commit comments

Comments
 (0)