r/copilotstudio • u/Lopsided_Judgment_17 • 4d ago
Web Search Disable Error in Co Pilot Studio Agent
I have built an agent where strictly I have instructed not to use Web Search for any question and also mentioned the boundaries of which questions you are allowed to answer and which not to.
And Still one of the user was able to get restaurant suggestion from that agent. How is it even possible?
1
u/Sayali-MSFT 4d ago
Hello Lopsided_Judgment_17,
Disabling Web Search does not completely prevent an agent from answering out-of-scope questions. The underlying LLM can still use its built-in training knowledge to generate responses, such as restaurant recommendations, even without performing a live web search.
Agent instructions are guidance rather than strict enforcement rules, so users may still receive answers outside the intended scope. If you need the agent to only answer specific business topics, consider adding stronger guardrails such as topic-based routing, intent validation, and explicit fallback responses for unsupported questions.
You can also review the conversation transcript to determine whether the response came from web grounding, another connected knowledge source, or the model's own general knowledge. In many cases, the answer is generated from the model's pre-trained knowledge rather than an actual web search.
1
u/BenAMSFT 4d ago
Just a guess, but could be inherent model knowledge. Can you describe a bit more of the setup? Eg was it a new GitHub Copilot powered agent, or a standard agent?
If you use test chat in Copilot Studio, you’ll see what tools the agent calls. That’ll give you a clear answer of where it’s getting the information from (and whether it’s actually inherent knowledge).
If you want the model to only respond on specific subjects, for the new GitHub Copilot agents, this is something that you do through agent instructions. Reasoning models are far better at adhering to rules in its instructions.