We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61500ee commit 2e17ed0Copy full SHA for 2e17ed0
src/semantic-router/pkg/extproc/response_handler.go
@@ -146,7 +146,7 @@ func (r *OpenAIRouter) handleResponseBody(v *ext_proc.ProcessingRequest_Response
146
}
147
148
// Update the cache
149
- if ctx.RequestQuery != "" && responseBody != nil {
+ if ctx.RequestID != "" && responseBody != nil {
150
err := r.Cache.UpdateWithResponse(ctx.RequestID, responseBody)
151
if err != nil {
152
observability.Errorf("Error updating cache: %v", err)
0 commit comments