mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 16:15:29 +00:00
Convert SerenaConfig and ProjectConfig to dataclasses,
facilitating testing
This commit is contained in:
1 parent
50d1bccd0d
commit
10bbd62aa2
2 files changed
+89
-31
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user