Skip to content

Commit ab0f8e7

Browse files
authored
Bug fix: Envoy ext_proc 500 error when both value and raw_value are set in HeaderValue (#255)
Signed-off-by: zt2370 <[email protected]>
1 parent c269ba6 commit ab0f8e7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/semantic-router/pkg/extproc/request_handler.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,6 @@ func (r *OpenAIRouter) handleModelRouting(openAIRequest *openai.ChatCompletionNe
508508
setHeaders = append(setHeaders, &core.HeaderValueOption{
509509
Header: &core.HeaderValue{
510510
Key: "x-selected-model",
511-
Value: actualModel,
512511
RawValue: []byte(actualModel),
513512
},
514513
})

0 commit comments

Comments
 (0)