Skip to content

Commit 5b5d832

Browse files
vMaroonliu-cong
andauthored
Apply suggestion from @liu-cong
Co-authored-by: Cong Liu <[email protected]>
1 parent c6eee3f commit 5b5d832

File tree

1 file changed

+1
-1
lines changed
  • pkg/epp/scheduling/framework/plugins/multi/prefix

1 file changed

+1
-1
lines changed

pkg/epp/scheduling/framework/plugins/multi/prefix/plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func hashPrompt(ctx context.Context, request *types.LLMRequest, cacheBlockSize i
278278
prevBlockHash := BlockHash(h.Sum64())
279279
for i := 0; i+cacheBlockSize <= len(userInput); i += cacheBlockSize {
280280
h.Reset()
281-
_, _ = h.Write(userInput[i : i+cacheBlockSize])
281+
h.Write(userInput[i : i+cacheBlockSize])
282282
_, _ = h.Write(toBytes(prevBlockHash))
283283
res = append(res, BlockHash(h.Sum64()))
284284

0 commit comments

Comments
 (0)