File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,26 +49,6 @@ declare module 'vscode' {
4949 */
5050 readonly onDidCommitChatSessionItem : Event < { original : ChatSessionItem /** untitled */ ; modified : ChatSessionItem /** newly created */ } > ;
5151
52- /**
53- * DEPRECATED: Will be removed!
54- * Creates a new chat session.
55- *
56- * @param options Options for the new session including an optional initial prompt and history
57- * @param token A cancellation token
58- * @returns Metadata for the chat session
59- */
60- provideNewChatSessionItem ?( options : {
61- /**
62- * The chat request that initiated the session creation
63- */
64- readonly request : ChatRequest ;
65-
66- /**
67- * Additional metadata to use for session creation
68- */
69- metadata ?: any ;
70- } , token : CancellationToken ) : ProviderResult < ChatSessionItem > ;
71-
7252 // #endregion
7353 }
7454
@@ -241,6 +221,14 @@ declare module 'vscode' {
241221 */
242222 readonly onDidChangeChatSessionOptions ?: Event < ChatSessionOptionChangeEvent > ;
243223
224+ /**
225+ * Event that the provider can fire to signal that the available provider options have changed.
226+ *
227+ * When fired, the editor will re-query {@link ChatSessionContentProvider.provideChatSessionProviderOptions}
228+ * and update the UI to reflect the new option groups.
229+ */
230+ readonly onDidChangeChatSessionProviderOptions ?: Event < void > ;
231+
244232 /**
245233 * Provides the chat session content for a given uri.
246234 *
You can’t perform that action at this time.
0 commit comments