diff --git a/test/run-upstream b/test/run-upstream index 854a9da1..2a8c12f3 100755 --- a/test/run-upstream +++ b/test/run-upstream @@ -45,8 +45,8 @@ readonly CLOUDEVENTS_REVISION="v${CLOUDEVENTS_REVISION:-$(docker run --rm "${IMA readonly CLOUDEVENTS_REPO="https://github.com/cloudevents/sdk-javascript.git" readonly FASTIFY_REVISION="v${FASTIFY_REVISION:-$(docker run --rm "${IMAGE_NAME}" -- npm show fastify version)}" readonly FASTIFY_REPO="https://github.com/fastify/fastify.git" -readonly LANGCHAIN_REVISION=v"${LANGCHAIN_REVISION:-$(docker run --rm "${IMAGE_NAME}" -- npm show langchain version)}" -readonly LANGCHAIN_REPO="https://github.com/langchain-ai/langchainjs" +readonly LANGCHAINJS_REVISION="${LANGCHAINJS_REVISION:-$(docker run --rm "${IMAGE_NAME}" -- npm show langchain version)}" +readonly LANGCHAINJS_REPO="https://github.com/langchain-ai/langchainjs.git" # Since we built the candidate image locally, we don't want S2I attempt to pull # it from a registry diff --git a/test/test-lib-nodejs.sh b/test/test-lib-nodejs.sh index 291dbc7f..7d7da54e 100644 --- a/test/test-lib-nodejs.sh +++ b/test/test-lib-nodejs.sh @@ -448,6 +448,12 @@ function test_client_cloudevents() { echo "Running CloudEvents client test" test_running_client_js cloudevents } + +function test_client_langchainjs() { + echo "Running langchainjs client test" + test_running_client_js langchainjs +} + function test_client_fastify() { if [[ "${VERSION}" == *"minimal"* ]]; then VERSION=$(echo "${VERSION}" | cut -d "-" -f 1)