Skip to content

Commit

Permalink
chore: lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Oct 16, 2023
1 parent 12cc475 commit 9546e50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions langchain/src/agents/openai/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion langchain/src/schema/runnable/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<RunInput, RunOutput> = (
input: RunInput
Expand Down

0 comments on commit 9546e50

Please sign in to comment.