Commit Graph

1245 Commits

Author SHA1 Message Date
Martin Sosic
a5323a2e05 Added JSON config via CLI for Wasp AI. 2023-06-29 21:25:23 +02:00
Martin Sosic
005c17cef6 fix 2023-06-29 19:49:57 +02:00
Martin Sosic
cd4563f1e7 Some more prompt fixes. 2023-06-29 19:35:27 +02:00
Martin Sosic
bc3ac4e894 Improved some prompts. 2023-06-29 19:35:27 +02:00
Mihovil Ilakovac
c3eb44b337 New deployment tomls 2023-06-29 19:22:21 +02:00
Martin Sosic
84bda360b1 small fix of 403 http status to 401. 2023-06-29 16:56:55 +02:00
Martin Sosic
32c1f08a98 Enriched Operation examples. 2023-06-29 16:53:48 +02:00
Mihovil Ilakovac
23d29cb370 Uses status from DB 2023-06-29 16:07:23 +02:00
Martin Šošić
3b6b6ddf1a
Wasp ai fuller examples (#1300)
* Enriched main.wasp example.

* Enriched examples in the prompts for Plan and for Wasp file.
2023-06-29 15:55:07 +02:00
Mihovil Ilakovac
87f3485278 Remove TS check for deployment 2023-06-29 15:54:40 +02:00
Mihovil Ilakovac
ab7b5a18ac Uses latest RC for deployed app 2023-06-29 15:51:06 +02:00
Mihovil Ilakovac
c209077d20 Page fixing update 2023-06-29 15:32:40 +02:00
Mihovil Ilakovac
88a8f6a2ef Updates prompts: pages fixing, operations fixing 2023-06-29 15:12:48 +02:00
Mihovil Ilakovac
3e6e89d4e3 Adds pages fixing. Improve JSON fixing prompt. 2023-06-29 14:36:55 +02:00
Martin Sosic
20c06bc9e7 fix 2023-06-29 14:00:33 +02:00
Martin Sosic
f989bd7fca Now we do multiple attempts to fix wasp file if there are compile errors left. 2023-06-29 13:36:50 +02:00
Martin Sosic
d553f29f70 Merge branch 'main' into wasp-ai 2023-06-29 12:46:05 +02:00
Craig McIlwrath
c1d86b1f91
Show multiple parse errors from Wasp Analyzer (#1298)
* allow multiple errors to come out of analyzer

basically just plumbing. does add one new thing: all the concrete parse
errors get reported now 🥳

* add statement level error recovery to abstract parser

* add expression level parse recovery

recovers from errors inside dict entries, lists,
and tuples.

* document parser error recovery

* run formatter
2023-06-29 12:34:31 +02:00
Mihovil Ilakovac
b3ecc50795 Updates web app a bit 2023-06-29 11:53:39 +02:00
Martin Šošić
a6a35bca9a
Wasp ai fresh files (#1299) 2023-06-29 10:00:17 +02:00
Mihovil Ilakovac
a2a41ea0a0 Fixes imports example 2023-06-29 00:23:37 +02:00
Mihovil Ilakovac
cae1f8200e Update RC version 2023-06-29 00:14:37 +02:00
Mihovil Ilakovac
04ec5166f6 Web app cleanup 2023-06-28 23:51:41 +02:00
Mihovil Ilakovac
1b4e7cd765 Formatting
Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2023-06-28 23:51:24 +02:00
Mihovil Ilakovac
f4b76f0e34 Merge branch 'main' into wasp-ai 2023-06-28 23:40:57 +02:00
Mihovil Ilakovac
7caf367d41 Adds Tailwind support. Small prompt adjustments. 2023-06-28 23:40:00 +02:00
Martin Sosic
302936bf7f Added reporting of tokens usage. 2023-06-28 23:19:06 +02:00
Martin Sosic
08c235d12e Added fixing of NodeJS operations files. 2023-06-28 22:04:57 +02:00
Martin Sosic
286117b404 Added fixing of individual Operations. 2023-06-28 20:28:37 +02:00
Mihovil Ilakovac
41269b550f Updates web app
Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2023-06-28 17:56:24 +02:00
Martin Sosic
cf8877479c Small fix of plan fixing. 2023-06-28 17:11:33 +02:00
Martin Sosic
1d6277846b Implemented fixing of Wasp file. 2023-06-28 16:48:22 +02:00
Mihovil Ilakovac
4c27df8324 Logs are in the DB now 2023-06-28 15:21:50 +02:00
Mihovil Ilakovac
bba293513f Using the proper RC version 2023-06-28 14:20:30 +02:00
Mihovil Ilakovac
6c8d78a10b Deployment fixes
Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2023-06-28 13:48:16 +02:00
Mihovil Ilakovac
cc20ffbf40 Web app clenaup 2023-06-28 13:25:17 +02:00
Mihovil Ilakovac
feeb9217de Updates data files list 2023-06-28 11:54:28 +02:00
Mihovil Ilakovac
34272a8a98 Adds DB support and UX improvements 2023-06-28 11:54:28 +02:00
Martin Sosic
5d13b4d607 tiny plan fixing fix. 2023-06-28 11:40:33 +02:00
Martin Sosic
15ce1bf5bb Now new-ai can be called programmaticaly more easily. 2023-06-28 11:25:09 +02:00
Martin Šošić
6c2049ad5a
Added plan fixing. (#1296) 2023-06-28 09:42:08 +02:00
Martin Sosic
349875b242 Upped number of retries for JSON from 1 to 2. Added pretty debugging of chatGPT prompts. 2023-06-27 18:24:12 +02:00
Martin Šošić
69129df3ce
If chatGPT responds with invalid JSON, ask it to fix it. (#1293) 2023-06-27 16:03:06 +02:00
Martin Šošić
3cb1dbd9f9
Update README.md with instructions on updating starter templates before release. 2023-06-27 12:31:36 +02:00
Mihovil Ilakovac
a10e4fdff1 Adds missing basic template files 2023-06-27 10:35:28 +02:00
Mihovil Ilakovac
a8808bc978 Updates Wasp app version
Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2023-06-27 09:28:43 +02:00
Martin Sosic
db52fdbeac Merge branch 'main' into wasp-ai 2023-06-26 19:12:41 +02:00
Martin Šošić
466e33d50c
Wasp ai retry (#1288)
* Wasp AI now retries requests to chat GPT.

* Improved retry.

* Got tests for retry working.

* one more test.

* Improved retry tests a bit.

* Finished tests.

* fix
2023-06-26 17:48:08 +02:00
Mihovil Ilakovac
0e5e653832 Add info about Auto CRUD and Websockets to ChangeLog.
Co-authored-by: Craig McIlwrath <craigmc08@gmail.com>
2023-06-26 14:44:32 +02:00
Martin Sosic
ee18f8bb2d Enriched ChangeLog with more info on 0.11. 2023-06-26 14:19:09 +02:00