Conversation
Adds the concept of a managed `ChatSessionInputState` object. This object is how extension can interact with the chat session input box
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
You can also share your feedback on Copilot code review. Take the survey.
provideChatSessionInputState?: ChatSessionControllerProvideInputState;What is the value for I am assuming I can ignore this entirely Use reloads with a chat editor visibleI'm assuming VS Code then keeps track of what was previously selected (e.g. when re-loading vscode with 2 chat editors open) User selects items from the optionsI'm assuming when user selects something from the option (dropdwon), VS Code will just call Over all this looks great and very simple |
Adds the concept of a managed
ChatSessionInputStateobject. This object is how extension can interact with the chat session input box@TylerLeonhardt @DonJayamanne Can you please review the api and let me know what you think. This PR is just the api changes for now. Here's a few example flows:
New blank chat editor
provideChatSessionInputStateon your controller.Use presses submit on blank chat editor
newChatSessionItemHandlerto create the chat session itemprovideChatSessionContentUse reloads with a chat editor visible
provideChatSessionInputStateagain so that extensions can still provide custom options. However we also pass in the previously selected options so that you can use these if you need