We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2817351 commit fcf8845Copy full SHA for fcf8845
src/providers/anthropic/messages.ts
@@ -6,7 +6,15 @@ import { AnthropicErrorResponseTransform } from './utils';
6
import { generateInvalidProviderResponseError } from '../utils';
7
import { ANTHROPIC } from '../../globals';
8
9
-export const AnthropicMessagesConfig = getMessagesConfig({});
+export const AnthropicMessagesConfig = getMessagesConfig({
10
+ extra: {
11
+ anthropic_version: {
12
+ param: 'anthropic_version',
13
+ required: true,
14
+ default: 'vertex-2023-10-16',
15
+ },
16
17
+});
18
19
export const AnthropicMessagesResponseTransform = (
20
response: MessagesResponse | AnthropicErrorResponse,
0 commit comments