Send [DONE] for OAI compatibility

This commit is contained in:
Iwan Kawrakow
2025-05-29 07:33:05 +03:00
parent 0976467845
commit 1a203fdbc5
3 changed files with 18 additions and 2 deletions

View File

@@ -1234,6 +1234,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];