Looks like the AI-related code lenses do not show up anymore in VSCode using Copilot.
From looking at the code, it seems to be related to https://github.com/spring-projects/spring-tools/blob/main/vscode-extensions/vscode-spring-boot/lib/copilot/index.ts#L81, which does not return a value (most likely the gpt-4 family is outdated), so we should change this check, I think.
The subsequent call to get the models reveals that there are models available, so I think the first check doesn't make a lot of sense anymore.
Looks like the AI-related code lenses do not show up anymore in VSCode using Copilot.
From looking at the code, it seems to be related to https://github.com/spring-projects/spring-tools/blob/main/vscode-extensions/vscode-spring-boot/lib/copilot/index.ts#L81, which does not return a value (most likely the
gpt-4family is outdated), so we should change this check, I think.The subsequent call to get the models reveals that there are models available, so I think the first check doesn't make a lot of sense anymore.