Commit Graph

59 Commits

Author SHA1 Message Date
Baptiste Arnaud
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +02:00
Baptiste Arnaud
27a5f4eb74 (openai) Add custom provider and custom models
Closes #532
2023-09-01 16:19:59 +02:00
Baptiste Arnaud
37ccb5da5e 🚸 (sendEmail) Improve variable parsing in sendEmail body
Support for multi line variables as well

Closes #749
2023-09-01 11:33:45 +02:00
Baptiste Arnaud
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00
Baptiste Arnaud
ee3b94c35d (typebotLink) Better typebot link with merge option
Closes #675
2023-08-24 08:19:41 +02:00
Baptiste Arnaud
de616ea649 🔒 Expose minimum data to NEXT_DATA json 2023-08-14 16:55:47 +02:00
Baptiste Arnaud
fc25734689 ♻️ (webhook) Integrate webhook in typebot schema
Closes #313
2023-08-06 10:03:45 +02:00
Baptiste Arnaud
c534613087 🚸 (openai) Display OpenAI initial response error 2023-08-02 08:10:26 +02:00
Baptiste Arnaud
3426d6689d Replace updates with updateManys when possible
Easy performance win to avoid triggering SELECT query after an UPDATE
2023-07-16 18:52:30 +02:00
Baptiste Arnaud
81bc0746cf ⬆️ Upgrade dependencies 2023-07-15 10:46:36 +02:00
Baptiste Arnaud
56078b4e02 🐛 (share) Enable back empty public ID for self-hosted version
Closes #576
2023-07-07 14:35:17 +02:00
Baptiste Arnaud
3be39cbc78 (openai) Use Vercel's AI SDK for streaming 2023-06-20 17:33:30 +02:00
Baptiste Arnaud
8822e4e7e4 🚸 (openai) Add missing credentials error to chat completion streamer 2023-06-05 09:03:54 +02:00
Baptiste Arnaud
16f3ad3a19 🐛 (payment) Round the amount to avoid weird Js long decimals 2023-05-25 13:58:54 +02:00
Baptiste Arnaud
56364fd863 (openai) Stream chat completion to avoid serverless timeout (#526)
Closes #520
2023-05-25 10:32:35 +02:00
Baptiste Arnaud
72058fd624 🔊 Add DEBUG mode with valuable logs in viewer 2023-05-16 10:22:31 +02:00
Baptiste Arnaud
c6983c952c 🛂 Reset isQuarantined when upgrading workspace 2023-04-23 21:03:14 +02:00
Baptiste Arnaud
684e6338e2 🐛 (typebotLink) Fix linked typebot fetching error
Closes #429
2023-03-30 10:30:26 +02:00
Baptiste Arnaud
1cf2195b4a Attempt to disable translation to avoid app crashes 2023-03-22 08:03:31 +01:00
Baptiste Arnaud
b4536abc2f 🐛 (js) Fix upload file in linked typebot 2023-03-21 09:11:36 +01:00
Baptiste Arnaud
be7c0fc0d0 🐛 (sheets) Fix can't start bot when filter is undefined 2023-03-17 07:42:42 +01:00
Baptiste Arnaud
f3af07b7ff ♻️ (viewer) Remove barrel exports and flatten folder arch 2023-03-15 12:21:52 +01:00
Baptiste Arnaud
cbc8194f19 ♻️ Re-organize workspace folders 2023-03-15 08:35:16 +01:00
Baptiste Arnaud
f9aef907e3 (editor) Allow empty group titles 2023-03-13 09:29:56 +01:00
Baptiste Arnaud
ff04edf139 Add OpenAI block
Also migrate credentials to tRPC

Closes #253
2023-03-09 08:46:36 +01:00
Baptiste Arnaud
680e967a8c 🩹 (viewer) Add path where old engine is forced 2023-02-27 09:17:15 +01:00
Baptiste Arnaud
edf0ecd712 (viewer) Show error message for incompatible browsers 2023-02-26 18:49:55 +01:00
Baptiste Arnaud
3967e5f1d0 (preview) Add preview runtime dropdown
User can select between Web and API previews

Closes #247
2023-02-22 11:40:04 +01:00
Baptiste Arnaud
debdac12ff Introduce bot v2 in builder (#328)
Also, the new engine is the default for updated typebots for viewer

Closes #211
2023-02-21 15:25:14 +01:00
Baptiste Arnaud
eef015e395 🐛 Fix 404 error page
Wasn't working because of ssr prop from trpc
2023-02-14 15:09:05 +01:00
Baptiste Arnaud
8a02c701da 🐛 (webhook) Parse test variables in webhook body sample
Closes #305
2023-02-13 14:49:00 +01:00
Baptiste Arnaud
c175ade4d0 💚 Fix utils export issue 2023-02-10 16:55:20 +01:00
Baptiste Arnaud
77df5556f4 🔥 Remove useless console logs
Closes #289
2023-02-06 08:02:35 +01:00
Baptiste Arnaud
6e0f0e487b 🗃️ Remove list types from db schema 2023-02-01 09:32:39 +01:00
Baptiste Arnaud
f93bc2fcb2 🚸 (dashboard) Add unpublish menu item in dashboard
Also remove the useless publishedTypebotId field in Typebot

Closes #232
2023-01-27 17:11:26 +01:00
Baptiste Arnaud
409e7643ad ♻️ Add a new unlimited plan
Closes #273
2023-01-27 15:00:07 +01:00
Baptiste Arnaud
30baa611e5 (engine) Improve engine overall robustness 2023-01-25 14:59:53 +01:00
Baptiste Arnaud
0febaf9760 🚸 (publish) Improve invalid public ID feedback
Also remove the 4 char min length rule for self-hosted versions

Closes #267
2023-01-20 11:20:11 +01:00
Baptiste Arnaud
7311988901 (chat) Improve chat API compatibility with preview mode 2023-01-16 12:13:21 +01:00
Baptiste Arnaud
6459fb8ec8 ⬆️ Upgrade dependencies 2023-01-14 16:53:34 +01:00
Baptiste Arnaud
f8351e2c85 🔧 Add app origin to chat API cors 2023-01-11 15:16:56 +01:00
Baptiste Arnaud
21f1c7a17e Add Bubble and Popup in embed lib v2
Closes #214
2023-01-09 14:51:36 +01:00
Baptiste Arnaud
7174ef0f81 🐛 (sendEmail) Check if attachment is URL 2023-01-06 09:51:35 +01:00
Baptiste Arnaud
64cd31cf13 🐛 (webhook) Prioritize variables parsing over answers 2022-12-23 14:59:34 +01:00
Baptiste Arnaud
1a3869ae6d ⚗️ Implement bot v2 MVP (#194)
Closes #190
2022-12-22 17:02:34 +01:00
Baptiste Arnaud
c3985b0d50 🐛 (webhook) Fix parent linked typebot data parsing in webhook 2022-12-22 11:49:46 +01:00
Baptiste Arnaud
9149af7e6b 🐛 (webhook) Fix form encoded request parsing
Was not working when setting `Content-Type` header to `application/x-www-form-urlencoded`
2022-12-22 09:38:17 +01:00
Baptiste Arnaud
68de7b720f 💚 Fix sentry not receiving events 2022-12-16 08:39:14 +01:00
Baptiste Arnaud
7eac2c7110 🗃️ Write faster prisma queries 2022-12-08 11:04:11 +01:00
Baptiste Arnaud
855a2856c8 🚑 Disable usage check on viewer 2022-12-07 21:55:59 +01:00