From b1b0fa850ab6335979e67d1ee1694498437b48ea Mon Sep 17 00:00:00 2001 From: FlorentLvr <48032461+FlorentLvr@users.noreply.github.com> Date: Mon, 11 Dec 2023 14:02:09 +0100 Subject: [PATCH] fix: add system as naas_chat_plugin default prompt type --- naas_drivers/tools/naas_chat_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/naas_drivers/tools/naas_chat_plugin.py b/naas_drivers/tools/naas_chat_plugin.py index 75e5dfb3..4c3305ae 100644 --- a/naas_drivers/tools/naas_chat_plugin.py +++ b/naas_drivers/tools/naas_chat_plugin.py @@ -81,7 +81,7 @@ def create_plugin( commands=[], description="", avatar="", - prompt_type="", + prompt_type="system", ): """ Creates a JSON file for a chat plugin with specified parameters and saves it to the specified output path.