Skip to content

Commit

Permalink
Merge pull request #69 from nerdalert/file-type
Browse files Browse the repository at this point in the history
Change the accepted filetype msg to Markdown only
  • Loading branch information
vishnoianil authored Jul 23, 2024
2 parents a982f0a + 19d8cc1 commit 29f8dcd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/app/api/playground/chat/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Contribute/Knowledge/UploadFile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const UploadFile: React.FunctionComponent<{ onFilesChange: (files: File[]
titleIcon={<UploadIcon />}
titleText="Drag and drop files here"
titleTextSeparator="or"
infoText="Accepted file types: PDF, Markdown"
infoText="Accepted file types: Markdown"
/>
{showStatus && (
<MultipleFileUploadStatus
Expand Down

0 comments on commit 29f8dcd

Please sign in to comment.