v1

latestOpenAPI 3.0.0raw.githubusercontent.com2025-03-1031412.6 KB

Invoker

Judge the type of referenceable information of next edit.

For previous edits, this model takes the latest one and then compares it with earlier ones to determine the behavior (called an edit composition type) of the last edit, among rename, def&ref, clone and normal.

If the last edit is a normal edit, this function will pass it to the locator and return predicted edit labels. Otherwise, it will send the edit composition type to the front end.

post/predict/invoker

Request body

languagestring

Supported VS Code language-id of the input text

commitMsgstring

A message precisely describing of the current edit

filesobject

All files to be scanned for potential edit locations

lspServiceName'def&ref' | 'clone' | 'diagnose' | 'normal'

Name of the predicted edit composition type before querying locator

Response

Success

OR