Skip to content

Problems in prod #12

Description

@tiagobrilhante

When I deploy the nuxt_chat application to Vercel (in production), it behaves strangely...

If I click on a chat generated by `MOCK_DATA and send messages to OpenAI, it responds normally.

However, when I create a new chat (new chat), it opens the input field to type the message, but when I do so, OpenAI doesn't respond.

erros:

D9F4smBe.js:14 TypeError: Cannot read properties of undefined (reading 'id')

D9F4smBe.js:19 POST https://xxxXXXXXxxxx/api/chats/7d760c6f-dd5a-4728-9139-f9149e62ef0f/messages/generate 500 (Internal Server Error)

FetchError: [POST] "/api/chats/7d760c6f-dd5a-4728-9139-f9149e62ef0f/messages/generate": 500

D9F4smBe.js:14 TypeError: Cannot read properties of undefined (reading 'id')

i did not found this issue runing in dev mode

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions