Skip to content

Commit b1b29b8

Browse files
committed
lint
1 parent 29f0b95 commit b1b29b8

File tree

1 file changed

+1
-4
lines changed
  • libs/langchain/src/agents/middleware

1 file changed

+1
-4
lines changed

libs/langchain/src/agents/middleware/hitl.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -535,10 +535,7 @@ export function humanInTheLoopMiddleware(
535535
`Invalid edited action for tool "${toolCall.name}": name must be a string`
536536
);
537537
}
538-
if (
539-
!editedAction.args ||
540-
typeof editedAction.args !== "object"
541-
) {
538+
if (!editedAction.args || typeof editedAction.args !== "object") {
542539
throw new Error(
543540
`Invalid edited action for tool "${toolCall.name}": args must be an object`
544541
);

0 commit comments

Comments
 (0)