Send [DONE] for OAI compatibility (#470)

Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
This commit is contained in:
Kawrakow
2025-06-17 10:32:53 +03:00
committed by GitHub
parent 23ac643459
commit b8142a583d
3 changed files with 18 additions and 2 deletions

View File

@@ -223,6 +223,7 @@ struct gpt_params {
int32_t timeout_read = 600; // http read timeout in seconds
int32_t timeout_write = timeout_read; // http write timeout in seconds
int32_t n_threads_http = -1; // number of threads to process HTTP requests
bool send_done = false; // send done message as required for OAI compatibility
std::string hostname = "127.0.0.1";
std::string public_path = "";