Skip to content

[5.0.x] ai-related code lenses around Copilot do not show up #1746

@martinlippert

Description

@martinlippert

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.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions