PromucFlow_constructor/app/client/packages/rts
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
..
src feat: add initial assistant message (#36798) 2024-10-10 16:29:26 +02:00
.env.example chore: move local dependency to packages (#23395) 2023-05-22 15:55:46 +03:00
.eslintrc.json fix: add testing library eslint rules (#31028) 2024-02-12 18:59:10 +03:00
.lintstagedrc.json chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
.prettierignore chore: move local dependency to packages (#23395) 2023-05-22 15:55:46 +03:00
build.js chore: rts workflow APIs code split (#29474) 2023-12-09 14:04:08 +05:30
build.sh chore: rts workflow APIs code split (#29474) 2023-12-09 14:04:08 +05:30
jest.config.js chore: move local dependency to packages (#23395) 2023-05-22 15:55:46 +03:00
package.json chore: Add OTLP traces to RTS (#36788) 2024-10-10 17:44:02 +05:30
README.md chore: move local dependency to packages (#23395) 2023-05-22 15:55:46 +03:00
start-server.sh chore: Fix path to RTS server.js in start-server.sh 2023-11-06 10:45:23 +05:30
tsconfig.json fix: removing unused dependencies and explicitly installing used ones (#36573) 2024-09-30 12:28:46 +03:00

Appsmith Realtime Server

This is the code for the Appsmith realtime server.