Exclude gemini-2.0-flash-lite from web search

05e60ff00bef9dbb12487b34d321c7d78959cafc

cloak1505 <170299980+cloak1505@users.noreply.github.com>

1 files changed, +1 -1Showing whitespace changes
src/endpoints/backends/chat-completions.js+1 -1
@@ -393,7 +393,7 @@ async function sendMakerSuiteRequest(request, response) {
393393 }
394394 // Most of the other models allow for setting the threshold of filters, except for HARM_CATEGORY_CIVIC_INTEGRITY, to OFF.
395395
396396 if (enableWebSearch && !useMultiModal && !isGemma && !isLearnLM && !model.includes('gemini-2.0-flash-lite')) {
397397 const searchTool = model.includes('1.5') || model.includes('1.0')
398398 ? ({ google_search_retrieval: {} })
399399 : ({ google_search: {} });