Skip to content

Commit

Permalink
chore: lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Jul 18, 2024
1 parent 35cdde8 commit b95e28b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/langchain-anthropic/src/tests/chat_models.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import {
SystemMessagePromptTemplate,
} from "@langchain/core/prompts";
import { CallbackManager } from "@langchain/core/callbacks/manager";
import { ChatAnthropic } from "../chat_models.js";
import { concat } from "@langchain/core/utils/stream";
import { ChatAnthropic } from "../chat_models.js";

test("Test ChatAnthropic", async () => {
const chat = new ChatAnthropic({
Expand Down Expand Up @@ -352,7 +352,7 @@ test("id is supplied when invoking", async () => {
const result = await model.invoke("Hello");
expect(result.id).toBeDefined();
expect(result.id).not.toEqual("");
})
});

test("id is supplied when streaming", async () => {
const model = new ChatAnthropic();
Expand All @@ -364,4 +364,4 @@ test("id is supplied when streaming", async () => {
if (!finalChunk) return;
expect(finalChunk.id).toBeDefined();
expect(finalChunk.id).not.toEqual("");
})
});

0 comments on commit b95e28b

Please sign in to comment.