Skip to content

Commit

Permalink
updating prompt_too_long error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchitharajaghatta committed Oct 15, 2024
1 parent 25abe51 commit 6d015ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ describe('GenerativeAIInput Component', function () {
],
[
'PROMPT_TOO_LONG',
'Sorry, your prompt is too long and has exceeded the token limit. Please try using this feature with a shorter prompt.',
'Sorry, your request is too large. Please use a smaller prompt or try using this feature on a collection with smaller documents.',
],
[
'TOO_MANY_REQUESTS',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ const AIError = ({
// able to fix the issue on their own it cases where the schema is too big.
return (
<>
Sorry, your collections have too many fields to process. Please try
Sorry, your request is too large. Please use a smaller prompt or try
using this feature on a collection with smaller documents.
</>
);
Expand Down

0 comments on commit 6d015ab

Please sign in to comment.