mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-15 00:18:04 +00:00
Onboarding with memory files and thinking tools
This commit is contained in:
1 parent
b2207d65e8
commit
9931b4ad7a
4 files changed
+239
-39
No files matched your search
@@ -35,8 +35,11 @@ def main():
|
||||
code = f.read()
|
||||
methods_str = "".join(methods)
|
||||
code = code.replace("# methods", methods_str)
|
||||
with open(f"{package}/llm/prompt_factory.py", "w") as f:
|
||||
|
||||
prompt_factory_module = f"{package}/llm/prompt_factory.py"
|
||||
with open(prompt_factory_module, "w") as f:
|
||||
f.write(code)
|
||||
log.info(f"Prompt factory generated successfully in {prompt_factory_module}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in new issue
Block a user