@inherits MSGComponentBase
@T("Tool Selection")
@T("Tools allow the LLM to perform targeted additional actions such as web searches or reading web pages.")
@if (!this.SupportsTools)
{
@this.UnsupportedToolsMessage
}
else if (this.Disabled)
{
@T("Tool changes are locked while a response is running. Your current selection is shown below and applies again from the next message once the run is finished.")
}
else if (this.catalog.Count == 0)
{
@T("No tools are available in this context.")
}
@if (this.SupportsTools && this.catalog.Count > 0)
{
@*
The striping sits on this wrapper: the rows share their parent with the
introduction and the occasional alert, which would shift the parity.
*@
}
@T("Close")