Skip to content

Commit 0b7c39e

Browse files
committed
Fix comments on prefill arg in completion request interface
Signed-off-by: Qifan Deng <[email protected]>
1 parent 06f6e42 commit 0b7c39e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/openai-server-api/request.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ type CompletionRequest interface {
5353
GetToolChoice() string
5454
// GetMaxCompletionTokens returns the maximum completion tokens requested
5555
GetMaxCompletionTokens() *int64
56-
// IsDoRemoteDecode() returns true if do_remote_decode field is true in the request, this means that this is prefill request
56+
// IsDoRemoteDecode() returns true if do_remote_decode field is true in the request, this means that this is decode request
5757
IsDoRemoteDecode() bool
58-
// IsDoRemotePrefill() returns true if do_remote_prefill field is true in the request, this means that this is decode request
58+
// IsDoRemotePrefill() returns true if do_remote_prefill field is true in the request, this means that this is prefill request
5959
IsDoRemotePrefill() bool
6060
}
6161

0 commit comments

Comments
 (0)