Repository navigation
Enable Copilot tool images in API-proxy mode - #11417
Merged
Merged
Conversation
Co-authored-by: lpcox <[email protected]>
Copilot
AI
changed the title
[WIP] Set COPILOT_PROVIDER_VISION for tool images visibility
Enable Copilot tool images in API-proxy mode
Nov 10, 2026
lpcox
marked this pull request as ready for review
November 10, 2026 16:32
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the change enabling tool-returned images in Copilot’s API-proxy mode.
No open issues 🎉
What changed in this PR
Enables tool-returned images for Copilot in AWF’s API-proxy mode, addressing #11407 while preserving explicit user overrides.
Changes:
- Defaults
COPILOT_PROVIDER_VISIONtotruealongside offline mode. - Adds tests for the default and explicit
true/falseoverrides. - Documents the Copilot CLI 1.0.106+ requirement, gh-aw version selection, and text-only opt-out.
| File | Description |
|---|---|
src/services/credentials/copilot-credential-env.ts |
Enables vision by default while preserving configured values. |
src/services/credentials/copilot-credential-env.test.ts |
Tests the vision default and explicit overrides. |
src/services/api-proxy-service-api-targets.test.ts |
Verifies vision settings in the generated agent environment. |
docs/environment.md |
Explains version requirements and override options. |
Review effort: Balanced (auto)
Collaborator
|
@copilot merge main and resolve conflicts |
Co-authored-by: lpcox <[email protected]>
Contributor
Author
Contributor
|
✅ Copilot review passed with no inline comments. @copilot Add the |
Contributor
Documentation PreviewDocumentation has been built for this PR. To view locally:
Built from commit ea5574f |
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Copilot’s offline BYOK mode treats models as text-only unless vision is explicitly enabled, preventing tool-returned images from reaching the model.
COPILOT_PROVIDER_VISION=truealongsideCOPILOT_OFFLINE, preserving user-supplied overrides.Text-only providers can opt out with
--env COPILOT_PROVIDER_VISION=false.