Kyle Corbitt
c3e85607e0
Strip types from prompt variants
...
We want Monaco to treat the prompt constructor as Typescript so we get type checks, but we actually want to save the prompt constructor as Javascript so we can run it directly without transpiling.
2023-07-14 14:03:28 -07:00
Kyle Corbitt
731406d1f4
Pseudo function signatures
...
Show pseudo function signatures in the variant editor box as a UX hint that you're typing in javascript and have access to the scenario.
2023-07-14 13:56:45 -07:00
Kyle Corbitt
3c59e4b774
Merge pull request #42 from OpenPipe/autoformat
...
implement format on save
2023-07-14 12:56:41 -07:00
Kyle Corbitt
a20f81939d
implement format on save
2023-07-14 12:33:57 -07:00
Kyle Corbitt
a5378b106b
store model and use to calculate completion costs
2023-07-14 11:06:07 -07:00
Kyle Corbitt
2cd82eedd0
rename variantEditor -> sharedVariantEditor
2023-07-13 23:27:39 -07:00