joschan21 / quill

Quill - A Modern SaaS-Platform Built With Next.js 13
1.91k stars 513 forks source link

send Message function not working #102

Open mshabb opened 6 months ago

mshabb commented 6 months ago

why is the file upload status getting called after api/message?

POST /api/uploadthing?slug=pdfUploader 200 in 4471ms ℹ UPLOADTHING 11:56:02 PM [ ℹ UPLOADTHING 11:56:02 PM "Successfully simulated callback for file", ℹ UPLOADTHING 11:56:02 PM "c5614f8e-03ae-4bb2-8898-eac770e08779-o6axjn.pdf" ℹ UPLOADTHING 11:56:02 PM ] POST /api/trpc/getFile?batch=1 200 in 132ms ○ Compiling /dashboard/[fileid] ... ✓ Compiled /dashboard/[fileid] in 7.5s (4605 modules) GET /api/trpc/getFileUploadStatus?batch=1&input=%7B%220%22%3A%7B%22fileId%22%3A%22clvyw9wqg0001mb7zy812njcs%22%7D%7D 200 in 119ms
○ Compiling /api/message ... ✓ Compiled /api/message in 1385ms (2996 modules) POST /api/message 200 in 6875ms GET /api/trpc/getFileUploadStatus?batch=1&input=%7B%220%22%3A%7B%22fileId%22%3A%22clvyw9wqg0001mb7zy812njcs%22%7D%7D 200 in 114ms
GET /api/trpc/getFileUploadStatus?batch=1&input=%7B%220%22%3A%7B%22fileId%22%3A%22clvyw9wqg0001mb7zy812njcs%22%7D%7D 200 in 115ms GET /api/trpc/getFileUploadStatus?batch=1&input=%7B%220%22%3A%7B%22fileId%22%3A%22clvyw9wqg0001mb7zy812njcs%22%7D%7D 200 in 63ms

mshabb commented 6 months ago

after typing the question and hitting send, the response from OpenAI is not showing up while inspecting the page. Instead getFileUploadStatus function is called multiple times

Zem-0 commented 6 months ago

any fix?