-
Notifications
You must be signed in to change notification settings - Fork 2k
Code Mode API and LSP #4089
Copy link
Copy link
Open
Labels
enhancementImprovement to existing functionality. For issues and smaller PR improvements.Improvement to existing functionality. For issues and smaller PR improvements.proposalA proposal for a feature or enhancement either requiring or seeking comments on its design.A proposal for a feature or enhancement either requiring or seeking comments on its design.
Metadata
Metadata
Assignees
Labels
enhancementImprovement to existing functionality. For issues and smaller PR improvements.Improvement to existing functionality. For issues and smaller PR improvements.proposalA proposal for a feature or enhancement either requiring or seeking comments on its design.A proposal for a feature or enhancement either requiring or seeking comments on its design.
Enhancement
I think that LLM's will have trouble, even with schema, writing code calls like this:
What we need is to have a resource, given a list of tool names, a python API, like so:
The LLM can retrieve this from a resource or a prompt with a parameter taking a list of tool names.
The code executor can have this preprended to the top of any code its executing.
Then we can run an LSP on the code before we even pass it to the execution environment and return detailed syntax errors too.
Hope this isn't a duplicate.