Exclude gemini-2.0-flash-lite from web search
| @@ -393,7 +393,7 @@ async function sendMakerSuiteRequest(request, response) { | ||
| 393 | 393 | } |
| 394 | 394 | // Most of the other models allow for setting the threshold of filters, except for HARM_CATEGORY_CIVIC_INTEGRITY, to OFF. |
| 395 | 395 | |
| 396 | 396 | if (enableWebSearch && !useMultiModal && !isGemma && !isLearnLM && !model.includes('gemini-2.0-flash-lite')) { |
| 397 | 397 | const searchTool = model.includes('1.5') || model.includes('1.0') |
| 398 | 398 | ? ({ google_search_retrieval: {} }) |
| 399 | 399 | : ({ google_search: {} }); |