Skip to content

feat: LanguageModelTool API support #752

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
NickCrews opened this issue May 13, 2025 · 0 comments
Open

feat: LanguageModelTool API support #752

NickCrews opened this issue May 13, 2025 · 0 comments

Comments

@NickCrews
Copy link

When I'm using GitHub copilot in agent mode in VSCode, as it is writing files, I want these files to be run through ruff. A good start would just be ruff format so that everything is formatted correctly, but more advanced would be for ruff lint to work so that the model could then auto-apply the fixes. Just the formatting would be great though.

VSCode provides a LanguageModelTool API for extensions. If we added that to this extension, then ruff could advertise to the language model "hey, I have this tool that can format and lint code", and the language model would be able to choose to use it, and apply it automatically ("tool use").

What do you think of this idea?

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

1 participant