Skip to content

Commit 483252d

Browse files
araujofpsschwei
andcommitted
refactor: rename local run_hooks variable
Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com> Co-authored-by: Paul Schweigert <paul@paulschweigert.com>
1 parent 4f758bc commit 483252d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mellea/stdlib/functional.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ async def _acall_tools(result: ModelOutputThunk, backend: Backend) -> list[ToolM
12921292
return outputs
12931293

12941294
for name, tool in tool_calls.items():
1295-
_run_hooks = not (skip_hooks_for_internal_tools() and is_internal_tool(name))
1295+
run_hooks = not (skip_hooks_for_internal_tools() and is_internal_tool(name))
12961296

12971297
# --- tool_pre_invoke ---
12981298
if _run_hooks and has_plugins(HookType.TOOL_PRE_INVOKE):

0 commit comments

Comments
 (0)