Commit Graph

675 Commits

Author SHA1 Message Date
Abi Raja
dd65a6e1e4 add tests for the new prompts 2023-12-10 15:49:21 -05:00
Abi Raja
356dd428b8 re-org files and improve tests 2023-12-10 10:50:02 -05:00
Abi Raja
dcb95431ea update prompts for all stack combos of imported code 2023-12-10 10:34:03 -05:00
Abi Raja
e8e3d4cb6f make user set the stack when importing code 2023-12-10 10:22:05 -05:00
Abi Raja
52fee9e49b initial implementation of importing from code 2023-12-09 21:00:18 -05:00
Abi Raja
435402bc85 split main.py into appropriate routes files 2023-12-09 15:46:42 -05:00
Abi Raja
6a28ee2d3c strictly type python backend 2023-12-09 15:34:16 -05:00
Abi Raja
68a8d2788d improve tests and catch history tree generation errors better 2023-12-08 16:48:34 -05:00
Alex Lloyd
c0e68db40f remove WIP GeneratedCodeConfig 2023-12-07 18:25:05 -06:00
Alex Lloyd
4abee41e15 Remove redundant comment 2023-12-07 18:18:39 -06:00
Alex Lloyd
edfafa2c48 Fix parameter type for generateCode 2023-12-07 18:16:31 -06:00
Abi Raja
3bd2321b83 nit: comment fix 2023-12-07 13:34:23 -05:00
Abi Raja
8675d28e96 fix typescript and show badge of type of edit 2023-12-07 13:25:31 -05:00
Abi Raja
b3b478d6d1 add hover card to show full prompt 2023-12-07 13:21:10 -05:00
Abi Raja
dc65f0943a
Update README.md 2023-12-07 11:50:53 -05:00
Abi Raja
889935d619
Merge pull request #169 from abi/history
Show version history and enable branching off history
2023-12-07 11:43:14 -05:00
Abi Raja
2f53540e2d fix bug 2023-12-07 11:41:28 -05:00
Abi Raja
b45e9dea29 clean up 2023-12-07 11:29:05 -05:00
Abi Raja
0301f24fd8 fix up pretty printing 2023-12-07 11:26:48 -05:00
Abi Raja
a559cd3120 update to extract history tree with parent indices 2023-12-07 10:09:35 -05:00
Abi Raja
52adb4602b move files 2023-12-07 09:39:19 -05:00
Abi Raja
2457a3f5bd update name 2023-12-07 09:38:42 -05:00
Abi Raja
dd0f3b7648 fix errors 2023-12-07 09:36:37 -05:00
Abi Raja
874afc1e66 fix bug and show prompt 2023-12-07 09:22:22 -05:00
Abi Raja
0e8eef4554 add parent for each item in history 2023-12-06 22:36:31 -05:00
Abi Raja
f5ddb779b4 make history forward chronology and have non-changing indices to refer to items 2023-12-06 22:24:25 -05:00
Abi Raja
eff532bcf5 update test data 2023-12-06 21:58:06 -05:00
Abi Raja
97d651343a add some tests for history utils 2023-12-06 21:57:25 -05:00
Abi Raja
79e36c9529 move files around 2023-12-06 19:07:22 -05:00
Abi Raja
a5e7dcd037 correctly extract history for an update 2023-12-06 17:15:08 -05:00
Abi Raja
286549f101 track current version 2023-12-06 16:02:52 -05:00
Abi Raja
c1d6236391 minor fix 2023-12-06 15:45:14 -05:00
Abi Raja
8008513a6c handle coding state correctly 2023-12-06 15:42:33 -05:00
Abi Raja
3d16d784c2 improve look of history display 2023-12-06 15:37:59 -05:00
Abi Raja
75198cf638 allow viewing older versions 2023-12-06 15:32:40 -05:00
Abi Raja
8a48c6d898 add TODO 2023-12-06 15:16:58 -05:00
Abi Raja
f216146bbd initial history implementation 2023-12-06 14:49:09 -05:00
Abi Raja
328b75c949 update status 2023-12-06 12:04:12 -05:00
Abi Raja
91934ecae9 add note about OpenAI API 2023-12-06 12:03:44 -05:00
Abi Raja
f0101036a0 return failure reason to front-end 2023-12-06 10:50:22 -05:00
Abi Raja
0698af8434 Merge branch 'main' of https://github.com/abi/screenshot-to-code 2023-12-06 10:09:11 -05:00
Abi Raja
c275e945fc show credit usage to the user 2023-12-06 10:09:09 -05:00
Abi Raja
2ba2a79e2f move AccessCodeSection to a separate component 2023-12-06 09:16:21 -05:00
Abi Raja
d487a73323
Update README.md 2023-12-05 21:45:45 -05:00
Abi Raja
30e6b07bb1 add list of logos 2023-12-05 11:36:17 -05:00
Abi Raja
70094ea765 handle openai.RateLimitError 2023-12-04 16:43:31 -05:00
Abi Raja
e3240511ab handle model not found error better 2023-12-04 16:37:49 -05:00
Abi Raja
26447ce15d handle openai.AuthenticationError 2023-12-04 16:32:17 -05:00
Abi Raja
96d45cf1c2 add default backend home route so people know it's running correctly 2023-12-03 19:58:22 -05:00
Abi Raja
273aa12920
Merge pull request #160 from pranshugupta54/patch-2
Responsive URL input
2023-12-03 19:53:35 -05:00