mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 06:17:58 +00:00
Fix test
This commit is contained in:
1 parent
a1d874b29e
commit
6974a24b24
1 file changed
+1
-1
@@ -16,7 +16,7 @@ def test_all_tool_parameters_have_type(context):
|
||||
cfg = SerenaConfig(gui_log_window=False, web_dashboard=False, log_level=logging.ERROR)
|
||||
registry = ToolRegistry()
|
||||
cfg.included_optional_tools = tuple(registry.get_tool_names_optional())
|
||||
factory = SerenaMCPFactory(context=context)
|
||||
factory = SerenaMCPFactory(transport="stdio", context=context)
|
||||
# Initialize the agent so that the tools are available
|
||||
factory.agent = factory._create_serena_agent(cfg)
|
||||
tools = list(factory._iter_tools())
|
||||
|
||||
Reference in new issue
Block a user