Commit Graph

13 Commits

Author SHA1 Message Date
Baptiste Arnaud
c6645d4505 🐛 Fix openai total tokens variable set when streaming 2024-07-17 14:47:12 +02:00
Baptiste Arnaud
e1f1b58c1c 🚸 (dify) Improve error display when streaming 2024-05-25 19:59:34 +02:00
Baptiste Arnaud
75c44d61d5 🔒 Use vm instead of Function in Node.js (#1509) 2024-05-14 14:17:40 +02:00
Baptiste Arnaud
49c1c0efb2 🐛 (openai) Fix streaming for legacy OpenAI block config 2024-04-30 08:11:12 +02:00
Baptiste Arnaud
dc1929e15b 🐛 (openai) Fix ask assistant not correctly referencing uploaded f… (#1469)
…iles

Closes #1468, closes #1467, closes #1211
2024-04-24 16:11:06 +02:00
Baptiste Arnaud
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
Baptiste Arnaud
ed5096e2b6 ♻️ Include forged blocks schema in typebot schema
Closes #1364
2024-03-19 08:31:36 +01:00
Baptiste Arnaud
5073be2439 ♻️ Remove @typebot.io/schemas from @typebot.io/lib 2024-03-15 16:32:29 +01:00
Baptiste Arnaud
42008f8c18 (openai) Enable setVariable function in tools
Closes #1178
2024-01-22 09:22:28 +01:00
Baptiste Arnaud
5e019bbb22 Introducing The Forge (#1072)
The Forge allows anyone to easily create their own Typebot Block.

Closes #380
2023-12-13 10:22:02 +01:00
Baptiste Arnaud
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
Baptiste Arnaud
4746e38cb2 🐛 Add no cache instructions to streamer
Attempt to fix buffering issue when Cloudflare proxy is enabled
2023-10-06 18:31:42 +02:00
Baptiste Arnaud
bf1f657642 🔥 Remove streamer Pages API endpoint 2023-10-06 17:45:12 +02:00