Commit Graph

168 Commits

Author SHA1 Message Date
Martin Sosic
bb17a1ba77 Fixed wrong instructions after 'wasp new'. 2024-02-07 16:41:04 +01:00
Mihovil Ilakovac
d38de37861
Update the local templates to work with 0.12 (#1715) 2024-02-06 16:15:51 +01:00
Filip Sodić
f7587a2c9c Sort out restructuring leftovers 2024-01-29 17:20:35 +01:00
Filip Sodić
0c178c0719 Explain why we run Vitest from Wasp project root 2024-01-29 16:22:58 +01:00
Filip Sodić
cbd7310b16
Implement Wasp SDK generation (#1626) 2024-01-29 16:08:15 +01:00
Filip Sodić
1456a89222
Adapt wasp clean and fix NPM dep installation (#1603)
---------

Co-authored-by: Martin Sosic <sosic.martin@gmail.com>
2024-01-29 15:21:36 +01:00
Filip Sodić
df5a1358e6
Adapt Prisma for the new structure (#1604) 2024-01-29 15:10:47 +01:00
Filip Sodić
d3e9fdc4c6
Implement project install step for restructuring (#1690) 2024-01-29 14:57:22 +01:00
Filip Sodić
6f0714ad23
Create restructuring prototype (#1584) 2024-01-29 14:00:20 +01:00
Martin Šošić
6771dacb0e
Added open-saas starter template to CLI & fixed all starter templates (instructions, versioning) (#1619)
* Added open saas to starter templates and refactored template picking a bit.

* All now use new mechanism.

* Removed notion of GhStartersRepoTemplate.

* Templates are now versioned.

* Starting instructions are not adjustable per template.

* Instructions are now correct for each template.

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2024-01-11 16:25:35 +01:00
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