Skip to content

Commit 160062c

Browse files
committed
Server:Enable ChatON, add missing cmdline usage newline
1 parent e4449c3 commit 160062c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/server/server.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2379,9 +2379,9 @@ static void server_print_usage(const char * argv0, const gpt_params & params, co
23792379
printf(" only commonly used templates are accepted:\n");
23802380
printf(" https://github.com/ggerganov/llama.cpp/wiki/Templates-supported-by-llama_chat_apply_template\n");
23812381
printf(" --chaton-meta-json JsonFile\n");
2382-
printf(" specify the json file containing chat-handshake-template-standard(s)");
2382+
printf(" specify the json file containing chat-handshake-template-standard(s)\n");
23832383
printf(" --chaton-template-id ChatHandshakeTemplateId\n");
2384-
printf(" specify the specific template standard to use from loaded json file");
2384+
printf(" specify the specific template standard to use from loaded json file\n");
23852385
printf("\n");
23862386
}
23872387

examples/server/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
using json = nlohmann::ordered_json;
1717

18-
const bool bOldChatTemplate = true;
18+
const bool bOldChatTemplate = false;
1919

2020
// https://community.openai.com/t/openai-chat-list-of-error-codes-and-types/357791/11
2121
enum error_type {

0 commit comments

Comments
 (0)