diff --git a/src/app/api/playground/chat/route.ts b/src/app/api/playground/chat/route.ts index f62bb0ab..956dc7b5 100644 --- a/src/app/api/playground/chat/route.ts +++ b/src/app/api/playground/chat/route.ts @@ -4,7 +4,6 @@ import { NextRequest, NextResponse } from 'next/server'; import fetch from 'node-fetch'; import https from 'https'; import { PassThrough } from 'stream'; -import '../../../../../envConfig'; export async function POST(req: NextRequest) { try { diff --git a/src/components/Contribute/Knowledge/UploadFile.tsx b/src/components/Contribute/Knowledge/UploadFile.tsx index 75eae440..20fd4bf6 100644 --- a/src/components/Contribute/Knowledge/UploadFile.tsx +++ b/src/components/Contribute/Knowledge/UploadFile.tsx @@ -126,7 +126,7 @@ export const UploadFile: React.FunctionComponent<{ onFilesChange: (files: File[] titleIcon={} titleText="Drag and drop files here" titleTextSeparator="or" - infoText="Accepted file types: PDF, Markdown" + infoText="Accepted file types: Markdown" /> {showStatus && (