meta-vision-api icon indicating copy to clipboard operation
meta-vision-api copied to clipboard

Message from user is never processed

Open chandyego84 opened this issue 4 months ago • 1 comments

getNewMessageLine function blocks the user message from being processed and sent to the AI model https://github.com/dcrebbin/meta-glasses-api/blob/c02ce8e5511d066ab6663fa1d7ef90a1b6b166ea/src/app/content/conversion-screen-view.tsx#L87-L90

But the message line being retrieved is used to send to the AI model: https://github.com/dcrebbin/meta-glasses-api/blob/c02ce8e5511d066ab6663fa1d7ef90a1b6b166ea/src/app/content/conversion-screen-view.tsx#L192-L195

This means the AI model will never receive the message and send a response. This is confirmed when debugging myself, as the user's message line is never retrieved. I feel like I am missing something here...

chandyego84 avatar Sep 22 '25 07:09 chandyego84

Update: Yup, it's my misunderstanding. This is because the response comes from the alternative account. I was having issues creating another Facebook account (Meta can be strict about potential bot policies), so I am thinking it might be a good idea to just consider adding a "program response tag" in the message whenever the program/AI sends a message in chat.

chandyego84 avatar Sep 27 '25 21:09 chandyego84