Files
AutoMetabuilder/backend/autometabuilder/tools_loader.py
T
git 877ba64de8 Introduce AutoMetabuilder core components and workflow packages:
- Implement core components: CLI argument parsing, environment loading, GitHub service creation, and logging configuration.
- Add support for OpenAI client setup and model resolution.
- Develop SDLC context loader from GitHub and repository files.
- Implement workflow context and engine builders.
- Introduce major workflow packages: `game_tick_loop` and `contextual_iterative_loop`.
- Update localization files with new package descriptions and labels.
- Streamline web navigation by loading items from a dedicated JSON file.
2026-01-10 00:45:46 +00:00

11 lines
330 B
Python

"""Load tool specs from JSON."""
import json
import os
def load_tools(metadata: dict) -> list:
"""Load tool specs from metadata reference."""
tools_path = os.path.join(os.path.dirname(__file__), metadata.get("tools_path", "tools.json"))
with open(tools_path, "r", encoding="utf-8") as f:
return json.load(f)