@inherits MSGComponentBase @if (this.Subject is ContextWindowFullSubject.ASSISTANT_REQUEST) { @if (this.IsWindowExceeded) { @(string.Format(T("Together with its files, this request takes about {0} tokens, but the selected model reads at most {1} tokens. The provider will probably refuse the request or leave out a part of it."), this.Tokens, this.WindowTokens)) } else { @(string.Format(T("Together with its files, this request takes about {0} of the {1} tokens which the selected model reads at most. Little room is left for the answer, which may break off."), this.Tokens, this.WindowTokens)) } } else if (this.IsWindowExceeded) { @(string.Format(TA("Together with your message, this chat takes about {0} tokens, but the selected model reads at most {1} tokens. The provider will probably refuse your message or leave out a part of the conversation."), this.Tokens, this.WindowTokens)) } else { @(string.Format(TA("Together with your message, this chat takes about {0} of the {1} tokens which the selected model reads at most. Little room is left for the answer, which may break off, and your next message will probably no longer fit."), this.Tokens, this.WindowTokens)) } @if (!this.CanSendAnyway) { @T("This chat sends no message which no longer fits, since the model would lose the beginning of the conversation and the instructions of the assistant first.") } @if (this.CompressionIssue is { } compressionIssue) { @compressionIssue } @if (this.CanCompress && this.Subject is ContextWindowFullSubject.EMBEDDED_CHAT) { @TA("When you compress the conversation, the AI summarizes it, and the summary takes the place of the earlier messages. Your message stays in the input field, so you can send it afterward.") } else if (this.CanCompress) { @TA("When you compress the chat, the AI summarizes it, and the conversation continues in a new chat. Your message goes along into the input field of the new chat, so you can send it there.") } else if (this.Subject is ContextWindowFullSubject.ASSISTANT_REQUEST) { @TA("You can attach fewer or smaller files, shorten your input, or select a model which takes longer texts.") } else { @TA("You can shorten your message, remove some of its files, or select a model which takes longer texts.") } @T("Cancel") @if (this.CanSendAnyway) { @T("Send anyway") } @if (this.CanCompress) { @T("Compress chat") }