Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .prompt
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ agent = Agent(
callback_handler=custom_handler, # Optional custom output handling
max_parallel_tools=4, # Configure parallel tool execution
record_direct_tool_call=True, # Record direct tool calls in history
load_tools_from_directory=True, # Auto load tools from tools directory
hot_reload_tools=True # Reload tools if changed at runtime
)
```
Expand Down
1 change: 1 addition & 0 deletions src/strands_agents_builder/strands.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def main():
tools=tools,
system_prompt=system_prompt,
callback_handler=callback_handler,
load_tools_from_directory=True,
)

# Process query or enter interactive mode
Expand Down
2 changes: 1 addition & 1 deletion tools/welcome.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from strands import Agent, tool
from strands_tools import load_tool, shell, editor

agent = Agent(tools=[load_tool, shell, editor])
agent = Agent(tools=[load_tool, shell, editor], load_tools_from_directory=True)
```

### 2️⃣ Tool Definition Pattern
Expand Down
Loading