Commit Graph

715 Commits

Author SHA1 Message Date
Filip Sodić
ba683d0969 Add extendedWhereUnique to Wasp AI 2023-07-12 17:51:33 +02:00
Filip Sodić
4bff9069a3 Merge branch 'main' into wasp-ai 2023-07-12 17:44:24 +02:00
Filip Sodić
af9d7992b3
Add support for Prisma preview features (#1315) 2023-07-12 17:08:57 +02:00
Martin Sosic
803fad6d9f Added creativity level, improved messaging in wasp-ai, some links. 2023-07-12 16:18:57 +02:00
Martin Sosic
d2268b734f Reverted wasp cli version in Wasp AI to 0.11.0. 2023-07-11 16:30:12 +02:00
Martin Sosic
fa6c3867eb Fixed wrong cabal version. 2023-07-11 16:27:00 +02:00
Martin Sosic
9ab013c5c2 Updated e2e tests. 2023-07-11 15:43:41 +02:00
Filip Sodić
e2ed9682e0 Merge branch 'wasp-ai' of github.com:wasp-lang/wasp into wasp-ai 2023-07-11 13:27:44 +02:00
Filip Sodić
ce5f292cca Improve Page examples for chat gpt 2023-07-11 13:27:32 +02:00
Martin Sosic
7291ca882a Updated version to 0.11.1. 2023-07-11 13:06:49 +02:00
Martin Sosic
805aaef1dd Temperature can now be adjusted via CLI. 2023-07-11 12:38:32 +02:00
Martin Sosic
737ab428ed Added GPT4 as an option via project config JSON. 2023-07-11 12:28:19 +02:00
Filip Sodić
2eb648ce01 Tell Chat GPT to improve page design 2023-07-10 18:26:25 +02:00
Filip Sodić
72f6b08c99 Enrich example page with styles and logic 2023-07-10 17:57:22 +02:00
Martin Sosic
4f8a448dc9 Gave it examples on what to avoid regarding update() and findUnique(). 2023-07-10 15:48:02 +02:00
Martin Sosic
dcf6001623 Explained to GPT not to use multiple fields in the 'where' of update() or findUnique(). 2023-07-10 11:15:01 +02:00
Martin Sosic
81257bb179 Updated action example to not use updateMany as it confused GPT. 2023-07-08 21:40:24 +02:00
Martin Sosic
1d8d47c028 Added logout button to Layout.jsx. 2023-07-08 21:13:55 +02:00
Martin Sosic
248ee950bd Removed list of all possible imports from Page prompts. 2023-07-08 20:30:44 +02:00
Filip Sodić
0cc65dbd3e
Add import heuristic (#1311) 2023-07-08 01:26:54 +02:00
Martin Sosic
a321684959 Login/Signup page now have nice width. 2023-07-07 17:46:30 +02:00
Martin Sosic
ef66f0e991 Told it to replace local js imports with actual implementation. 2023-07-07 16:09:32 +02:00
Martin Sosic
e3f09be9ae Wasp AI: small fixes. 2023-07-07 15:46:43 +02:00
Martin Sosic
64163763e3 Wasp AI: Plan is not repeatedly fixed. 2023-07-07 15:21:10 +02:00
Craig McIlwrath
2d3f0e116c
[waspls] cleanup extimport code (#1292)
mainly refactoring. also updates CI workflow to run packages/ts-inspect tests.
2023-07-07 08:21:33 -04:00
Martin Sosic
d2e5007a0a Wasp AI: Told GPT we are using sqlite so it can't do String[] in PSL. 2023-07-07 12:11:53 +02:00
Filip Sodić
352476e6e3
Fix Wasp AI import and login/logout problems (#1308) 2023-07-07 12:06:24 +02:00
Martin Šošić
4d4c2c2f72
Wasp AI: got prisma format working, fixed recovery on http errors
* Put some skeleton logic in.

* Fixed wrong handling of http errors, got prisma format working.

* fix
2023-07-07 01:24:26 +02:00
Martin Sosic
f714b8eb1d Added prisma TS package to Wasp, for running prisma format. 2023-07-06 18:29:02 +02:00
Martin Sosic
a7254cadb7 Code agent now sends the exception that crashed it as the last log. 2023-07-05 19:03:48 +02:00
Martin Sosic
42d656d9ad Added logs when retrying GPT requests. 2023-07-05 18:24:42 +02:00
Martin Sosic
513d696337 Fixed wrong http error handling. 2023-07-05 17:40:45 +02:00
Filip Sodić
0551983d5f Prevent chat gpt from generating login and signup 2023-07-05 16:23:04 +02:00
Filip Sodić
023478498c Fix typo in actions 2023-07-05 14:05:18 +02:00
Filip Sodić
cd0c5cb1bb
Fix incorrect import and useAction hook usage (#1305) 2023-07-05 11:57:54 +02:00
Martin Sosic
312441579a Improved code a bit for retrying GPT requests. 2023-07-05 01:00:18 +02:00
Martin Sosic
f22e7a87c6 Made ChatGPT retrying more robust (reacts to more http status codes). 2023-07-04 22:32:23 +02:00
Martin Sosic
0d58f24266 Reduced duration and tokens for JSON fixing, fixed removing double imports in operations. 2023-06-30 16:46:17 +02:00
Martin Sosic
b54627bc6e Made Wasp AI even more resistant to invalid JSON being returned from GPT. 2023-06-30 14:45:09 +02:00
Martin Sosic
046a49b709 Improved how we choose to use ChatGPT4. 2023-06-30 02:13:26 +02:00
Martin Sosic
958807f25b Now we use GPT4, if available, for plan. 2023-06-30 01:49:42 +02:00
Mihovil Ilakovac
f6cd3c79fd Use custom color 2023-06-29 22:36:03 +02:00
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
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
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
c209077d20 Page fixing update 2023-06-29 15:32:40 +02:00