Skip to content

Commit da9ff2e

Browse files
committed
revert: change error message back to reference tool
- Revert previous change from 'Module X not found' back to 'Tool X not found' - Keep original error message format as requested 🤖 Assisted by Amazon Q Developer
1 parent 811afab commit da9ff2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/strands/experimental/agent_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def _validate_tools(tools: list[str]) -> None:
9292
)
9393
else:
9494
raise ValueError(
95-
f"Module '{tool}' not found. "
95+
f"Tool '{tool}' not found. "
9696
f"The configured tool is not annotated with @tool, and is not a module or file."
9797
)
9898

0 commit comments

Comments
 (0)