-
Notifications
You must be signed in to change notification settings - Fork 563
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
Adding Generative AI Features to DartPad #3135
base: main
Are you sure you want to change the base?
Conversation
… Markdown code blocks
…ys there's a fix for an issue
…dget for keyboard shortcuts
…user's last prompt
…utton (spark) in each error line in the problems area.
PR HealthBreaking changes ✔️
Changelog Entry ✔️
Changes to files need to be accounted for in their respective changelogs. Coverage ✔️
This check for test coverage is informational (issues shown here will not fail the PR). API leaks ✔️The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.
License Headers ✔️
All source files should start with a license header. Unrelated files missing license headers
|
I created a commit to add the license header to the three files mentioned and pushed it to my branch on github; I'm not sure why it's not showing up in the list of commits above. |
Thanks, @johnpryan. I haven't seen that behavior in a month of testing. It works on my machine. : ) Can you let me know what you were doing so that I can repro? |
I ran this branch locally and clicked on one of the suggested prompts |
@johnpryan have you changed anything? I can't get that to repro on my box. |
Weird, I see it happen about 80% of the time. Let me know if you need any more details |
This PR adds the following generative AI features to DartPad:
Suggest Fix button added to the console to suggest a fix for a run-time error using the Gemini LLM
Suggest Fix button added to each error to suggest a fix for a compile-time using the Gemini LLM
Gemini | Generate Code menu item that provides a Prompt dialog containing the following features:
Gemini | Update Code menu item that provides a Prompt dialog with the following differences: