fix: fix bring back the test description for func generation

This commit is contained in:
Florian Hönicke
2023-05-25 21:23:38 +02:00
parent 8d529a6d18
commit 3911f8bf89
5 changed files with 18 additions and 16 deletions

View File

@@ -182,7 +182,7 @@ def ask_gpt(prompt_template: str, parser=identity_parser, **kwargs):
kwargs[key] = json.dumps(value, indent=4)
prompt = prompt_template.format(**kwargs)
conversation = GPTSession._instance.get_conversation(
[],
[SystemMessage(content='You are a helpful AI assistant that follows instructions from the user exactly.')],
print_stream=os.environ['VERBOSE'].lower() == 'true',
print_costs=False
)