PromucFlow_constructor/app/client/packages/rts/src
Ilia a0814e1438
feat: add initial assistant message (#36798)
## Description

![image](https://github.com/user-attachments/assets/bb8cf448-6bfe-485a-9e19-d222ae3d8411)



Fixes #36776  

> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.Sanity"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/11275055683>
> Commit: a8f155422725c5310b7ac37d49a57995ee20f732
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11275055683&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Thu, 10 Oct 2024 14:29:09 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

- **New Features**
- Introduced `AssistantSuggestionButton` for enhanced user interaction
in the AI chat.
- Added support for displaying and applying assistant suggestions in
chat threads.
	- Implemented an editable array component for managing string pairs.
- Enhanced configuration options with new properties for initial
assistant messages and suggestions.

- **Improvements**
	- Improved state management for dynamic messages in the AI chat widget.
- Updated rendering logic for conditional display of suggestions in chat
messages.
- Added new props to facilitate better interaction and suggestion
handling in chat components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-10-10 16:29:26 +02:00
..
constants
controllers chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
middlewares chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
routes feat: dsl migration with server (#28518) 2023-11-30 18:03:33 +05:30
services chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
sockets chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
test chore: add isError to return value of extractIdentifierInfoFromCode in AST (#35525) 2024-08-08 13:46:12 +05:30
utils
instrumentation.ts feat: add initial assistant message (#36798) 2024-10-10 16:29:26 +02:00
server.ts chore: Add OTLP traces to RTS (#36788) 2024-10-10 17:44:02 +05:30
version.js chore: Use version from info.json directly (#29108) 2023-11-28 06:32:40 +05:30