AI-Studio/app/MindWork AI Studio/Components/ToolSelectionField.razor
Peer Hogeterp 4d8d30e15e
Added tool calling support (#731)
Co-authored-by: krut_ni <nils.kruthoff@dlr.de>
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
2026-09-04 15:48:07 +02:00

16 lines
816 B
Plaintext

@inherits MSGComponentBase
@if (this.availableTools.Count > 0)
{
<ConfigurationMultiSelect TData="string"
OptionDescription="@this.Label"
OptionHelp="@this.Help"
Data="@this.availableTools"
SelectedValues="@(() => this.SelectedToolIds)"
SelectionUpdateAsync="@this.OptionChangedAsync"
Disabled="@(() => this.ReadOnly || this.Disabled)"
IsItemLocked="@this.IsToolLocked"
EmptySelectionText="@T("No tools selected")"
SingleSelectionText="@T("1 tool selected")"
MultipleSelectionText="@T("{0} tools selected")"/>
}