Updated function for setting up the convo in playground

This commit is contained in:
Zvonimir Sabljic
2023-08-01 17:20:16 +02:00
parent b9165a66e8
commit 9aa1ea697b
2 changed files with 15 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ class AgentConvo:
print(f"{content}\n")
logger.info(f"{print_msg}: {content}\n")
def to_playground(self, path):
def to_playground(self):
with open('const/convert_to_playground_convo.js', 'r', encoding='utf-8') as file:
content = file.read()
process = subprocess.Popen('pbcopy', stdin=subprocess.PIPE)