pieces-app / support

11 stars 1 forks source link

Something broke GPT-4 #145

Closed Oliver-Turp closed 3 months ago

Oliver-Turp commented 3 months ago

Software

Desktop Application

Operating System

Windows

Your Pieces OS Version

8.1.0

Kindly describe the bug and include as much detail as possible on what you were doing so we can reproduce the bug.

I'm not sure what happened, but GPT-4 stopped working. I'm trying to send Thank you for these highlights. I would like to delete the existing users and .pem files and start over using their methodology just to be safe. Please advise on how to do this as a response to an existing conversation and apparently it's too long? image Conversation is dead, full restart does not help. image New conversations works but I have been feeding it context for hours to get it to help me. Starting over would be terrible image

Oliver-Turp commented 3 months ago

Edited the title as I don't think it's connected to any update. Per questions on discord, I found out that all old conversations work fine, and all new conversations work fine. But this one conversation is dead.

mack-at-pieces commented 3 months ago

Hey @Oliver-Turp - Looks like there's at least one message being used as context in the conversation you're having trouble with. Do you mind sharing a screenshot similar to the one here of the context popover to determine how many messages are set as context?

Screenshot 2024-04-01 at 10 59 35 AM

If you "Reset Context" for the conversation that's having problems, does this fix the issue?

Oliver-Turp commented 3 months ago

Sure thing image

And yes, resetting this does fix the issue image

Any reason why this happened? I'd like to avoid it happening again...

mack-at-pieces commented 3 months ago

@Oliver-Turp great to hear. I suppose it's a flaw in our error message (we'll update this) where it's referring to your "prompt", when it's actually referring to the prompt + size of the context you're attempting to use.

Without knowing all of the details of the context you had set, it was likely that the website and/or messages associated included a very large amount of tokens, thus resulting in the "prompt too long" error.

Oliver-Turp commented 3 months ago

I see. Thank you for taking the time to explain this. :) I look forward to this new error message!