Skip to content
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

how do we stop it from putting comments in place of code #1016

Open
adamrg73 opened this issue Jan 6, 2025 · 2 comments
Open

how do we stop it from putting comments in place of code #1016

adamrg73 opened this issue Jan 6, 2025 · 2 comments

Comments

@adamrg73
Copy link

adamrg73 commented Jan 6, 2025

Describe the bug

This is a common issue, instead of writing the code it puts something like
//previous code remains the same
and breaks the whole app

how do we stop this?

Link to the Bolt URL that caused the error

...

Steps to reproduce

..

Expected behavior

...

Screen Recording / Screenshot

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Provider Used

No response

Model Used

No response

Additional context

No response

@adamrg73
Copy link
Author

adamrg73 commented Jan 6, 2025

just update it, to always put in the prompt where the user cant see it.
"Absolutely NEVER put comments in place of code where there is supposed to be code!"
that should do the trick

@thecodacus
Copy link
Collaborator

its llm hallucinations updating the system prompt might help but not a guaranteed solution

adding an invisible prompt might help will try and see

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants