Skip to content

AI Assistant: DataGrid - write JQuery demo (instant suggest sending)#33583

Merged
Raushen merged 11 commits into
DevExpress:26_1from
Raushen:AIAssistant_jQuery
May 14, 2026
Merged

AI Assistant: DataGrid - write JQuery demo (instant suggest sending)#33583
Raushen merged 11 commits into
DevExpress:26_1from
Raushen:AIAssistant_jQuery

Conversation

@Raushen
Copy link
Copy Markdown
Contributor

@Raushen Raushen commented May 14, 2026

No description provided.

@Raushen Raushen self-assigned this May 14, 2026
Copilot AI review requested due to automatic review settings May 14, 2026 17:18
@Raushen Raushen requested a review from a team as a code owner May 14, 2026 17:18
@Raushen Raushen added the 26_1 label May 14, 2026
Copy link
Copy Markdown
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 PR updates the jQuery DataGrid AI Assistant demo so that clicking a suggestion sends the message immediately (rather than just populating the input). It introduces a distinct author id for the "💡 Help" suggestion so it is rendered as an informational message rather than as a user message that would trigger an AI request, and configures the chat's user.id accordingly. It also relaxes the json_schema strict flag to false.

Changes:

  • Set chat.user.id to 'user' so the chat can identify which messages are from the current user.
  • Refactored onItemClick to always push a chat message (using 'help' author id for the help suggestion, 'user' otherwise), enabling instant submission of suggestion prompts.
  • Switched response_format.json_schema.strict from true to false.

@Raushen Raushen merged commit b6c5b43 into DevExpress:26_1 May 14, 2026
140 of 142 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants