Closed strawberrymelonpanda closed 7 months ago
Will make a more detailed readme on this soon. TypeScript is not a requirement though 😄
Using npx tsx
didn't work for me:
ERROR: Top-level await is currently not supported with the "cjs" output format
Wondering how to run this project :)
You should switch your project to ESM modules
I'm not a typescript dev, so I struggled a bit with how to actually execute the code shown in the Readme.md and the /examples folder.
I eventually ended up with
(editing the model path)
Not sure if this is the best way.