diff --git a/core/src/node/api/common/builder.ts b/core/src/node/api/common/builder.ts index 953daa7da..14946f415 100644 --- a/core/src/node/api/common/builder.ts +++ b/core/src/node/api/common/builder.ts @@ -317,6 +317,7 @@ export const chatCompletions = async (request: any, reply: any) => { 'Content-Type': 'text/event-stream', 'Cache-Control': 'no-cache', 'Connection': 'keep-alive', + "Access-Control-Allow-Origin": "*" }) const headers: Record = {