From a832cfb343db0d8c2ed91222ce98745265f9c07a Mon Sep 17 00:00:00 2001 From: yuanliang feng <10550655+fyl080801@users.noreply.github.com> Date: Tue, 11 Jul 2023 15:46:40 +0800 Subject: [PATCH] Update common.ts --- app/api/common.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/common.ts b/app/api/common.ts index 3bfe208b..6d6a7d1f 100644 --- a/app/api/common.ts +++ b/app/api/common.ts @@ -35,6 +35,7 @@ export async function requestOpenai(req: NextRequest) { const fetchOptions: RequestInit = { headers: { "Content-Type": "application/json", + "Cache-Control": "no-store", Authorization: authValue, ...(process.env.OPENAI_ORG_ID && { "OpenAI-Organization": process.env.OPENAI_ORG_ID,