Commit Graph

411 Commits

Author SHA1 Message Date
Khajaameen455@
d20f402d89
Update main.py
If load_dotenv() is not called before importing modules that rely on environment variables defined in the .env file, those modules might not be able to access the environment variables correctly. This could lead to errors or unexpected behavior in your code.
2024-02-23 14:31:15 +05:30
Abi Raja
c0e084aa86 update evals 2024-02-21 09:30:42 -05:00
Abi Raja
34c1f9a959 update openAI key missing - error dialog message 2024-01-10 17:16:00 -08:00
Abi Raja
6d942f3cd7 refactors 2024-01-09 10:01:05 -08:00
Abi Raja
955d1a6a58 fix missing key 2024-01-09 09:58:03 -08:00
Abi Raja
8a431c0d02 add an imported code prompt 2024-01-09 08:29:16 -08:00
Abi Raja
7bc368d9bf update remaining variable names for GeneratedCodeConfig 2024-01-09 08:12:33 -08:00
Abi Raja
3723c81a04 move stack info to a separate file 2024-01-09 06:43:32 -08:00
Abi Raja
a8b562e392 simplify Stack dropdown generation significantly 2024-01-09 06:35:17 -08:00
Abi Raja
b8bce72d23 organize evals code into the evals dir 2024-01-08 17:38:34 -08:00
Abi Raja
aff0ad0b91 Update README.md 2024-01-08 17:06:21 -08:00
Abi Raja
7073879e6e include type checker 2024-01-08 17:04:59 -08:00
Abi Raja
1aeb8c4e14 Type the backend properly to avoid code duplication and ensure type errors when a stack configuration is not properly added 2024-01-08 15:30:53 -08:00
Abi Raja
15dc74a328 improve type checking for stack on backend 2024-01-08 14:55:41 -08:00
Abi Raja
adda6852f3 update gitignore 2024-01-08 14:35:26 -08:00
Abi Raja
0080a5e2c4 better organization of prompts directory 2024-01-08 14:25:00 -08:00
Abi Raja
5912957514
Update README.md 2024-01-08 16:52:38 -05:00
Abi Raja
fa7ffdfaeb add a vue tailwind generation option 2024-01-08 13:50:33 -08:00
Abi Raja
2ab95eb2c0 upgrade uvicorn dependency and add a backend start python script 2024-01-08 09:35:02 -08:00
Abi Raja
e32877f3a4 add some comments 2023-12-22 12:18:19 -05:00
Abi Raja
9b59b2d595 disable pasting which is causing a flurry of requests 2023-12-21 10:56:47 -05:00
Abi Raja
0c43b5e7cf
Update README.md 2023-12-20 16:46:02 -05:00
Abi Raja
9b728d034b add experimental support for SVG 2023-12-14 10:18:41 -05:00
Abi Raja
f676151edf fix bug with preview not updating immediately 2023-12-14 09:20:06 -05:00
Abi Raja
f1a9859384 fix bug with history not being updated if image generation fails 2023-12-14 08:29:04 -05:00
Abi Raja
9494f4c1cc fix reset function to reset all state correctly 2023-12-14 08:27:16 -05:00
Abi Raja
d23cec9bc0 add a front-end for scoring eval results 2023-12-13 16:38:26 -05:00
Abi Raja
896ac66ac5 add a simple eval script to batch run inferences 2023-12-13 12:50:34 -05:00
Abi Raja
a615f25fd7 improve history UX 2023-12-13 12:20:44 -05:00
Abi Raja
b88320177e Pre-process history for history display so we can write unit tests for it 2023-12-11 21:47:07 -05:00
Abi Raja
9f064c57a7 after code generation cancellation, leave the app in a good state (revert to last version or reset app if no last version) 2023-12-11 18:56:20 -05:00
Abi Raja
89c716f759 update to include new settings 2023-12-11 18:22:36 -05:00
Abi Raja
7edea28eab Merge branch 'main' into pr/170 2023-12-11 18:22:22 -05:00
Abi Raja
28db0a6f4c
Update README.md 2023-12-11 14:36:29 -05:00
Abi Raja
6385c500ec
Create design-docs.md 2023-12-10 17:53:39 -05:00
Abi Raja
bc64da750d
Merge pull request #177 from abi/import-from-code
Allow starting a new project from existing code
2023-12-10 15:58:03 -05:00
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