Warn business/enterprise users about org-managed vision capabilities #3381
+59
−0
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.
Business and enterprise users with disabled editor preview features now see a warning when attaching images: "Vision capabilities is managed by your organization."
Implementation
image.tsxafter vision support validation:Original prompt
Implement this plan
[Chronological Review: The conversation began with the user requesting a warning message to be displayed when a user on a business or enterprise SKU has editor preview features disabled and attaches an image to their prompt. The user specified that the warning should state, "Vision capabilities is managed by your organization," and referenced existing implementation for similar warnings. The user then requested to implement this plan, indicating a desire to move forward with the coding task.][Intent Mapping:
[Technical Inventory:
[Code Archaeology: No specific files or functions were mentioned in the recent exchanges, but the user referenced existing implementations for warnings related to image attachments.]
[Progress Assessment: The user has outlined a clear requirement and is ready to implement the warning feature. No coding has been completed yet, as the user just requested the implementation.]
[Context Validation: The user’s request for a warning message is clear, and they have provided specific conditions under which it should be displayed. The reference to existing implementations indicates that the user expects a similar approach.]
[Recent Commands Analysis:
1. Conversation Overview: - Primary Objectives: The user requested a warning message for users on business or enterprise SKUs with disabled editor preview features when they attach an image, stating, "Vision capabilities is managed by your organization." - Session Context: The conversation flowed from outlining the requirement to requesting implementation, indicating a clear path toward coding the feature. - User Intent Evolution: The user’s needs remained consistent, focusing on implementing a specific warning feature based on existing functionality.- Technical Foundation:
- Core Technology: The project is related to the "vscode-copilot-chat" repository, likely involving JavaScript or TypeScript.
- Framework/Library: Potential use of UI frameworks for displaying warnings, though specifics were not mentioned.
- Architectural Pattern: The warning mechanism needs to integrate with existing chat functionalities.
- Codebase Status:
- No specific files were discussed, but the user referenced existing implementations for warnings related to image attachments.
- Problem Resolution:
- Issues Encountered: None reported yet, as the implementation phase has not begun.
- Solutions Implemented: No solutions have been implemented yet.
- Debugging Context: No ongoing troubleshooting efforts were mentioned.
- Lessons Learned: No insights have been documented as the conversation is still in the planning phase.
- Progress Tracking:
- Completed Tasks: No tasks have been completed yet.
- Partially Complete Work: The user has outlined the requirement and is ready to implement the warning feature.
- Validated Outcomes: No features have been confirmed working through testing yet.
- Active Work State:
- Current Focus: The user is focused on implementing a warning feature for image attachments.
- Recent Context: The last few exchanges involved the user specifying the warning message and conditions for display.
- Working Code: No specific code snippets were discussed recently.
- Immediate Context: The user was preparing to implement the warning feature when the summary was triggered.
- Recent Operations:
- Last Agent Commands: The user requested to implement the warning feature based on their specifications.
- Tool Results Summary: No tool results were returned as the conversation focused on user requests.
- Pre-Summary State: The agent was actively preparing to implement th...
Created from VS Code.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.