From f98fd01dcdc6b53ae9227739fff3574d321d82af Mon Sep 17 00:00:00 2001 From: matatonic <73265741+matatonic@users.noreply.github.com> Date: Thu, 11 May 2023 18:15:11 -0400 Subject: [PATCH] is_chat=False for /edits (#2011) --- extensions/openai/script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/openai/script.py b/extensions/openai/script.py index 90f7c273..5c62ceb2 100644 --- a/extensions/openai/script.py +++ b/extensions/openai/script.py @@ -514,7 +514,7 @@ class Handler(BaseHTTPRequestHandler): if debug: print({'edit_template': edit_task, 'req_params': req_params, 'token_count': token_count}) - generator = generate_reply(edit_task, req_params, stopping_strings=standard_stopping_strings, is_chat=True) + generator = generate_reply(edit_task, req_params, stopping_strings=standard_stopping_strings, is_chat=False) answer = '' for a in generator: