mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 06:15:43 +00:00
New feature: allow users to override prompts. Extended CLI for that
This commit is contained in:
1 parent
d624c1c0b9
commit
caa2c545e4
4 files changed
+99
-6
No files matched your search
@@ -7,14 +7,14 @@ from pathlib import Path
|
||||
from sensai.util import logging
|
||||
|
||||
from interprompt import autogenerate_prompt_factory_module
|
||||
from serena.constants import PROMPT_TEMPLATES_DIR, REPO_ROOT
|
||||
from serena.constants import PROMPT_TEMPLATES_DIR_INTERNAL, REPO_ROOT
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def main():
|
||||
autogenerate_prompt_factory_module(
|
||||
prompts_dir=PROMPT_TEMPLATES_DIR,
|
||||
prompts_dir=PROMPT_TEMPLATES_DIR_INTERNAL,
|
||||
target_module_path=str(Path(REPO_ROOT) / "src" / "serena" / "generated" / "generated_prompt_factory.py"),
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user