Commit Graph

158 Commits

Author SHA1 Message Date
Martin Šošić
758110e686
Relax node version (#1533)
* Relaxed Wasp's node version requirements.

* Updated e2e tests.

* fix

* fix

* Fixed version of wasp app in headless tests.

* Update web/docs/introduction/getting-started.md

Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>

* fix

* fix

* Small grammar fixes.

* fixes

* Updated e2e tests.

* fix

* fix

---------

Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2024-01-04 11:30:42 +01:00
Martin Šošić
994a58f0dc
Wasp ai cli mage (#1601)
* Improved Wasp AI CLI experience.

* fix

* Added CLI Usage, polished CLI commands.

* Added choice of temperature.

* Added styling.

* Added more sophisticated, terminal-only styling.

* fix

* Updated Mage to use new Wasp CLI + added some messaging to CLI.

* fix

* Created wasp-ai/README, updated waspc/README.

* Moved wasp-ai/ to mage/.

* Final polishing (docs, readmes, messaging).

* fix

* Added tests for LogMsg.

* Updated versions of test apps to 0.12.

* fix

* fix

* Update mage/README.md

* fix

* fix
2023-12-22 15:14:38 +01:00
Janko Vidaković
34f6539590
Support more GPT models in Mage + allow customizing both of them (#1598)
* Enable new OpenAI models for MAGE

* Add option to specify Plan GPT model from CLI

* Fix error in parsing planGptModel

* Remove check for GPT-4 availability

* Refactor initialization of GPT params

* Add GPT 3.5 Turbo 0613

* Fix GPT versions to exact values

Generic OpenAI models, such as 'GPT-4' and 'GPT-3_5_turbo',
point to the 'latest' of the respective OpenAI models.
This means that the exact models used can change unexpectedly.
This would not normally be an issue, but the newer models
tend to exhibit a performance drop.
Therefore, to future-proof our application, we fix the
model versions to prevent any unexpected model changes.

* Rename base->coding, plan->planning

* Remove unused _useGpt3IfGpt4NotAvailable field

* Remove confusing helper function

* Fix typo Planing -> Planning
2023-12-13 17:11:08 +01:00
Martin Sosic
47c4b8cb16 Merge branch 'main' into wasp-ai 2023-12-11 20:19:46 +01:00
Martin Šošić
20769f67a8
Made CI checks during telemetry a bit more thorough. (#1586) 2023-11-30 14:44:54 +01:00
Mihovil Ilakovac
62aa2b72c4
Adjust the DB check error message (#1558) 2023-11-09 13:19:47 +01:00
Martin Sosic
2fb1b0a54d Added info about 'wasp studio' command to CLI usage/help output. 2023-10-16 16:02:43 +02:00
Mihovil Ilakovac
03cfcdfaaf
Wasp Studio [experimental] (#1483) 2023-10-10 12:17:05 +02:00
Martin Sosic
046a49b709 Improved how we choose to use ChatGPT4. 2023-06-30 02:13:26 +02:00
Martin Sosic
a5323a2e05 Added JSON config via CLI for Wasp AI. 2023-06-29 21:25:23 +02:00
Mihovil Ilakovac
1b4e7cd765 Formatting
Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2023-06-28 23:51:24 +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
15ce1bf5bb Now new-ai can be called programmaticaly more easily. 2023-06-28 11:25:09 +02:00
Martin Sosic
db52fdbeac Merge branch 'main' into wasp-ai 2023-06-26 19:12:41 +02:00
Mihovil Ilakovac
c50aef34f8
Rewrite templates to include description (#1283) 2023-06-23 16:44:24 +02:00
Martin Sosic
001068ca1a Merge branch 'main' into wasp-ai 2023-06-23 12:45:59 +02:00
Martin Sosic
afb148e19d wasp cli now exits with code 1 on internal errors. 2023-06-23 12:44:43 +02:00
Martin Sosic
83ef006a98 Improved messaging for missing OpenAI Api key. 2023-06-23 12:09:09 +02:00
Martin Sosic
cfa09771e1 Merge branch 'main' into wasp-ai 2023-06-21 11:06:45 +02:00
Craig McIlwrath
802e0c5e5d
show error message when database is not running (#1218)
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2023-06-20 14:34:14 -04:00
Martin Sosic
2e9a33d167 Extracted core skeleton files from the local template(s). 2023-06-20 19:58:15 +02:00
Martin Sosic
6d4a39a976 Merge commit resolutions I ommited commiting by accident. 2023-06-20 18:32:50 +02:00
Martin Sosic
8b6fdc7b6e Merge branch 'main' into wasp-ai 2023-06-20 18:30:20 +02:00
Martin Sosic
85cf960121 Reorganized creation of new project a bit. 2023-06-20 11:08:34 +02:00
Martin Sosic
170d63ae63 fix 2023-06-19 23:08:57 +02:00
Martin Sosic
9a079f90d2 Moved command for AI project generation to better place. 2023-06-19 23:06:38 +02:00
Martin Sosic
e54171da01 Moved AI/GenerateNewProject to waspc-lib. 2023-06-19 22:54:26 +02:00
Martin Sosic
5ad6d9a8fe Made GenerateNewProject independent of CLI. 2023-06-19 21:34:14 +02:00
Martin Sosic
6333c6157f Moved CodeAgent and OpenAI modules under Wasp.AI. 2023-06-19 20:44:12 +02:00
Martin Sosic
30ad72df6f A bit of refactoring. 2023-06-19 20:19:58 +02:00
Martin Šošić
1584721299
Updated telemetry docs. (#1237) 2023-06-19 12:29:05 +02:00
Martin Sosic
b1778cd505 It works! Web app calls wasp-cli and works. 2023-06-16 15:43:16 +02:00
Martin Sosic
f78ddf17d4 Fixes. 2023-06-15 21:13:54 +02:00
Martin Sosic
67a5f37b33 Now new-ai can work for human or for machine. 2023-06-15 20:37:53 +02:00
Martin Sosic
fb33dc9836 Put down basics for Page generation, need to finalize prompt. 2023-06-15 18:11:24 +02:00
Martin Sosic
d925836ac7 All operations are now being generated. 2023-06-15 17:07:39 +02:00
Martin Sosic
9ffc115fcd Actions are now generated. 2023-06-15 15:44:52 +02:00
Martin Sosic
cbb3962508 Plan is now nicely printed. 2023-06-15 10:49:55 +02:00
Martin Sosic
c57ef72117 Planing working relatively ok! 2023-06-14 23:05:18 +02:00
Martin Sosic
dcb633a557 Implemented generation of plan, got it to compile. 2023-06-14 22:48:43 +02:00
Martin Sosic
5900914faf Implemented generation of wasp skeleton, next is planning. 2023-06-14 17:11:28 +02:00
Martin Sosic
a89f52b026 Command.AI.New is now in order. 2023-06-13 21:57:49 +02:00
Martin Sosic
1a8db2abf8 Wrote basic skeleton of GenerateNewProject.hs 2023-06-13 18:07:02 +02:00
Martin Sosic
4401d4a89f Implemented first version of CodeAgent monad. 2023-06-13 16:09:48 +02:00
Martin Sosic
65ec766ad6 fix 2023-06-12 22:41:56 +02:00
Martin Sosic
d16b3da33b Created a new skeleton for wasp ai, in Wasp.Cli.Command.AI.GenerateNewProject.hs. 2023-06-12 22:41:27 +02:00
Craig McIlwrath
ec307d0a3d
move Wasp/Generator/Node/Version -> Wasp/Node/Version (#1226) 2023-06-05 07:52:51 -04:00
Craig McIlwrath
ce587a9fad
Improve waspc node version checking and error messages (#1210)
* increase minimum version of process dependency

* improve node version error messages
2023-05-26 08:47:58 -04:00
Shayne Czyzewski
d1614372bf
Propagates error exit code for wasp deploy (#1165) 2023-05-03 10:05:35 -04:00