Commit Graph

98 Commits

Author SHA1 Message Date
Abi Raja
a03e823ecb disallow OpenAI key usage 2024-09-16 14:23:34 +02:00
Abi Raja
56526636fb revert sentry change 2024-09-13 11:12:03 +02:00
Abi Raja
2888893072 only raise a exception for no payment found when the user is a subscriber 2024-09-12 15:50:01 +02:00
Abi Raja
33793051bc temp log more with sentry 2024-09-12 15:04:39 +02:00
Abi Raja
f9aa14b566 implement saas storage of multiple generations 2024-09-12 12:30:12 +02:00
Abi Raja
86f6781682 support all forms of payment (subscription, api key, etc.) 2024-09-10 14:28:16 +02:00
Abi Raja
c107f4eda5 merge 2024-09-08 16:50:18 +02:00
Abi Raja
e4b021c2a4 remove debugging statement 2024-09-06 17:41:19 +02:00
Abi Raja
c1fc28624d remove unused code 2024-08-31 15:43:02 +02:00
Abi Raja
c55e5d7923 remove unused code 2024-08-30 16:32:20 +02:00
Abi Raja
5d33dd6bf3 fix TODO 2024-08-30 14:07:30 +02:00
Abi Raja
67e7066221 fix some TODOs 2024-08-30 13:45:28 +02:00
Abi Raja
b158597d7e fix bug with prompt assembly for imported code with Claude which disallows multiple user messages in a row 2024-08-05 14:11:01 -04:00
Abi Raja
c76c7c202a move parameter extraction to separate fn 2024-07-31 15:46:53 -04:00
Abi Raja
710f2987a4 merge 2024-07-31 14:40:52 -04:00
Abi Raja
5c3f915bce parallelize just image generation 2024-07-31 13:36:22 -04:00
Abi Raja
701d97ec74 add comments 2024-07-31 11:27:26 -04:00
Abi Raja
7b2e2963ad print for debugging 2024-07-31 11:25:49 -04:00
Abi Raja
637c1b4c1d fix TODO 2024-07-31 11:22:25 -04:00
Abi Raja
c61a2ac772 fix TODO 2024-07-31 11:18:35 -04:00
Abi Raja
bcb89a3c23 refactor 2024-07-31 11:15:56 -04:00
Abi Raja
3591588e2b abstract out prompt assembly into a separate function 2024-07-31 11:07:30 -04:00
Abi Raja
dd7a51dd34 refactor 2024-07-31 10:16:03 -04:00
Abi Raja
3fbc0f9458 refactor 2024-07-31 10:15:07 -04:00
Abi Raja
ff12790883 refactor 2024-07-31 10:14:23 -04:00
Abi Raja
0f731598dd refactor to get .get() 2024-07-31 10:10:13 -04:00
Abi Raja
24a123db36 refactors 2024-07-30 16:37:36 -04:00
Abi Raja
64926408b0 refactor 2024-07-30 16:29:06 -04:00
Abi Raja
0700de7767 standardize to using typed send_message 2024-07-30 16:27:04 -04:00
Abi Raja
aff9352dc0 set up multiple generations 2024-07-30 15:44:48 -04:00
Abi Raja
13d3ff6e38 Merge branch 'main' into hosted 2024-07-30 10:12:19 -04:00
Abi Raja
52099e0853 create a eval script for sdxl lightning (replicate) vs dalle and support using replicate for image generation when key is set 2024-07-29 16:23:59 -04:00
Abi Raja
50d1288693 Merge branch 'main' into hosted 2024-07-11 16:36:18 -04:00
Abi Raja
9b99cad286 auto-upgrade usage of older models 2024-07-11 16:26:26 -04:00
Abi Raja
7f7d0c3504 send input mode to saas backend 2024-07-09 16:45:07 -04:00
Abi Raja
8c11366bd0 add sentry log for text generation 2024-07-09 13:17:00 -04:00
Abi Raja
7c132fd1bd Merge branch 'generate-from-text' into hosted 2024-07-09 13:04:30 -04:00
Abi Raja
d13ae72c06 add basic text to ui generation 2024-07-09 12:53:07 -04:00
Abi Raja
b44f583a90 Merge branch 'main' into hosted 2024-06-26 16:42:16 +08:00
Abi Raja
edfd16ef1d extract only html content 2024-06-26 16:36:33 +08:00
Abi Raja
efdad0ad50 Merge branch 'main' into hosted 2024-06-26 13:28:52 +08:00
Abi Raja
4288cf2088 fix imported code prompt for Claude which doesn't allow multiple 'user' role messages in a row 2024-06-26 13:21:12 +08:00
Abi Raja
d2369cb0a0 Merge branch 'main' into hosted 2024-06-22 19:43:52 +08:00
Abi Raja
49a24d8b0c support Claude Sonnet 3.5 2024-06-22 19:39:49 +08:00
Abi Raja
ae08466405 store stack and some other properties for generations on prod 2024-06-07 15:05:26 -04:00
Abi Raja
561ac0b088
Merge pull request #348 from naman1608/type-fixes
full typed in image generation file
2024-06-05 15:21:41 -04:00
Abi Raja
f6f8b2f707 fix bug 2024-05-31 14:24:01 -04:00
Abi Raja
c64968b8f0 read anthropic api key from front-end 2024-05-31 14:06:08 -04:00
Abi Raja
d4e3405d0a if user is trialing, set payment method to trial 2024-05-30 17:40:26 -04:00
Abi Raja
7293c979df alert me via sentry 2024-05-30 12:46:40 -04:00