-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: new file with prompt #2121
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
…ic into new-file-from-prompt
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2121 +/- ##
=======================================
Coverage 90.82% 90.82%
=======================================
Files 260 260
Lines 57583 57583
=======================================
Hits 52297 52297
Misses 5286 5286 ☔ View full report in Codecov by Sentry. |
Summary
Allows people to land on the app and have a file created with a prompt run automatically.
/files/create
from outside of the app will create a new file for a user.prompt
search param is included, it will start a file with an AI prompt, e.g.files/create?prompt=generate+some+python+code
Under the hood, this works by this logic:
Also: this PR includes a piece of data on the
/acknowledge
endpoint which will tell you when a new user was created on that call.To Test
There are three cases we should test: