feat: warn about unsupported attachment inputs
Compare normalized attachment MIME types with the selected model's declared input modalities and show a non-blocking warning for incompatible files. Recheck newly added attachments, restored drafts, async metadata, and existing files after model changes while avoiding warnings when capability metadata is unavailable. Summarize affected filenames and localize the warning across every supported locale. Add focused modality compatibility coverage, document the composer behavior, and keep model metadata subscriptions stable to prevent startup render loops.
This commit is contained in:
@@ -1968,6 +1968,7 @@ export const dict: Record<I18nKey, string> = {
|
||||
"chat.chatInput.toast.addedFileMentions": "Додано згадки файлів {count}",
|
||||
"chat.chatInput.toast.attachFileFailed": "Не вдалося прикріпити файл",
|
||||
"chat.chatInput.toast.attachNamedFailed": "Не вдалося прикріпити {name}",
|
||||
"chat.chatInput.toast.unsupportedAttachmentModalities": "{model} не підтримує вхідні дані {modalities}, потрібні для {files}. Повідомлення все одно можна надіслати, але ці вкладення можуть бути проігноровані.",
|
||||
"chat.chatInput.toast.someFilesSkipped": "Деякі файли були пропущені:\n{summary}",
|
||||
"chat.chatInput.toast.vscodePickFailed": "Не вдалося вибрати файли в VS Code",
|
||||
"chat.chatInput.toast.openSessionFirst": "Спочатку відкрийте сесію",
|
||||
|
||||
Reference in New Issue
Block a user