diff --git a/libs/langchain-anthropic/src/output_parsers.ts b/libs/langchain-anthropic/src/output_parsers.ts index 866c5b947f82..b4a08be4d6ee 100644 --- a/libs/langchain-anthropic/src/output_parsers.ts +++ b/libs/langchain-anthropic/src/output_parsers.ts @@ -43,6 +43,7 @@ export class AnthropicToolsOutputParser< if (typeof result === "string") { try { parsedResult = JSON.parse(result); + // eslint-disable-next-line @typescript-eslint/no-explicit-any } catch (e: any) { throw new OutputParserException( `Failed to parse. Text: "${JSON.stringify( diff --git a/libs/langchain-anthropic/src/tests/chat_models-tools.int.test.ts b/libs/langchain-anthropic/src/tests/chat_models-tools.int.test.ts index dfe63e849743..7cd53c99a8b6 100644 --- a/libs/langchain-anthropic/src/tests/chat_models-tools.int.test.ts +++ b/libs/langchain-anthropic/src/tests/chat_models-tools.int.test.ts @@ -441,7 +441,7 @@ test("llm token callbacks can handle tool calls", async () => { expect(args).toEqual(JSON.parse(tokens)); }); -test.only("streaming with structured output", async () => { +test("streaming with structured output", async () => { const stream = await model .withStructuredOutput(zodSchema) .stream("weather in london");