diff --git a/langchain/src/agents/openai/index.ts b/langchain/src/agents/openai/index.ts index 0761d879d8d3..4d0e95aa8444 100644 --- a/langchain/src/agents/openai/index.ts +++ b/langchain/src/agents/openai/index.ts @@ -253,9 +253,7 @@ export class OpenAIAgent extends Agent { } } - const promptValue = await prompt.formatPromptValue( - valuesForPrompt - ); + const promptValue = await prompt.formatPromptValue(valuesForPrompt); const message = await llm.predictMessages( promptValue.toChatMessages(), valuesForLLM, diff --git a/langchain/src/schema/runnable/base.ts b/langchain/src/schema/runnable/base.ts index b98a39f04c82..3104e215abb0 100644 --- a/langchain/src/schema/runnable/base.ts +++ b/langchain/src/schema/runnable/base.ts @@ -14,7 +14,6 @@ import { Serializable } from "../../load/serializable.js"; import { IterableReadableStream } from "../../util/stream.js"; import { RunnableConfig, getCallbackMangerForConfig } from "./config.js"; import { AsyncCaller } from "../../util/async_caller.js"; -import { StructuredTool } from "../../tools/base.js"; export type RunnableFunc = ( input: RunInput