mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 13:07:21 +00:00
Changed all icons of AI Studio to Lucide (#1187)
This commit is contained in:
1 parent
9a676101f7
commit
7ef26cd5c8
352 files changed
+6261
-1620
No files matched your search
@@ -170,7 +170,7 @@ public sealed class AssistantAuditAgent(ILogger<AssistantAuditAgent> logger, ILo
|
||||
? TB("The selected provider is not trusted enough for security checks. Pick one which meets the confidence required here, or choose a dedicated provider for security checks in the app settings.")
|
||||
: TB("No provider is configured for the Security Audit Agent.");
|
||||
|
||||
await MessageBus.INSTANCE.SendError(new (Icons.Material.Filled.SettingsSuggest, message));
|
||||
await MessageBus.INSTANCE.SendError(new (AppIcons.AGENT, message));
|
||||
|
||||
return new AssistantAuditResult
|
||||
{
|
||||
@@ -270,7 +270,7 @@ public sealed class AssistantAuditAgent(ILogger<AssistantAuditAgent> logger, ILo
|
||||
if (response.Content is not ContentText content || string.IsNullOrWhiteSpace(content.Text))
|
||||
{
|
||||
logger.LogWarning($"The assistant plugin audit agent did not return text: {response}");
|
||||
await MessageBus.INSTANCE.SendWarning(new (Icons.Material.Filled.PendingActions, string.Format(TB("The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later."))));
|
||||
await MessageBus.INSTANCE.SendWarning(new (AppIcons.AUDIT_INCOMPLETE, string.Format(TB("The security check could not be completed because the LLM's response was unusable. The audit level remains Unknown, so please try again later."))));
|
||||
|
||||
return new AssistantAuditResult
|
||||
{
|
||||
|
||||
@@ -34,10 +34,10 @@ public static class AssistantAuditLevelExtensions
|
||||
|
||||
public string Icon => level switch
|
||||
{
|
||||
AssistantAuditLevel.DANGEROUS => Icons.Material.Filled.Dangerous,
|
||||
AssistantAuditLevel.CAUTION => Icons.Material.Filled.Warning,
|
||||
AssistantAuditLevel.SAFE => Icons.Material.Filled.Verified,
|
||||
_ => Icons.Material.Filled.HelpOutline,
|
||||
AssistantAuditLevel.DANGEROUS => AppIcons.SECURITY_DANGEROUS,
|
||||
AssistantAuditLevel.CAUTION => AppIcons.WARNING,
|
||||
AssistantAuditLevel.SAFE => AppIcons.AUDIT_SAFE,
|
||||
_ => AppIcons.UNKNOWN,
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user