Skip to content

Commit

Permalink
Merge pull request Nutlope#13 from Nutlope/edge-functions
Browse files Browse the repository at this point in the history
moving to edge functions
  • Loading branch information
Nutlope authored Aug 7, 2024
2 parents f1304bc + 2de155a commit 190e267
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ Look into a way to export/deploy the app in a single click. Steps:

## Future Tasks

- [ ] Try chain of thought reasoning to see if it works better overall
- [ ] Encourage best practices by making the input and textarea & having pills to generate apps w/ good prompts
- [ ] Save previous versions so people can go back and forth between the generated ones
- [ ] Could be nice to show a "featured apps" route on the site on `/featured`. Have a `/id/${prompt}` dynamic route that can display a bunch of nice example apps in the sandbox ready to go
- [ ] Support more languages starting with Python, check out E2B
Expand Down
2 changes: 1 addition & 1 deletion app/api/generateCode/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
TogetherAIStreamPayload,
} from "@/utils/TogetherAIStream";

export const maxDuration = 60;
export const runtime = "edge";

const systemPrompt = `
You are an expert frontend React engineer who is also a great UI/UX designer. Follow the instructions carefully, I will tip you $1 million if you do a good job:
Expand Down

0 comments on commit 190e267

Please sign in to comment.