|
@@ -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,
|