Convert SerenaConfig and ProjectConfig to dataclasses,

facilitating testing
This commit is contained in:
Dominik Jain authored and Michael Panchenko committed 2025-04-28 16:39:32 +02:00
1 parent 50d1bccd0d
commit 10bbd62aa2
2 files changed
+89 -31

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ from serena.agent import *
project_root = Path(__file__).parent.parent
if __name__ == "__main__":
agent = SerenaAgent(project_file_path=str(project_root / ".serena" / "project.yml"))
agent = SerenaAgent(project_config=str(project_root / ".serena" / "project.yml"))
overview_tool = agent.get_tool(GetSymbolsOverviewTool)
find_symbol_tool = agent.get_tool(FindSymbolTool)