Skip to content

Commit 42c4489

Browse files
committed
Update server JSON response.
1 parent 11e07fd commit 42c4489

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/server/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ struct server_task_result_cmpl_final : server_task_result {
459459
int32_t n_decoded;
460460
int32_t n_prompt_tokens;
461461
int32_t n_tokens_cached;
462-
int32_t has_new_line;
462+
bool has_new_line;
463463
std::string stopping_word;
464464
stop_type stop = STOP_TYPE_NONE;
465465

examples/server/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <vector>
2323
#include <memory>
2424

25-
#define DEFAULT_OAICOMPAT_MODEL "gpt-3.5-turbo-0613"
25+
#define DEFAULT_OAICOMPAT_MODEL "gpt-3.5-turbo"
2626

2727
using json = nlohmann::ordered_json;
2828

0 commit comments

Comments
 (0)