Commit Graph

252 Commits

Author SHA1 Message Date
Abi Raja
76188a7465 force image generation to be true on prod 2024-09-16 15:27:11 +02:00
Abi Raja
6379a1f1c6 Merge branch 'main' into hosted 2024-09-16 15:24:14 +02:00
Abi Raja
a4087e613f make variant 1 claude 2024-09-16 15:21:57 +02:00
Abi Raja
a03e823ecb disallow OpenAI key usage 2024-09-16 14:23:34 +02:00
Abi Raja
589507846b remove model selection dropdown since that happens on the background now 2024-09-13 14:41:00 +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
960e905a73 fix the lock file 2024-09-10 17:30:21 +02:00
Abi Raja
f1501c0aaf uncomment precommit config 2024-09-10 14:51:52 +02:00
Abi Raja
6600035267 support text to code 2024-09-10 14:46:16 +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
e67239745c fix type error 2024-08-30 13:32:59 +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
fb5480b036 fix type error 2024-07-31 16:05:16 -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
3d056fcb10 capture image generation errors in Sentry 2024-07-30 10:53:40 -04:00
Abi Raja
13d3ff6e38 Merge branch 'main' into hosted 2024-07-30 10:12:19 -04:00
Abi Raja
4b0adc5769 poll more frequently and print timing logs 2024-07-29 16:33:04 -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
d7ab620e0b deep copy messages to avoid modifying the original list in the Claude LLM call 2024-07-26 11:56:21 -04:00
Abi Raja
54b59c85d6 add eval runner for text prompt 2024-07-19 09:25:11 -04:00
Abi Raja
138cc1f1a5 Merge branch 'main' into hosted 2024-07-19 07:56:13 -04:00
Abi Raja
9d11866143 improve evals code 2024-07-19 07:55:44 -04:00
Abi Raja
b733400e91 throw exceptions with stack traces 2024-07-16 12:00:53 -04:00
Abi Raja
f7d0dbb7ce ping Sentry when Claude response is too long 2024-07-15 19:15:35 -04:00
Abi Raja
c092418e47 log and capture to sentry when OpenAI response is too long 2024-07-15 19:14:37 -04:00