Skip to content

Commit

Permalink
updated comment to clarify behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
nnshah1 committed Jul 11, 2024
1 parent 1026361 commit 20a3c07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/c++/perf_analyzer/client_backend/openai/openai_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ ChatCompletionClient::AsyncInfer(
triton::client::RequestTimers::Kind::REQUEST_END);
UpdateInferStat(request->timer_);

// Send Response checks if a final
// response has already been sent
// Send final response on request completion
// Ignored if final response has already been sent
// (in the case of seeing [DONE] in streaming case)
request->SendResponse(true /* is_final */, false /* is_null */);
};
Expand Down

0 comments on commit 20a3c07

Please sign in to comment.