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:
@@ -1780,6 +1780,7 @@ export const dict = {
|
||||
'chat.chatInput.toast.addedFileMentions': 'Ajout des mentions du fichier {count}',
|
||||
'chat.chatInput.toast.attachFileFailed': 'Impossible de joindre le fichier',
|
||||
'chat.chatInput.toast.attachNamedFailed': 'Échec de la connexion du {name}',
|
||||
'chat.chatInput.toast.unsupportedAttachmentModalities': '{model} ne prend pas en charge l’entrée {modalities} requise par {files}. Vous pouvez tout de même envoyer le message, mais ces pièces jointes risquent d’être ignorées.',
|
||||
'chat.chatInput.toast.someFilesSkipped': 'Certains fichiers ont été ignorés :\n{summary}',
|
||||
'chat.chatInput.toast.vscodePickFailed': 'Échec de la sélection des fichiers dans VS Code',
|
||||
'chat.chatInput.toast.openSessionFirst': 'Ouvrir d\'abord une session',
|
||||
|
||||
Reference in New Issue
Block a user