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 5000997 commit 89e9874Copy full SHA for 89e9874
core/http/middleware/request.go
@@ -161,8 +161,8 @@ func (re *RequestExtractor) SetOpenAIRequest(ctx *fiber.Ctx) error {
161
correlationID := ctx.Get("X-Correlation-ID", uuid.New().String())
162
ctx.Set("X-Correlation-ID", correlationID)
163
164
- //c1, cancel := context.WithCancel(re.applicationConfig.Context)
165
c1, cancel := context.WithCancel(ctx.Context())
+
166
// Add the correlation ID to the new context
167
ctxWithCorrelationID := context.WithValue(c1, CorrelationIDKey, correlationID)
168
0 commit comments