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 0f8f8b32e2
commit 8b3002bba2
3 changed files with 18 additions and 2 deletions

View File

@@ -1266,6 +1266,10 @@ bool gpt_params_find_arg(int argc, char ** argv, const std::string & arg, gpt_pa
params.port = std::stoi(argv[i]);
return true;
}
if (arg == "--send-done") {
params.send_done = true;
return true;
}
if (arg == "--path") {
CHECK_ARG
params.public_path = argv[i];