server: Fix has_next_line in JSON response (#10818)

* Update server JSON response.

* Add unit test to check `has_new_line` JSON response

* Remove `has_new_line` unit test changes.

* Address code review comment: type check for `has_new_line` in unit test
This commit is contained in:
Michelle Tan
2024-12-14 22:29:45 +00:00
committed by GitHub
parent e52aba537a
commit 89d604f2c8
3 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,7 @@
#include <vector>
#include <memory>
#define DEFAULT_OAICOMPAT_MODEL "gpt-3.5-turbo-0613"
#define DEFAULT_OAICOMPAT_MODEL "gpt-3.5-turbo"
using json = nlohmann::ordered_json;