Skip to content

Input is partially lost on submission #218

@andrewneilson

Description

@andrewneilson

Describe the bug

This has happened to me maybe 5 times in the last day and I think it might be new since 0.0.334.

I will type a prompt that might have just 2-3 sentences sometimes split across lines. When I submit the prompt, around half the message will get removed and the actual submission ends up being just the first line.

This is very unpredictable and has affected maybe 2% of my prompts.

Here is the most recent example that caused me to come write this. It's some monitoring that sends an AI summary to Slack, although I am paraphrasing part of it since the input was lost (which is the whole problem):

See monitor.js

    I got one of these errors in slack:

    :x: KPI Monitor Error
    API request failed with status 429: {"error":{"code":"RateLimitReached","message":"Rate limit of 160000 per 60s
    exceeded for UserByModelByMinuteTokens. Please wait 26 seconds before retrying.","details":"Rate limit of 160000
    per 60s exceeded for UserByModelByMinuteTokens. Please wait 26 seconds before retrying."}}

1. Rather than sending this type of error to Slack, let's keep it to the console
2. When this does happen, let's publish the raw data to Slack based on our significance threshold

When I submitted this, the whole bottom part (starting with "1. Rather...") was truncated. Other occurrences of this issue were very similar.

Affected version

0.0.334

Steps to reproduce the behavior

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions