From a391581acd44a3c3560bbb91707eb8403962a109 Mon Sep 17 00:00:00 2001 From: m-naveed-ashraf Date: Fri, 8 Nov 2024 18:30:50 +0500 Subject: [PATCH 1/2] show the missing input variable warning in workflow run --- src/utils.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils.ts b/src/utils.ts index ea706ad..0428b8c 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -389,6 +389,9 @@ export const runWorkflowRequest = async ({ } const result = await response.json(); + if (result.warning) { + console.warn(`WARNING: ${result.warning}`); + } const execution_id = result.workflow_version_execution_id; if (!execution_id) { console.log("No execution ID returned from workflow run"); From a38ec1f1b5d700f4c7c4f5a4b59c0d66cbdbae98 Mon Sep 17 00:00:00 2001 From: m-naveed-ashraf Date: Fri, 8 Nov 2024 18:33:19 +0500 Subject: [PATCH 2/2] updated version --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index cdb83f2..66efe5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "promptlayer", - "version": "1.0.16", + "version": "1.0.17", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "promptlayer", - "version": "1.0.16", + "version": "1.0.17", "license": "MIT", "dependencies": { "@opentelemetry/api": "^1.9.0", diff --git a/package.json b/package.json index 2f33e3c..61e67b6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "promptlayer", "license": "MIT", - "version": "1.0.16", + "version": "1.0.17", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts",