Web search restrictions after internal content (#1074)

Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
Peer HogeterpandThorsten Sommer authored and GitHub committed 2026-10-18 19:39:55 +02:00
1 parent f38c4aa563
commit 1f8d72aa45
42 files changed
+1654 -228

No files matched your search

@@ -30,7 +30,7 @@ public sealed class ToolExecutorTests : ToolRegistryTestBase
[Test]
public async Task WhatAResultDemandsReachesTheLoop()
{
var restriction = new OutboundDataRequirement(OutboundDataRestriction.ONLY_CONFIGURED_SERVICES, MAILBOX_ID);
var restriction = new OutboundDataRequirement(OutboundDataRestriction.ONLY_CONFIGURED_SERVICES, OutboundDataOrigin.MAILBOX, MAILBOX_ID);
var tool = new TestTool(Definition(), execute: _ => new ToolExecutionResult
{
TextContent = "A passage from the handbook.",
@@ -96,7 +96,7 @@ public sealed class ToolExecutorTests : ToolRegistryTestBase
[Test]
public async Task WhatAResultDemandsTightensTheChat()
{
var restriction = new OutboundDataRequirement(OutboundDataRestriction.ONLY_LINKS_FROM_CHAT, MAILBOX_ID);
var restriction = new OutboundDataRequirement(OutboundDataRestriction.ONLY_LINKS_FROM_CHAT, OutboundDataOrigin.MAILBOX, MAILBOX_ID);
var tool = new TestTool(Definition(), execute: _ => new ToolExecutionResult
{
TextContent = "A mail about the budget.",