Skip to content

Commit

Permalink
feat: add related prompts selection events (#1663)
Browse files Browse the repository at this point in the history
  • Loading branch information
victorcg88 authored Nov 22, 2024
1 parent e977a59 commit 8cdf6db
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,14 @@ export interface RelatedPromptsXEvents {
* to conform a valid request.
*/
RelatedPromptsRequestUpdated: RelatedPromptsRequest | null;
/**
* The selected prompt has changed.
* Payload: The index of the prompt in the RelatedPrompts list or -1 to remove selection.
*/
UserSelectedARelatedPrompt: number;
/**
* The selected next query of the selected prompt has changed.
* Payload: The index of the next query in the NextQueries list or -1 to remove selection.
*/
UserSelectedARelatedPromptQuery: number;
}

0 comments on commit 8cdf6db

Please sign in to comment.