mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 01:07:21 +00:00
Added a way to switch off tools you never need (#1115)
This commit is contained in:
1 parent
dcba62b45c
commit
04546c25ac
31 files changed
+638
-37
No files matched your search
@@ -45,6 +45,15 @@ public partial class ToolSettingsDialog : SettingsDialogBase
|
||||
this.sections = loadedSections;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user switched this tool off, and nothing but the user.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// When the organization switched it off as well, that is what the dialog says: switching it on
|
||||
/// again would not help the user.
|
||||
/// </remarks>
|
||||
private bool IsSwitchedOffByUser => this.item?.SwitchOffReason is ToolOfferBlockReason.TOOL_SWITCHED_OFF_BY_USER;
|
||||
|
||||
/// <summary>
|
||||
/// Whether each section is headed by the name of its tool.
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user