diff --git a/backend/pom.xml b/backend/pom.xml index f54337aa..afe508da 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -10,7 +10,7 @@ 0.0.0-SNAPSHOT - 2.0.23 + 2.0.24 UTF-8 @@ -52,17 +52,17 @@ org.slf4j slf4j-api - 1.7.31 + 1.7.32 ch.qos.logback logback-classic - 1.2.4 + 1.2.5 ch.qos.logback logback-core - 1.2.4 + 1.2.5 diff --git a/webui/src/actions/toolcall.jsx b/webui/src/actions/toolcall.jsx index b1d6bd43..43d17944 100644 --- a/webui/src/actions/toolcall.jsx +++ b/webui/src/actions/toolcall.jsx @@ -69,10 +69,10 @@ export function getInvocationURL(tool, resourceList) { function getServiceParameter(param, resourceList, inputs, match) { if (!param.bind) { if (param.value) { - return param.value; + return [param.value]; } else { console.error("missing param bind and value:", param); - return {error: "Incorrect tool specification: " + param.name}; + return [{error: "Incorrect tool specification: " + param.name}]; } } @@ -80,7 +80,7 @@ function getServiceParameter(param, resourceList, inputs, match) { const inputIndex = inputs.findIndex(input => input.id == inputID); if (inputIndex < 0) { console.error("cannot find input with id:", inputID); - return {error: "Incorrect tool specification: " + inputID}; + return [{error: "Incorrect tool specification: " + inputID}]; } const resourceIndices = findAllIndices(match, inputIndex);