File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
src/strands_evals/simulation Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -182,17 +182,6 @@ def __init__(
182182 self .model = model
183183 self .state_registry = state_registry or StateRegistry (max_tool_call_cache_size = max_tool_call_cache_size )
184184 self ._registered_tools : dict [str , RegisteredTool ] = {}
185- self ._initialize_shared_states ()
186-
187- def _initialize_shared_states (self ):
188- """Initialize shared states from registered tools' initial descriptions."""
189- for tool_name , registered_tool in self ._registered_tools .items ():
190- if registered_tool .initial_state_description :
191- state_key = registered_tool .share_state_id or registered_tool .name
192- self .state_registry .initialize_state_via_description (
193- registered_tool .initial_state_description , state_key
194- )
195- logger .info (f"Initialized state for tool '{ tool_name } ' with key '{ state_key } '" )
196185
197186 def _create_tool_wrapper (self , registered_tool : RegisteredTool ):
198187 """
You can’t perform that action at this time.
0 commit comments