Skip to content

Commit

Permalink
Update core/http/endpoints/openai/chat.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ettore Di Giacinto <[email protected]>
Signed-off-by: siddimore <[email protected]>
  • Loading branch information
siddimore and mudler authored Sep 27, 2024
1 parent c298c1a commit 03e3179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/http/endpoints/openai/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func ChatEndpoint(cl *config.BackendConfigLoader, ml *model.ModelLoader, startup
if len(strings.TrimSpace(correlationID)) == 0 {
correlationID = id
}
c.Set("X-correlationID", correlationID)
c.Set("X-Correlation-ID", correlationID)

modelFile, input, err := readRequest(c, cl, ml, startupOptions, true)
if err != nil {
Expand Down

0 comments on commit 03e3179

Please sign in to comment.