Skip to content

Commit c6eee3f

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

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
@@ -274,7 +274,7 @@ func hashPrompt(ctx context.Context, request *types.LLMRequest, cacheBlockSize i
274274
res := make([]BlockHash, 0, len(userInput)/cacheBlockSize)
275275
// Add the model to the first block hash so that different models have different hashes even with the same body.
276276
h := xxhash.New()
277-
_, _ = h.Write([]byte(request.TargetModel))
277+
h.Write([]byte(request.TargetModel))
278278
prevBlockHash := BlockHash(h.Sum64())
279279
for i := 0; i+cacheBlockSize <= len(userInput); i += cacheBlockSize {
280280
h.Reset()

0 commit comments

Comments
 (0)