From 25f07e8e29729eced0db79a7d5541b8f1b97b8b9 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Sun, 29 Sep 2024 14:47:06 +0800 Subject: [PATCH] fix template error (#2653) ### What problem does this PR solve? #2478 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- agent/templates/general_chat_bot.json | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/agent/templates/general_chat_bot.json b/agent/templates/general_chat_bot.json index fbb94795d..1e46c6e96 100644 --- a/agent/templates/general_chat_bot.json +++ b/agent/templates/general_chat_bot.json @@ -370,8 +370,7 @@ "params": { "cite": false, "frequency_penalty": 0.7, - "llm_id": "gpt-4@OpenAI", - "max_tokens": 256, + "llm_id": "deepseek-chat@DeepSeek", "message_history_window_size": 12, "output": null, "output_var_name": "output", @@ -496,7 +495,7 @@ "message_history_window_size": 22, "output": null, "output_var_name": "output", - "time_period": "now", + "time_period": "7d", "type": "weather", "user_type": "free", "web_apikey": "947e8994bc5f488f8857d618ebac1b19" @@ -1271,7 +1270,7 @@ "frequencyPenaltyEnabled": true, "frequency_penalty": 0.7, "llm_id": "deepseek-chat@DeepSeek", - "maxTokensEnabled": true, + "maxTokensEnabled": false, "max_tokens": 256, "message_history_window_size": 12, "parameter": "Precise", @@ -1688,7 +1687,7 @@ "data": { "form": { "lang": "en", - "time_period": "now", + "time_period": "7d", "type": "weather", "user_type": "free", "web_apikey": "947e8994bc5f488f8857d618ebac1b19" @@ -1719,8 +1718,8 @@ "cite": false, "frequencyPenaltyEnabled": true, "frequency_penalty": 0.7, - "llm_id": "gpt-4@OpenAI", - "maxTokensEnabled": true, + "llm_id": "deepseek-chat@DeepSeek", + "maxTokensEnabled": false, "max_tokens": 256, "message_history_window_size": 12, "parameter": "Precise",