From 864042acb13362acfec0dca2765ca1ad0d4df9f9 Mon Sep 17 00:00:00 2001 From: Brace Sproul Date: Mon, 16 Oct 2023 16:01:46 -0700 Subject: [PATCH] nit: remove maxTokens input --- langchain/src/agents/tests/agent.int.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/langchain/src/agents/tests/agent.int.test.ts b/langchain/src/agents/tests/agent.int.test.ts index d4b6d3636b9f..3db70f831a2d 100644 --- a/langchain/src/agents/tests/agent.int.test.ts +++ b/langchain/src/agents/tests/agent.int.test.ts @@ -92,18 +92,16 @@ test("Pass runnable to agent executor", async () => { expect(res.output).not.toEqual("Agent stopped due to max iterations."); }); -test("Add a fallback method", async () => { +test.only("Add a fallback method", async () => { // Model should always fail since the model name passed does not exist. const modelBase = new ChatOpenAI({ modelName: "fake-model", temperature: 10, - maxTokens: 10, }); const modelLarge = new ChatOpenAI({ modelName: "gpt-3.5-turbo-16k", temperature: 0.6, - maxTokens: 10, }); const model = modelBase.withFallbacks({