ai
ai copied to clipboard
Add remix example
This PR adds an example of using Remix with OpenAI. Should resolves issue #199
Thanks! could you run prettier for fix up the CI? pnpm prettier-fix.
Thanks! could you run prettier for fix up the CI?
pnpm prettier-fix.
I did it.
Builds are failing
Error: Error loading Remix config at /home/runner/work/ai/ai/examples/remix-openai/remix.config.js
SyntaxError: Unexpected token 'export'
at Object.readConfig (/home/runner/work/ai/ai/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]/node_modules/@remix-run/dev/dist/config.js:72:13)
at async Object.build (/home/runner/work/ai/ai/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]/node_modules/@remix-run/dev/dist/cli/commands.js:140:18)
at async Object.run (/home/runner/work/ai/ai/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]/node_modules/@remix-run/dev/dist/cli/run.js:176:7)
ELIFECYCLE Command failed with exit code 1.
Has anyone gotten these examples to work?
All I am getting back as a response is the full HTML of the route.
I haven't got the time to fix the CI errors, sorry!
Looks like the codes used in the example are already stale
yes, this is outdated and needs to be redone. open to accepting an updated remix example