LLMs (especially Gemini) have a tendency to hallucinate things from extant references, especially with a huge blob of spammy search results in context.
Even with a real reference, you have to be careful.
…TBH, I’ve been fighting fire with fire. Sometimes I get local Qwen 27B to point to the relevant bit in a reference. If there is one.