From c64aeab3b20e8aed286dd719ebffb7c1afd698fe Mon Sep 17 00:00:00 2001 From: stswangzhiping <59632378+stswangzhiping@users.noreply.github.com> Date: Tue, 14 Apr 2026 09:04:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20model=20=E5=88=97=E8=A1=A8=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=20input=20=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Made-with: Cursor --- lib/openclaw-provider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/openclaw-provider.js b/lib/openclaw-provider.js index 92a7362..76b0492 100644 --- a/lib/openclaw-provider.js +++ b/lib/openclaw-provider.js @@ -52,7 +52,7 @@ function fetchModels(baseUrl, apiKey, callback) { try { const json = JSON.parse(data); if (json.data && Array.isArray(json.data)) { - callback(null, json.data.map((m) => ({ id: m.id, name: m.id }))); + callback(null, json.data.map((m) => ({ id: m.id, name: m.id, input: ['text', 'image'] }))); } else if (json.error) { callback(new Error(json.error.message || JSON.stringify(json.error))); } else {