Skip to content

Conversation

@bishoy-at-pieces
Copy link
Collaborator

Screen.Recording.2025-09-01.at.3.00.19.PM.mov

Copilot AI review requested due to automatic review settings September 1, 2025 12:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds a new 'detect' type for project queries that automatically determines whether to query a selected section or the entire file based on user selection, while also cleaning up some model definitions and error messages.

  • Added intelligent query type detection that switches between section and file queries based on text selection
  • Removed the deprecated Claude 3 Sonnet model from the available models
  • Updated all platform keybindings to use the new 'detect' type instead of 'folder'

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
misc/models/models_command.py Removed deprecated Claude 3 Sonnet model definition
keybindings/Default (Windows).sublime-keymap Updated keybinding to use 'detect' type instead of 'folder'
keybindings/Default (OSX).sublime-keymap Updated keybinding to use 'detect' type instead of 'folder'
keybindings/Default (Linux).sublime-keymap Updated keybinding to use 'detect' type instead of 'folder'
copilot/ask_view.py Cleaned up error message formatting by removing redundant text
copilot/ask_about_command.py Added 'detect' type logic to automatically choose between section and file queries

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Introduces a 'detect' type to PiecesAskStreamAboutCommand to automatically select between section or file queries based on selection. Updates keybindings for all platforms to use 'detect' instead of 'folder'. Removes Claude 3 Sonnet model from ModelsEnum and refines failed phantom content messaging.
@bishoy-at-pieces bishoy-at-pieces merged commit 27aa202 into main Sep 2, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cmd + shift + I open a new copilot dialog without adding the selected code block as a context

2 participants