File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,7 @@ import { AnthropicErrorResponseTransform } from './utils';
6
6
import { generateInvalidProviderResponseError } from '../utils' ;
7
7
import { ANTHROPIC } from '../../globals' ;
8
8
9
- 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
- } ) ;
9
+ export const AnthropicMessagesConfig = getMessagesConfig ( { } ) ;
18
10
19
11
export const AnthropicMessagesResponseTransform = (
20
12
response : MessagesResponse | AnthropicErrorResponse ,
Original file line number Diff line number Diff line change @@ -6,7 +6,15 @@ import { AnthropicErrorResponseTransform } from '../anthropic/utils';
6
6
import { ErrorResponse } from '../types' ;
7
7
import { generateInvalidProviderResponseError } from '../utils' ;
8
8
9
- export const VertexAnthropicMessagesConfig = getMessagesConfig ( { } ) ;
9
+ export const VertexAnthropicMessagesConfig = getMessagesConfig ( {
10
+ extra : {
11
+ anthropic_version : {
12
+ param : 'anthropic_version' ,
13
+ required : true ,
14
+ default : 'vertex-2023-10-16' ,
15
+ } ,
16
+ } ,
17
+ } ) ;
10
18
11
19
export const VertexAnthropicMessagesResponseTransform = (
12
20
response : MessagesResponse | AnthropicErrorResponse ,
You can’t perform that action at this time.
0 commit comments