Added a Send to menu to every chat message and kept restrictions when sending content on (#1124)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-10-28 13:28:30 +01:00
1 parent d06688ca08
commit bf54b8cd0d
73 files changed
+1923 -390

No files matched your search

@@ -214,6 +214,19 @@ public sealed class ToolOutboundDataTests : ToolRegistryTestBase
});
}
[Test]
public void EveryMessageSpeaksOfTheContentTheChatHolds([Values] OutboundDataOrigin origin)
{
var requirement = new OutboundDataRequirement(OutboundDataRestriction.ONLY_CONFIGURED_SERVICES, origin, "intranet.example.org");
var message = requirement.GetToolBlockedMessage(new Data());
Assert.Multiple(() =>
{
Assert.That(message, Does.StartWith("This chat holds"), "Content sent here from another chat or an assistant was never read by this chat.");
Assert.That(message, Does.EndWith("A new chat without this content can use it again."), "A new chat which gets the same content sent to it is restricted just the same.");
});
}
[Test]
public async Task ACallTurnedDownByTheWikiNamesTheWiki()
{