mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-19 02:52:13 +00:00
pass the builder provider as a fallback to the audit service
This commit is contained in:
parent
8420fc13b1
commit
0d53281d0c
@ -570,7 +570,7 @@ public partial class AssistantBuilder : AssistantBaseCore<NoSettingsPanel>
|
|||||||
this.isAuditingPlugin = true;
|
this.isAuditingPlugin = true;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
this.pluginAudit = await this.AssistantPluginAuditService.RunAuditAsync(this.installedAssistantPlugin);
|
this.pluginAudit = await this.AssistantPluginAuditService.RunAuditAsync(this.installedAssistantPlugin, fallbackProvider: this.ProviderSettings);
|
||||||
if (this.pluginAudit.Level is AssistantAuditLevel.UNKNOWN)
|
if (this.pluginAudit.Level is AssistantAuditLevel.UNKNOWN)
|
||||||
{
|
{
|
||||||
this.FailInstallStep(BuilderInstallStep.SECURITY_CHECK, T("The security check could not determine a result."));
|
this.FailInstallStep(BuilderInstallStep.SECURITY_CHECK, T("The security check could not determine a result."));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user