8000 Crashing when editing system prompts. · Issue #642 · blinkospace/blinko · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Crashing when editing system prompts. #642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open 8000
dervish666 opened this issue Apr 16, 2025 · 1 comment
Open

Crashing when editing system prompts. #642

dervish666 opened this issue Apr 16, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@dervish666
Copy link

Describe the bug
Trying to update the system prompt in Settings/AI/Ai post processing. Was attempting to add more text to the current prompt, but as soon as I've typed in a certain number of characters the site crashes and needs reloading.

Getting the error:
Application error: a client-side exception has occurred while loading notes.brisflix.com (see the browser console for more information).

To Reproduce
Steps to reproduce the behavior:
Go to settings/AI/AI post processing and add to the prompts, after about 30 or so characters the website will crash.

Expected behavior
Expected it to take more text and save the prompt

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Unraid container
  • Browser chrome
  • Version latest

Additional context
Console logs below...

router.query Object
_app-221b2428cbe9b5c9.js:235 router.query Object
_app-221b2428cbe9b5c9.js:234 Array(12) 'listTags'
_app-221b2428cbe9b5c9.js:188 An aria-label or aria-labelledby prop is required for accessibility.
(anonymous) @ _app-221b2428cbe9b5c9.js:188Understand this warning
_app-221b2428cbe9b5c9.js:4 If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
a @ _app-221b2428cbe9b5c9.js:4Understand this warning
2_app-221b2428cbe9b5c9.js:188 An aria-label or aria-labelledby prop is required for accessibility.
(anonymous) @ _app-221b2428cbe9b5c9.js:188Understand this warning
3_app-221b2428cbe9b5c9.js:4 If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
a @ _app-221b2428cbe9b5c9.js:4Understand this warning
3_app-221b2428cbe9b5c9.js:1698 WARN: A component changed from controlled to uncontrolled.
(anonymous) @ _app-221b2428cbe9b5c9.js:1698Understand this warning
2_app-221b2428cbe9b5c9.js:4 If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
a @ _app-221b2428cbe9b5c9.js:4Understand this warning
settings:1 [DOM] Password field is not contained in a form: (More info: https://goo.gl/9p2vKq) null
_app-221b2428cbe9b5c9.js:188 An aria-label or aria-labelledby prop is required for accessibility.
(anonymous) @ _app-221b2428cbe9b5c9.js:188Understand this warning
39_app-221b2428cbe9b5c9.js:4 If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
a @ _app-221b2428cbe9b5c9.js:4Understand this warning
2_app-221b2428cbe9b5c9.js:466 Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at ob (framework-3a77a74763091cf6.js:1:99356)
at aB (framework-3a77a74763091cf6.js:1:70469)
at onHeightChange (_app-221b2428cbe9b5c9.js:188:749848)
at N (app-221b2428cbe9b5c9.js:188:748719)
at uD (framework-3a77a74763091cf6.js:1:90793)
at uK (framework-3a77a74763091cf6.js:1:97173)
at e (framework-3a77a74763091cf6.js:1:117778)
at framework-3a77a74763091cf6.js:1:117789
at oD (framework-3a77a74763091cf6.js:1:118301)
at o
(framework-3a77a74763091cf6.js:1:102921)
at r4 (framework-3a77a74763091cf6.js:1:51575)
at oP (framework-3a77a74763091cf6.js:1:103223)
at eM (framework-3a77a74763091cf6.js:1:20854)
at ru (framework-3a77a74763091cf6.js:1:41938)
at nI (framework-3a77a74763091cf6.js:1:27606)
at nO (framework-3a77a74763091cf6.js:1:27390)
console.error @ _app-221b2428cbe9b5c9.js:466Understand this error
_app-221b2428cbe9b5c9.js:466 A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
console.error @ _app-221b2428cbe9b5c9.js:466Understand this error
_app-221b2428cbe9b5c9.js:466 Element with ID 'page-wrap' not found
console.error @ _app-221b2428cbe9b5c9.js:466Understand this error
_app-221b2428cbe9b5c9.js:466 Element with ID 'outer-container' not found
console.error @ _app-221b2428cbe9b5c9.js:466Understand this error
_app-221b2428cbe9b5c9.js:235 router.query Object
_app-221b2428cbe9b5c9.js:235 router.query Object
_app-221b2428cbe9b5c9.js:234 Array(12) 'listTags'

Copy link
dosubot bot commented Apr 16, 2025

The issue you're experiencing seems to be related to a client-side exception that occurs when editing the system prompt in the AI post-processing settings. This crash might be due to exceeding a character limit or an infinite loop caused by state updates.

Here are a few steps you can take to address this issue:

  1. Check for Character Limits: Although I couldn't find specific information about a character limit for the system prompt input field, it's possible that there is an implicit limit causing the crash. Try reducing the input length to see if it prevents the crash.

  2. Error Boundaries: Implementing error boundaries around the component responsible for editing the system prompt can help catch and handle errors gracefully, preventing the application from crashing. This is especially useful for managing client-side exceptions.

  3. Debugging: Use the non-minified development build of React to get more detailed error messages. This can help identify the exact cause of the crash, such as a component switching from controlled to uncontrolled, which is mentioned in your console logs.

  4. Console Warnings: Address any accessibility warnings related to aria-label or aria-labelledby attributes, as these might be contributing to the issue.

By following these steps, you should be able to mitigate the crash and improve the stability of the application when editing system prompts.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot dosubot bot added the bug Something isn't working label Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant
0