2
0
Commit Graph

25 Commits

Author SHA1 Message Date
2fcf83c529 Introduce a new high-performing standalone chat API (#1200)
Closes #1154

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

- **New Features**
	- Added authentication functionality for user sessions in chat API.
- Introduced chat-related API endpoints for starting, previewing, and
continuing chat sessions, and streaming messages.
- Implemented WhatsApp API webhook handling for receiving and processing
messages.
- Added environment variable `NEXT_PUBLIC_CHAT_API_URL` for chat API URL
configuration.

- **Bug Fixes**
	- Adjusted file upload logic to correctly determine the API host.
	- Fixed message streaming URL in chat integration with OpenAI.

- **Documentation**
- Updated guides for creating blocks, local installation, self-hosting,
and deployment to use `bun` instead of `pnpm`.

- **Refactor**
	- Refactored chat API functionalities to use modular architecture.
- Simplified client log saving and session update functionalities by
using external functions.
	- Transitioned package management and workflow commands to use `bun`.

- **Chores**
- Switched to `bun` for package management in Dockerfiles and GitHub
workflows.
	- Added new Dockerfile for chat API service setup with Bun framework.
	- Updated `.prettierignore` and documentation with new commands.

- **Style**
	- No visible changes to end-users.

- **Tests**
	- No visible changes to end-users.

- **Revert**
	- No reverts in this release.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-03-21 10:23:23 +01:00
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00
81bc0746cf ⬆️ Upgrade dependencies 2023-07-15 10:46:36 +02:00
55bbf0e593 ⬆️ Upgrade dependencies 2023-05-25 18:36:51 +02:00
68a15f5ac1 ⬆️ Upgrade dependencies 2023-05-02 15:33:42 -04:00
21b1d74b7e ⬆️ Upgrade dependencies 2023-04-03 15:28:16 +02:00
cbc8194f19 ♻️ Re-organize workspace folders 2023-03-15 08:35:16 +01:00
ff09814ead ⬆️ Upgrade dependencies 2023-03-14 15:08:53 +01:00
f1a9a1ce8b 🚸 (js) Improve phone number parsing 2023-03-03 10:50:39 +01:00
d2880cdf2d ⬆️ Upgrade dependencies 2023-02-23 09:46:03 +01:00
201939f8a3 ⬆️ Upgrade dependencies 2023-01-28 14:42:50 +01:00
04d206eab1 ⬆️ Upgrade dependencies 2023-01-21 13:24:23 +01:00
6459fb8ec8 ⬆️ Upgrade dependencies 2023-01-14 16:53:34 +01:00
f79f6932c2 ⬆️ Upgrade dependencies 2023-01-07 17:06:18 +01:00
ec7481d002 ⬆️ Upgrade dependencies
Closes #198, closes #171
2023-01-02 10:33:35 +01:00
f46ce4781f ⬆️ Upgrade dependencies 2022-12-18 11:50:56 +01:00
2932043056 ⬆️ Upgrade dependencies 2022-12-05 16:16:49 +01:00
34cfd1db30 ⬆️ Upgrade dependencies 2022-11-21 19:08:14 +01:00
451ffbcacf ♻️ Add shared eslint config 2022-11-21 11:18:58 +01:00
8ca9af4911 ⬆️ Upgrade dependencies 2022-11-15 16:31:00 +01:00
2c66c59dfc 📦 Upgrade packages 2022-11-02 19:45:46 +01:00
ff52a676f6 📦 Update packages 2022-10-16 10:54:21 +02:00
5289a96940 📦 Upgrade deps 2022-10-09 07:48:58 +02:00
a947c1ce34 📦 Upgrade deps to latest version 2022-10-02 10:34:13 +02:00
1654de3c1f 🧑‍💻 (emails) Add decent emails management
Use mjml-react to generate emails. Put all emails in a independent package.
2022-10-01 07:00:05 +02:00