fix(models): route image input by preset capability (#6651)
* fix(providers): preserve images across retries and recovery Remove destructive text-only retries and validate tool image media at the boundary. Keep image identity across native transport preparation and compaction, and stop incomplete fallback or continuation without replaying tools. Resolves NAN-442 * fix(models): route image input by preset capability Replace the expanded image recovery and tool-format changes with an explicit supportsImages preset setting, capability-aware fallback selection, and an Image input switch in model settings. Keep original messages on retry and fail on actual non-transient image errors. * docs(models): introduce image input settings positively * test(agent): align image request fixtures with preset routing Cover successful image requests and direct validation errors when attributing model responses. Configure the image-capability check for the existing text-only provider mocks so governance and override-reuse tests exercise their scripted primary/fallback paths.
This commit is contained in:
1 parent
6a24b17629
commit
3f65a8f86c
36 files changed
+483
-444
No files matched your search
@@ -880,6 +880,8 @@
|
||||
"contextWindowError": "Enter a positive token count, such as 200k, 1m, or 131072.",
|
||||
"maxTokens": "Max output tokens",
|
||||
"temperature": "Temperature",
|
||||
"imageInput": "Image input",
|
||||
"imageInputHelp": "When off, requests containing images skip this preset.",
|
||||
"reasoningEffort": "Reasoning effort",
|
||||
"convertTitle": "Convert setup",
|
||||
"convertHelp": "Convert primary and fallback models to presets.",
|
||||
|
||||
@@ -1060,6 +1060,8 @@
|
||||
"contextWindowError": "Introduce una cantidad positiva de tokens, como 200k, 1m o 131072.",
|
||||
"maxTokens": "Máx. tokens de salida",
|
||||
"temperature": "Temperatura",
|
||||
"imageInput": "Entrada de imágenes",
|
||||
"imageInputHelp": "Al desactivarla, las solicitudes con imágenes omiten este preajuste.",
|
||||
"reasoningEffort": "Esfuerzo de razonamiento",
|
||||
"convertTitle": "Convertir ajustes",
|
||||
"convertHelp": "Convierte los modelos principal y de respaldo en preajustes.",
|
||||
|
||||
@@ -1060,6 +1060,8 @@
|
||||
"contextWindowError": "Saisissez un nombre positif de tokens, par exemple 200k, 1m ou 131072.",
|
||||
"maxTokens": "Tokens de sortie max.",
|
||||
"temperature": "Température",
|
||||
"imageInput": "Entrée d’images",
|
||||
"imageInputHelp": "Si désactivée, les requêtes contenant des images ignorent ce préréglage.",
|
||||
"reasoningEffort": "Effort de raisonnement",
|
||||
"convertTitle": "Convertir les réglages",
|
||||
"convertHelp": "Convertissez les modèles principal et de secours en préréglages.",
|
||||
|
||||
@@ -1060,6 +1060,8 @@
|
||||
"contextWindowError": "Masukkan jumlah token positif, seperti 200k, 1m, atau 131072.",
|
||||
"maxTokens": "Maks. token keluaran",
|
||||
"temperature": "Temperatur",
|
||||
"imageInput": "Input gambar",
|
||||
"imageInputHelp": "Jika dinonaktifkan, permintaan berisi gambar akan melewati preset ini.",
|
||||
"reasoningEffort": "Upaya penalaran",
|
||||
"convertTitle": "Konversi pengaturan",
|
||||
"convertHelp": "Ubah model utama dan cadangan menjadi preset.",
|
||||
|
||||
@@ -1060,6 +1060,8 @@
|
||||
"contextWindowError": "200k、1m、131072 など、正のトークン数を入力してください。",
|
||||
"maxTokens": "最大出力トークン",
|
||||
"temperature": "温度",
|
||||
"imageInput": "画像入力",
|
||||
"imageInputHelp": "オフにすると、画像を含むリクエストではこのプリセットをスキップします。",
|
||||
"reasoningEffort": "推論の強度",
|
||||
"convertTitle": "設定を変換",
|
||||
"convertHelp": "主モデルと予備モデルをプリセットに変換します。",
|
||||
|
||||
@@ -1060,6 +1060,8 @@
|
||||
"contextWindowError": "200k, 1m, 131072처럼 양수 토큰 수를 입력하세요.",
|
||||
"maxTokens": "최대 출력 토큰",
|
||||
"temperature": "온도",
|
||||
"imageInput": "이미지 입력",
|
||||
"imageInputHelp": "끄면 이미지가 포함된 요청에서 이 프리셋을 건너뜁니다.",
|
||||
"reasoningEffort": "추론 강도",
|
||||
"convertTitle": "설정 변환",
|
||||
"convertHelp": "주 모델과 대체 모델을 프리셋으로 변환하세요.",
|
||||
|
||||
@@ -700,6 +700,8 @@
|
||||
"contextWindowError": "Insira uma quantidade positiva de tokens, como 200k, 1m ou 131072.",
|
||||
"maxTokens": "Máx. de tokens de saída",
|
||||
"temperature": "Temperatura",
|
||||
"imageInput": "Entrada de imagens",
|
||||
"imageInputHelp": "Quando desativada, solicitações com imagens ignoram esta predefinição.",
|
||||
"reasoningEffort": "Esforço de raciocínio",
|
||||
"convertTitle": "Converter ajustes",
|
||||
"convertHelp": "Converta os modelos principal e alternativo em presets.",
|
||||
|
||||
@@ -1060,6 +1060,8 @@
|
||||
"contextWindowError": "Nhập số lượng token dương, chẳng hạn 200k, 1m hoặc 131072.",
|
||||
"maxTokens": "Token đầu ra tối đa",
|
||||
"temperature": "Nhiệt độ",
|
||||
"imageInput": "Đầu vào hình ảnh",
|
||||
"imageInputHelp": "Khi tắt, yêu cầu chứa hình ảnh sẽ bỏ qua cấu hình này.",
|
||||
"reasoningEffort": "Mức suy luận",
|
||||
"convertTitle": "Chuyển thiết lập",
|
||||
"convertHelp": "Chuyển mô hình chính và dự phòng thành bộ thiết lập.",
|
||||
|
||||
@@ -880,6 +880,8 @@
|
||||
"contextWindowError": "请输入正数 Token 数量,例如 200k、1m 或 131072。",
|
||||
"maxTokens": "输出 Token 上限",
|
||||
"temperature": "温度",
|
||||
"imageInput": "图像输入",
|
||||
"imageInputHelp": "关闭后,含图片的请求会跳过此预设。",
|
||||
"reasoningEffort": "推理强度",
|
||||
"convertTitle": "转换设置",
|
||||
"convertHelp": "将主模型和备用模型转为预设",
|
||||
|
||||
@@ -1060,6 +1060,8 @@
|
||||
"contextWindowError": "請輸入正數 Token 數量,例如 200k、1m 或 131072。",
|
||||
"maxTokens": "輸出 Token 上限",
|
||||
"temperature": "溫度",
|
||||
"imageInput": "圖像輸入",
|
||||
"imageInputHelp": "關閉後,含圖片的請求會略過此預設。",
|
||||
"reasoningEffort": "推理強度",
|
||||
"convertTitle": "轉換設定",
|
||||
"convertHelp": "將主模型和備用模型轉為預設",
|
||||
|
||||
Reference in new issue
Block a user