Changed private web pages and the Confluence search to require a High-confidence provider

This commit is contained in:
Thorsten Sommer committed 2026-09-23 16:31:21 +02:00
1 parent 56978d88f2
commit ad6b285c8d
11 files changed
+34 -51

No files matched your search

@@ -37,20 +37,13 @@ public static class ChatThreadExtensions
};
//
// A provider trusted by the organization's configuration may continue the thread whatever
// confidence it requires, the same as the tools which put that data into the thread treat
// it as equal to a High-confidence provider. Otherwise such a provider could run a tool
// and then be locked out of its own chat by the result.
// The confidence axis is checked on its own: a provider trusted by configuration counts as
// self-hosted for data-source security, which is the check further down, but that trust
// says nothing about how confidential the provider is. An organization which wants its
// contractually covered cloud provider to pass here raises its level through the custom
// confidence scheme instead.
//
var isTrustedByConfiguration = provider switch
{
IProvider p => p.IsTrustedByConfiguration(settingsManager),
AIStudio.Settings.Provider p => p.IsTrustedByConfiguration(settingsManager),
_ => false,
};
if (providerConfidence < chatThread.RequiredProviderConfidence && !isTrustedByConfiguration)
if (providerConfidence < chatThread.RequiredProviderConfidence)
return false;
// The chat thread is available, but the data security is not specified.