@@ -227,7 +227,8 @@ You are a Senior Contract Analyst. Analyze legal documents for risks, obligation
227227 thinkingLevel : 'high' ,
228228 includeThoughts : true ,
229229 thinkingBudget : - 1 ,
230- }
230+ } ,
231+ responseModalities : [ 'TEXT' , 'IMAGE' ] ,
231232 }
232233 }
233234 }
@@ -319,7 +320,8 @@ You are a Compliance Officer. Monitor regulatory compliance and identify risks a
319320 thinkingLevel : 'high' ,
320321 includeThoughts : true ,
321322 thinkingBudget : - 1 ,
322- }
323+ } ,
324+ responseModalities : [ 'TEXT' , 'IMAGE' ] ,
323325 }
324326 }
325327 }
@@ -416,7 +418,8 @@ You are a Chief Strategy Officer with legal expertise. Align business strategy w
416418 thinkingLevel : 'high' ,
417419 includeThoughts : true ,
418420 thinkingBudget : - 1 ,
419- }
421+ } ,
422+ responseModalities : [ 'TEXT' , 'IMAGE' ] ,
420423 }
421424 }
422425 }
@@ -431,10 +434,6 @@ You are a Chief Strategy Officer with legal expertise. Align business strategy w
431434 googleFinanceTool,
432435 googleScholarTool,
433436 webScraperTool,
434- google_search : googleTools . googleSearch ( {
435- mode : "MODE_DYNAMIC" ,
436- dynamicThreshold : 0.7 ,
437- } ) ,
438437 // Integration tools for coordinating other agents would be added here
439438 } ,
440439 memory : pgMemory ,
@@ -477,12 +476,4 @@ You are a Chief Strategy Officer with legal expertise. Align business strategy w
477476 ] ,
478477} )
479478
480- // Type definitions for provider metadata (similar to researchAgent)
481- type ProviderMetadataMap = { google ?: GoogleGenerativeAIProviderMetadata } & Record < string , unknown > ;
482-
483- const providerMetadata : ProviderMetadataMap | undefined =
484- ( ( googleAI as unknown ) as { providerMetadata ?: ProviderMetadataMap } ) ?. providerMetadata ??
485- ( ( google as unknown ) as { providerMetadata ?: ProviderMetadataMap } ) ?. providerMetadata ;
486479
487- const metadata = providerMetadata ?. google ;
488- export const groundingMetadata = metadata ?. groundingMetadata ;
0 commit comments