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:
@@ -2001,6 +2001,7 @@ export const dict: Record<I18nKey, string> = {
|
||||
'gitView.commit.aiHighlights.insertTooltip': '挿入のツールチップ',
|
||||
'gitView.commit.commitAria': 'コミットのariaラベル',
|
||||
'chat.chatInput.toast.attachNamedFailed': '{name}の添付に失敗しました',
|
||||
'chat.chatInput.toast.unsupportedAttachmentModalities': '{model} は {files} に必要な {modalities} 入力をサポートしていません。メッセージは送信できますが、これらの添付ファイルは無視される可能性があります。',
|
||||
'chat.chatInput.toast.someFilesSkipped': '一部のファイルがスキップされました:\n{summary}',
|
||||
'chat.chatInput.toast.vscodePickFailed': 'VS Codeでのファイル選択に失敗しました',
|
||||
'chat.chatInput.toast.openSessionFirst': '先にセッションを開いてください',
|
||||
|
||||
Reference in New Issue
Block a user