ai icon indicating copy to clipboard operation
ai copied to clipboard

Add remix example

Open nicnocquee opened this issue 2 years ago • 5 comments

This PR adds an example of using Remix with OpenAI. Should resolves issue #199

nicnocquee avatar Sep 24 '23 23:09 nicnocquee

Thanks! could you run prettier for fix up the CI? pnpm prettier-fix.

MaxLeiter avatar Sep 28 '23 15:09 MaxLeiter

Thanks! could you run prettier for fix up the CI? pnpm prettier-fix.

I did it.

nicnocquee avatar Oct 02 '23 11:10 nicnocquee

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.

MaxLeiter avatar Oct 04 '23 18:10 MaxLeiter

Has anyone gotten these examples to work?

All I am getting back as a response is the full HTML of the route.

moltar avatar Mar 04 '24 11:03 moltar

I haven't got the time to fix the CI errors, sorry!

nicnocquee avatar Mar 04 '24 11:03 nicnocquee

Looks like the codes used in the example are already stale

lilouartz avatar Jun 23 '24 19:06 lilouartz

yes, this is outdated and needs to be redone. open to accepting an updated remix example

lgrammel avatar Jun 24 '24 06:06 lgrammel