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 172bc4b commit 755d28bCopy full SHA for 755d28b
packages/vertexai/src/requests/response-helpers.ts
@@ -90,7 +90,9 @@ export function addHelpers(
90
}
91
return '';
92
};
93
- (response as EnhancedGenerateContentResponse).inlineDataParts = (): InlineDataPart[] | undefined => {
+ (response as EnhancedGenerateContentResponse).inlineDataParts = ():
94
+ | InlineDataPart[]
95
+ | undefined => {
96
if (response.candidates && response.candidates.length > 0) {
97
if (response.candidates.length > 1) {
98
logger.warn(
0 commit comments