Fix incorrect languageModel.enabled diagnostic warning on plugins#343
Conversation
Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
missingLanguageModel warnings when languageModel.enabled is absent
|
@copilot I think you've misunderstood, we can just update the properties in https://github.com/dev-proxy-tools/toolkit/blob/main/src/data/plugins.json for these plugins |
Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
Updated as requested in commit |
missingLanguageModel warnings when languageModel.enabled is absentmissingLanguageModel warnings by updating language model plugin metadata
… plugins languageModel is optional, not required — it enhances output for plugins that can use a local model. Updated metadata to mark the three plugins that actually use it (OpenAIMockResponsePlugin, OpenApiSpecGeneratorPlugin, TypeSpecGeneratorPlugin) and downgraded diagnostic from Warning to Information. Fixes #342
…model-warning-issue
|
@copilot update this PR description based on the actual fix in the commit |
Updated the PR description to match the actual fix from |
missingLanguageModel warnings by updating language model plugin metadatamissingLanguageModel warnings by using usesLanguageModel plugin metadata
|
@copilot fix the failing test |
Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
Fixed in Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot fix the failing tests on windows |
Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
Fixed in |
|
@copilot the test is still failing |
Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
Fixed in Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot in the readme and changelog, I feel like we are missing a quick fix that we have added in this PR |
Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
Updated in |
| ### Fixed: | ||
|
|
||
| - Diagnostics: Language model diagnostic now correctly targets plugins that can use a local language model (OpenAIMockResponsePlugin, OpenApiSpecGeneratorPlugin, TypeSpecGeneratorPlugin) and shows as an informational hint instead of a warning | ||
| - Quick Fixes: Enable local language model fix now adds or updates `languageModel.enabled: true` for supported plugins only |
There was a problem hiding this comment.
@copilot this should be included in a new section called Added, we didn't fix it, we added it.
There was a problem hiding this comment.
Updated in b9fb471. I moved that quick-fix entry into a new Added section under 1.13.0 and left the diagnostics item under Fixed. Screenshot: https://github.com/user-attachments/assets/6fa9af5d-9a9e-4b4c-8485-70dac16a1b01
Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
missingLanguageModel warnings by using usesLanguageModel plugin metadata
Addedsection for 1.13.0Original prompt
languageModel.enabledproperty not present #342💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.