Skip to content

Commit 9f2eeed

Browse files
committed
fix: Fix adding tool's name for strict while loading toolset.
1 parent 9753ff4 commit 9f2eeed

File tree

1 file changed

+1
-1
lines changed
  • packages/toolbox-core/src/toolbox_core

1 file changed

+1
-1
lines changed

packages/toolbox-core/src/toolbox_core/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ async def load_toolset(
280280
f"unused bound parameters: {', '.join(unused_bound)}"
281281
)
282282
raise ValueError(
283-
f"Validation failed for tool '{name}': { '; '.join(error_messages) }."
283+
f"Validation failed for tool '{tool_name}': { '; '.join(error_messages) }."
284284
)
285285
else:
286286
overall_used_auth_keys.update(used_auth_keys)

0 commit comments

Comments
 (0)