Files
sci-gui-agent-benchmark/mm_agents/maestro/prompts/__init__.py
Hiroid 3a4b67304f Add multiple new modules and tools to enhance the functionality and extensibility of the Maestro project (#333)
* Added a **pyproject.toml** file to define project metadata and dependencies.
* Added **run\_maestro.py** and **osworld\_run\_maestro.py** to provide the main execution logic.
* Introduced multiple new modules, including **Evaluator**, **Controller**, **Manager**, and **Sub-Worker**, supporting task planning, state management, and data analysis.
* Added a **tools module** containing utility functions and tool configurations to improve code reusability.
* Updated the **README** and documentation with usage examples and module descriptions.

These changes lay the foundation for expanding the Maestro project’s functionality and improving the user experience.

Co-authored-by: Hiroid <guoliangxuan@deepmatrix.com>
2025-09-08 16:07:21 +09:00

34 lines
701 B
Python

from .registry import (
prompt_registry,
get_prompt,
register_prompt,
list_prompts,
list_prompts_by_prefix,
refresh_prompts,
module,
)
__all__ = [
"prompt_registry",
"get_prompt",
"register_prompt",
"list_prompts",
"list_prompts_by_prefix",
"refresh_prompts",
"module",
]
"""
from gui_agents.prompts import module
text = module.evaluator.final_check_role
text2 = module.manager.planner_role
text3 = module.system_architecture
from gui_agents.prompts import module, refresh_prompts
print(len(module.evaluator.final_check_role)) # 0 now
# After you fill prompts/module/evaluator/final_check_role.txt ...
refresh_prompts()
print(len(module.evaluator.final_check_role)) # now > 0
"""