Problem where search requests occur

When I ask it to search for information, it performs the search and displays only the response, “I am merely a language model and cannot assist you because I lack the necessary information or capabilities.” or “I cannot assist you with that as I am merely a language model.” This only appears in 3.5 Flash.