mirror of
https://github.com/johndoe6345789/AutoMetabuilder.git
synced 2026-05-04 02:34:54 +00:00
877ba64de8
- 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.
10 lines
254 B
Python
10 lines
254 B
Python
"""Load a callable by dotted path."""
|
|
import importlib
|
|
|
|
|
|
def load_callable(path: str):
|
|
"""Import and return a callable."""
|
|
module_path, attr = path.rsplit(".", 1)
|
|
module = importlib.import_module(module_path)
|
|
return getattr(module, attr)
|