You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: integrations/aws-strands/ARCHITECTURE.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,6 +170,7 @@ This document explains how the AWS Strands integration inside `integrations/aws-
170
170
|`tool_behaviors: Dict[str, ToolBehavior]`| Per-tool overrides keyed by the Strands tool name. |
171
171
|`state_context_builder`| Callable that enriches the outgoing prompt with the current shared state (useful for reiterating plan steps, recipes, etc.). |
172
172
|`session_manager_provider`| Factory invoked once per thread to produce a per-thread `SessionManager`. |
173
+
|`template_tools_provider`| Per-request choice of which of the template agent's tools this request may see, applied to the live per-thread registry. TypeScript's equivalent field is `templateToolsProvider`. |
173
174
|`thread_agent_kwargs`| Callable returning extra constructor kwargs for one thread's `StrandsAgentCore`. TypeScript's `threadAgentConfig` returns a partial `AgentConfig` instead. |
174
175
|`emit_messages_snapshot`| Global opt-out of the four-point `MESSAGES_SNAPSHOT` emission. Default `True`. |
175
176
|`replay_history_into_strands`| Global opt-out of the per-run Strands history reconciliation. Default `True`. |
Copy file name to clipboardExpand all lines: integrations/aws-strands/error-codes.json
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -170,6 +170,12 @@
170
170
"sides": ["python", "typescript"],
171
171
"messages": ["{}"]
172
172
},
173
+
{
174
+
"code": "TEMPLATE_TOOLS_PROVIDER_ERROR",
175
+
"sides": ["python", "typescript"],
176
+
"messages": ["Failed to resolve the template tools for this request: {}"],
177
+
"note": "Reported when the per-request template-tools hook throws. Unlike the per-thread agent hook beside it, the option carries one name on both sides (template_tools_provider / templateToolsProvider) and returns the same thing, a selection of the template's tools, so there is one code and one sentence. Terminal rather than degrading to an unfiltered run: the hook exists to withhold tools from a caller, and failing open would hand the model exactly what the caller meant to keep back."
0 commit comments