From f3824368b2ffe1f000e08bbaf6666d8fe39b20a1 Mon Sep 17 00:00:00 2001 From: jacoblee93 Date: Tue, 21 Nov 2023 18:14:50 -0800 Subject: [PATCH 1/2] Skip test --- .../chat_models/tests/chatbedrock.int.test.ts | 36 +++++++++---------- langchain/src/llms/tests/bedrock.int.test.ts | 4 +-- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/langchain/src/chat_models/tests/chatbedrock.int.test.ts b/langchain/src/chat_models/tests/chatbedrock.int.test.ts index 7ca0fe38c59b..0c5db6bacb15 100644 --- a/langchain/src/chat_models/tests/chatbedrock.int.test.ts +++ b/langchain/src/chat_models/tests/chatbedrock.int.test.ts @@ -5,18 +5,18 @@ import { test, expect } from "@jest/globals"; import { BedrockChat } from "../bedrock/web.js"; import { HumanMessage } from "../../schema/index.js"; -void testChatModel( - "Test Bedrock chat model: Llama2 13B v1", - "us-east-1", - "meta.llama2-13b-chat-v1", - "What is your name?" -); -void testChatStreamingModel( - "Test Bedrock streaming chat model: Llama2 13B v1", - "us-east-1", - "meta.llama2-13b-chat-v1", - "What is your name and something about yourself?" -); +// void testChatModel( +// "Test Bedrock chat model: Llama2 13B v1", +// "us-east-1", +// "meta.llama2-13b-chat-v1", +// "What is your name?" +// ); +// void testChatStreamingModel( +// "Test Bedrock streaming chat model: Llama2 13B v1", +// "us-east-1", +// "meta.llama2-13b-chat-v1", +// "What is your name and something about yourself?" +// ); void testChatModel( "Test Bedrock chat model: Claude-v2", @@ -37,12 +37,12 @@ void testChatHandleLLMNewToken( "anthropic.claude-v2", "What is your name and something about yourself?" ); -void testChatHandleLLMNewToken( - "Test Bedrock chat model HandleLLMNewToken: Llama2 13B v1", - "us-east-1", - "meta.llama2-13b-chat-v1", - "What is your name and something about yourself?" -); +// void testChatHandleLLMNewToken( +// "Test Bedrock chat model HandleLLMNewToken: Llama2 13B v1", +// "us-east-1", +// "meta.llama2-13b-chat-v1", +// "What is your name and something about yourself?" +// ); /** * Tests a BedrockChat model diff --git a/langchain/src/llms/tests/bedrock.int.test.ts b/langchain/src/llms/tests/bedrock.int.test.ts index 67858bd83298..feb2e133028a 100644 --- a/langchain/src/llms/tests/bedrock.int.test.ts +++ b/langchain/src/llms/tests/bedrock.int.test.ts @@ -27,7 +27,7 @@ test("Test Bedrock LLM: AI21", async () => { console.log(res); }); -test("Test Bedrock LLM: Meta Llama2", async () => { +test.skip("Test Bedrock LLM: Meta Llama2", async () => { const region = process.env.BEDROCK_AWS_REGION!; const model = "meta.llama2-13b-chat-v1"; const prompt = "Human: What is your name?"; @@ -50,7 +50,7 @@ test("Test Bedrock LLM: Meta Llama2", async () => { console.log(res); }); -test("Test Bedrock LLM streaming: Meta Llama2", async () => { +test.skip("Test Bedrock LLM streaming: Meta Llama2", async () => { const region = process.env.BEDROCK_AWS_REGION!; const model = "meta.llama2-13b-chat-v1"; const prompt = "What is your name?"; From 67616dbc217c8865162cdcfb7c25579a3cf89ce4 Mon Sep 17 00:00:00 2001 From: jacoblee93 Date: Tue, 21 Nov 2023 18:19:51 -0800 Subject: [PATCH 2/2] Release 0.0.196 --- langchain/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/package.json b/langchain/package.json index bcd2dc5d3318..975c2711c55d 100644 --- a/langchain/package.json +++ b/langchain/package.json @@ -1,6 +1,6 @@ { "name": "langchain", - "version": "0.0.195", + "version": "0.0.196", "description": "Typescript bindings for langchain", "type": "module", "engines": {