mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 02:27: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
@@ -39,6 +39,19 @@ public sealed class DataTools(Expression<Func<Data, DataTools>>? configSelection
|
||||
x => x.DisabledToolIds,
|
||||
[]);
|
||||
|
||||
/// <summary>
|
||||
/// The tool collections the user switched off, because they never need them.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The counterpart to DisabledToolIds for the user, and deliberately not managed: switching off
|
||||
/// a tool only takes something away, which every user may do for themselves, while a tool the
|
||||
/// organization switched off stays off whatever this holds. A collection named here appears in
|
||||
/// no tool selection, and no model gets it. Selections which name it keep it, so switching the
|
||||
/// collection on again brings it back wherever it was selected. The IDs are those of tool
|
||||
/// collections, like those of DisabledToolIds.
|
||||
/// </remarks>
|
||||
public HashSet<string> UserDisabledToolIds { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// The minimum provider confidence per tool collection, see DisabledToolIds for the IDs.
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user