Repository navigation
Prototype LLM Feature in the CircuitPython web editor - #605
Draft
makermelissa wants to merge 2 commits into
Draft
makermelissa wants to merge 2 commits into
makermelissa wants to merge 2 commits into
Conversation
Member
|
Got a screenshot of this? I really think we should go AI first and only view code to comment on specific parts of it like crit.md does. |
Collaborator
Author
Collaborator
Author
|
I think the editor should also work without AI for folks who don't have it set up and this approach does that. The only downside to this approach is that users would need to add API keys for each device because it's stored on the device itself. |
Collaborator
Author
|
If you think we should take a different approach, then I'm all for it. I just wanted to start by getting something up that worked. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
The code in this pull request was generated by OpenAI Codex.
This draft explores an AI Feature panel for the CircuitPython web editor. It relates to #604 and runs in a loopback-only development mode with OpenAI or Claude keys stored locally.
Try it locally
Run
npm run dev:ai, open the local editor, add a provider key in Settings, and open the AI panel. Applying a request sends the prompt and current Python buffer to the selected provider.Validation