mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-19 22:54:21 +01:00
⏪ fix: fix bring back the test description for func generation
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user