Skip to content

Commit 53eaf01

Browse files
authored
fix: Rename 'arguments' to 'args' in action requests
1 parent 0d0bc0f commit 53eaf01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/oss/langchain/human-in-the-loop.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ print(result['__interrupt__'])
185185
# > 'action_requests': [
186186
# > {
187187
# > 'name': 'execute_sql',
188-
# > 'arguments': {'query': 'DELETE FROM records WHERE created_at < NOW() - INTERVAL \'30 days\';'},
188+
# > 'args': {'query': 'DELETE FROM records WHERE created_at < NOW() - INTERVAL \'30 days\';'},
189189
# > 'description': 'Tool execution pending approval\n\nTool: execute_sql\nArgs: {...}'
190190
# > }
191191
# > ],
@@ -236,7 +236,7 @@ console.log(result.__interrupt__);
236236
// > action_requests: [
237237
// > {
238238
// > name: 'execute_sql',
239-
// > arguments: { query: 'DELETE FROM records WHERE created_at < NOW() - INTERVAL \'30 days\';' },
239+
// > args: { query: 'DELETE FROM records WHERE created_at < NOW() - INTERVAL \'30 days\';' },
240240
// > description: 'Tool execution pending approval\n\nTool: execute_sql\nArgs: {...}'
241241
// > }
242242
// > ],

0 commit comments

Comments
 (0)