Onboarding with memory files and thinking tools

This commit is contained in:
Michael Panchenko committed 2025-03-29 14:06:33 +01:00
1 parent b2207d65e8
commit 9931b4ad7a
4 files changed
+239 -39

No files matched your search

+4 -1
View File
@@ -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__":