-
Notifications
You must be signed in to change notification settings - Fork 334
[VSC-1684] Run idf command from IDE AI Chat #1621
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
base: master
Are you sure you want to change the base?
Conversation
Download the artifacts for this pull request: |
Pull request has been marked as |
f1b5485
to
056811e
Compare
c1e14df
to
f62277d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, LGTM.
There is some commented code, PTAL before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed commands are working, and the AI agent has access to the results of running the commands to decide next steps and perform tasks that requires more than one command.
The AI chat itself has issues to chose a command or use a terminal command, but on the prompt request it can be asked to use the extension commands instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
However, when I installed the extension and restarted, it wasn't able to identify the correct commands - it was pointing to the idf.py commands instead.
When I opened a new chat window, it started working fine - able to build and flash successfully.
d4691b3
to
235549a
Compare
Description
Allow AI Chat to run common extension commands with natural language for example
build the project
,idf.py build
or explicitly calling the tool with#espIdfCommands build
This allow the LLM to consume the extension commands as tool to perform common ESP-IDF tasks.
Type of change
Steps to test this pull request
Provide a list of steps to test changes in this PR and required output
Run ESP-IDF Command
prompt asking you for permission to run the the tool. The vscode esp-idf extension command would be executed.The vscode esp-idf extension command would be executed based on the given prompt.
You should see a
Run ESP-IDF Command
prompt asking you for permission to run the the tool. The vscode esp-idf extension command would be executed.How has this been tested?
Manual testing as described above.
Test Configuration:
Checklist