@* Stays at the top while the user scrolls through a long chat, like the header of the BeyondFacts Lab: which
task and chat this is, and the setup both models work with, which matters for the decision. Its background
is that of the paper below it. *@
@this.TaskHeading(task)
@T("Discard task")
@if (task.CurrentChat is { } chat)
{
@this.ChatHint(task)
@if (this.allowedFileTypes is not null)
{
@TA("You cannot attach images in this series, since not both models can read them. Other files, such as documents, work as usual.")
}
@* Only once everything this chat needs is ready, see ShowOpenTaskAsync: *@
@if (this.shownChat is { } shown && shown.ChatId == chat.ChatId)
{
}
else
{
}
@T("I'm done with this model")
}
else
{
}
}
else
{