@@ -46,9 +46,9 @@ export function addHelpers(
46
46
VertexAIErrorCode . RESPONSE_ERROR ,
47
47
`Response error: ${ formatBlockErrorMessage (
48
48
response
49
- ) } . Response body stored in error.generateContentResponse `,
49
+ ) } . Response body stored in error.response `,
50
50
{
51
- generateContentResponse : response
51
+ response
52
52
}
53
53
) ;
54
54
}
@@ -58,7 +58,7 @@ export function addHelpers(
58
58
VertexAIErrorCode . RESPONSE_ERROR ,
59
59
`Text not available. ${ formatBlockErrorMessage ( response ) } ` ,
60
60
{
61
- generateContentResponse : response
61
+ response
62
62
}
63
63
) ;
64
64
}
@@ -78,9 +78,9 @@ export function addHelpers(
78
78
VertexAIErrorCode . RESPONSE_ERROR ,
79
79
`Response error: ${ formatBlockErrorMessage (
80
80
response
81
- ) } . Response body stored in error.generateContentResponse `,
81
+ ) } . Response body stored in error.response `,
82
82
{
83
- generateContentResponse : response
83
+ response
84
84
}
85
85
) ;
86
86
}
@@ -90,7 +90,7 @@ export function addHelpers(
90
90
VertexAIErrorCode . RESPONSE_ERROR ,
91
91
`Function call not available. ${ formatBlockErrorMessage ( response ) } ` ,
92
92
{
93
- generateContentResponse : response
93
+ response
94
94
}
95
95
) ;
96
96
}
0 commit comments