Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send Message function not working #102

Open
mshabb opened this issue May 9, 2024 · 2 comments
Open

send Message function not working #102

mshabb opened this issue May 9, 2024 · 2 comments

Comments

@mshabb
Copy link

mshabb commented May 9, 2024

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
Copy link
Author

mshabb commented May 9, 2024

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
Copy link

Zem-0 commented May 19, 2024

any fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants