mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 22:47:21 +00:00
Web search restrictions after internal content (#1074)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
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.",
|
||||
|
||||
Reference in new issue
Block a user