Skip to content

Conversation

joshspicer
Copy link
Member

closes #259967

@joshspicer joshspicer enabled auto-merge (squash) August 27, 2025 21:58
@vs-code-engineering vs-code-engineering bot added this to the August 2025 milestone Aug 27, 2025
/**
* Options for the session
*/
readonly options?: {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe capabilities? And should this be on the provider instead if it's going to be the same for all sessions from it? Something like:

registerChatSessionContentProvider(type, provider, capabilities?: { supportsHotReload? boolean })

Copy link
Member Author

Choose a reason for hiding this comment

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

Nice, I like capabilities.

* Useful when the chat session can handle interruptions gracefully, e.g. when the chat session pulls
* from a remote provider and can be reattached to.
*/
readonly supportsHotReload?: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

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

hot reload as a name doesn't feel quite right to me. Maybe something like supportsInterruptions?

@joshspicer
Copy link
Member Author

@copilot make the PR suggestions

Copy link
Collaborator

@mjbvz mjbvz left a comment

Choose a reason for hiding this comment

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

Thanks for making the changes. API look is looking good

@joshspicer joshspicer merged commit 509d9f4 into main Aug 27, 2025
18 checks passed
@joshspicer joshspicer deleted the gothic-parakeet branch August 27, 2025 23:59
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.

Chat agent: closing editor shows a weird confirmation dialog
2 participants