2
0
Commit Graph

1143 Commits

Author SHA1 Message Date
51bf5b653c 🐛 (theme) Fix progress bar background color 2024-04-11 10:15:37 +02:00
408aeb4df4 🐛 (theme) Fix containers disabled bg should be transparent 2024-04-11 10:07:03 +02:00
8fe856aff3 🚑 Fix no scroll issue on mobile 2024-04-10 17:56:31 +02:00
5c3c7c2b64 (theme) Add container theme options: border, shadow, filter (#1436)
Closes #1332
2024-04-10 10:19:54 +02:00
75dd554ac2 🔊 Improve http req timeout error 2024-04-09 15:08:09 +02:00
6e0388c501 🔊 Add prisma metrics to prometheus endpoint (#1420) 2024-04-06 15:08:57 +02:00
d96f384e02 ♻️ Migrate from got to ky (#1416)
Closes #1415
2024-04-05 09:01:16 +02:00
ccc7101dd3 🚸 (dify) Only save Conversation ID when not emp… 2024-04-04 09:25:40 +02:00
2f84b102b0 💄 Fix image bubble distortion on Safari 2024-04-04 08:29:56 +02:00
ef10f69f92 🐛 Fix ky not working due to fetch rewriting by mistral package
Closes #1396
2024-04-03 14:35:18 +02:00
6a4a43efb4 🐛 Fix new guessApiHost in editor 2024-04-03 14:34:20 +02:00
b5dd12c6fe 🐛 Fix autocomplete submit
Closes #1402
2024-04-03 10:18:55 +02:00
68ad0f2d4c 🚸 (dify) Auto convert non-md links to md flavoured links
Closes #1405
2024-04-03 09:21:41 +02:00
3aee9e7fc8 🚸 On chat state recover, don't execute client side actions 2024-04-03 09:02:47 +02:00
7237901c05 🚑 (Revert stream condition for self-hosting) 2024-04-03 07:33:53 +02:00
af4dd95663 📝 Add v2.24 newsletter 2024-04-02 15:21:25 +02:00
a412a318c0 🐛 Fix auto filled input not submittable
Closes
2024-04-02 13:42:10 +02:00
50d515cf37 🐛 Fix potential infinite redirect when session is remembered
Closes #1404
2024-04-02 13:31:43 +02:00
89dec4a6dc (anthropic) Add sonnet and haiku models 2024-04-02 11:48:19 +02:00
2663ca2e18 🚑 Allow for regex without slashes for retro compat 2024-04-02 11:13:55 +02:00
a0ba8c5c2a 🐛 (conditions) Parse regex flags as well
Closes #1393
2024-03-29 08:06:16 +01:00
76e7fbd1c7 🐛 (conditions) Fix regex matching when starting and ending wi…
Closes #1393
2024-03-29 07:58:46 +01:00
af941b1353 🐛 (bubble) Fix bubble chat height when custom size 2024-03-26 19:38:25 +01:00
1f158e78c9 🚸 (bubble) Add swipe gesture to close preview…
Closes #1388
2024-03-26 19:26:39 +01:00
c552fa7cc3 🐛 (typebotLink) Fix n+1 variable fill
Closes #1375
2024-03-26 19:25:03 +01:00
669f55062b 🚑 (stream) Fix stream for Vercel hosting 2024-03-23 18:14:37 +01:00
8e52ee800b 🚑 (stream) Re-enable stream on Vercel env 2024-03-22 11:57:49 +01:00
b14ee1249b 🚑 Fix embed fallback api host 2024-03-22 07:50:21 +01:00
e435ead34d 🐛 Fix absolute URL bug with ky on backend 2024-03-21 14:29:07 +01:00
6876b486e1 🐛 Fix experimental chat api enable checking 2024-03-21 10:38:06 +01:00
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
dbc875448b 🛂 (radar) Improve radar regex 2024-03-20 17:01:53 +01:00
9c86c5e76f 🐛 (pictureChoice) Fix dynamic image only variable saving 2024-03-19 14:02:53 +01:00
a4c865ca26 💚 Fix embeds build and create-block CLI 2024-03-19 10:38:55 +01:00
ed5096e2b6 ♻️ Include forged blocks schema in typebot schema
Closes #1364
2024-03-19 08:31:36 +01:00
26a9282c20 🐛 (fileUpload) Handle duplicate names properly
Closes #1366
2024-03-18 18:22:45 +01:00
782c08b15e 🐛 Fix retry message variable parsing
Closes #1369
2024-03-18 18:10:17 +01:00
e035a54cfc 🐛 (difyAi) Fix chunk parsing
Closes #1370
2024-03-18 18:05:35 +01:00
3ac211d74a 🐛 (anthropic) Upgrade sdk to fix stream issue 2024-03-18 10:29:37 +01:00
5073be2439 ♻️ Remove @typebot.io/schemas from @typebot.io/lib 2024-03-15 16:32:29 +01:00
b53242ce6a 🐛 (bot) Fix await processClientActio… 2024-03-15 15:56:04 +01:00
7d11a7dbc8 🐛 (anthropic) Fix transform functions when response mapping has Message content 2024-03-15 15:18:16 +01:00
663653ec9a 🐛 (bubble) Fix bubble bot window left overflow
Closes #1362
2024-03-15 15:18:16 +01:00
e9011aefd0 🐛 (wait) Parse wait seconds as float instead of int
Closes #1355
2024-03-15 15:17:07 +01:00
cdbdb3546c 🚸 Remove debounce on forged block credentials…
Closes #1357
2024-03-15 15:17:07 +01:00
1202f09802 🐛 (anthropic) Fix turn into other blocks
Closes #1356
2024-03-15 15:17:07 +01:00
968abf5243 🚸 (calCom) Fix embed responsivity
Closes #1210
2024-03-15 15:16:53 +01:00
3f294c9093 ⬇️ Downgrade anthropic sdk to make it compatible with ai sdk 2024-03-15 08:50:07 +01:00
ff3807a265 ⬆️ Upgrade ai package 2024-03-14 19:40:40 +01:00
ecec7023b9 Add Anthropic block (#1336)
Hello @baptisteArno,

As we discussed in issue #1315 we created a basic implementation of
Anthropic’s Claude AI block.
This block is based on the OpenAI block and shares a similar structure.

The most notable changes in this PR are:
- Added the Claude AI block.
- Added relevant documentation for the new block.
- Formatted some other source files in order to pass git pre-hook
checks.

Some notes to be made:
- Currently there is no way to dynamically fetch the model’s versions
since there is no endpoint provided by the SDK.
  - All pre version-3 Claude models are hard-coded constant variables.
- We have opened an issue for that on the SDK repository
[here](https://github.com/anthropics/anthropic-sdk-typescript/issues/313).
- We can implement in a new PR Claude’s new [Vision
system](https://docs.anthropic.com/claude/docs/vision) which allows for
image analysis and understanding.
  - This can be done in a later phase, given that you agree of course.


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

## Summary by CodeRabbit

- **New Features**
- Introduced the Anthropic block for creating chat messages with Claude
AI in Typebot.
- Added functionality to create chat messages using Anthropic AI SDK
with configurable options.
	- Implemented encrypted credentials for Anthropic account integration.
- Added constants and helpers for better handling of chat messages with
Anthropic models.
- Included Anthropic block in the list of enabled and forged blocks for
broader access.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Retr0-01 <contact@retr0.dev>
Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2024-03-12 17:53:33 +00:00