From 98ab46b0272c367972b18965d0b1f7f58c2dbbda Mon Sep 17 00:00:00 2001 From: Siddharth More Date: Fri, 27 Sep 2024 12:19:36 +0200 Subject: [PATCH] Update core/http/endpoints/openai/chat.go Signed-off-by: Ettore Di Giacinto Signed-off-by: Siddharth More --- core/http/endpoints/openai/chat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/http/endpoints/openai/chat.go b/core/http/endpoints/openai/chat.go index 8cd20174569..1ac1387eed3 100644 --- a/core/http/endpoints/openai/chat.go +++ b/core/http/endpoints/openai/chat.go @@ -450,7 +450,7 @@ func ChatEndpoint(cl *config.BackendConfigLoader, ml *model.ModelLoader, startup c.Set("Cache-Control", "no-cache") c.Set("Connection", "keep-alive") c.Set("Transfer-Encoding", "chunked") - c.Set("X-correlationID", id) + c.Set("X-Correlation-ID", id) responses := make(chan schema.OpenAIResponse)