From ac01d5b2f67673eaff2ee527cb772ef8c7248c24 Mon Sep 17 00:00:00 2001 From: dbth <1097224+believethehype@users.noreply.github.com> Date: Thu, 3 Oct 2024 20:12:36 +0200 Subject: [PATCH] Update generic_dvm_duck_chat.py --- tests/generic_dvm_duck_chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic_dvm_duck_chat.py b/tests/generic_dvm_duck_chat.py index 0c6492d..38d2bee 100644 --- a/tests/generic_dvm_duck_chat.py +++ b/tests/generic_dvm_duck_chat.py @@ -56,7 +56,7 @@ def playground(announce=False): from duck_chat import DuckChat options = dvm.set_options(request_form) async with DuckChat(model=ModelType.GPT4o) as chat: - query = ("{role: system, content: " + options["system_prompt"] + "}" +" {role: user: content:" + options["input"]+ "}") + query = ("{role: system, content: " + options["system_prompt"] + "}" +" {role: user, content:" + options["input"]+ "}") result = await chat.ask_question(query) print(result) return result