Skip to content

Commit 7b8a83e

Browse files
committed
addressed code review comments
Signed-off-by: Nir Rozenbaum <[email protected]>
1 parent 581a6a8 commit 7b8a83e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/epp/scheduling/types/types.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import (
2828

2929
// LLMRequest is a structured representation of the fields we parse out of the LLMRequest body.
3030
type LLMRequest struct {
31+
// Model is the name of the model that the user specified in the request body.
3132
Model string
3233
// ResolvedTargetModel is the final target model after traffic split.
3334
ResolvedTargetModel string
@@ -40,7 +41,8 @@ type LLMRequest struct {
4041
}
4142

4243
func (r *LLMRequest) String() string {
43-
return fmt.Sprintf("Model: %s, ResolvedTargetModel: %s, Critical: %t, PromptLength: %v", r.Model, r.ResolvedTargetModel, r.Critical, len(r.Prompt))
44+
return fmt.Sprintf("Model: %s, ResolvedTargetModel: %s, Critical: %t, PromptLength: %d, Headers: %v",
45+
r.Model, r.ResolvedTargetModel, r.Critical, len(r.Prompt), r.Headers)
4446
}
4547

4648
type Pod interface {

0 commit comments

Comments
 (0)