arito
arito copied to clipboard
Added condition to prevent amount of questions less than 1
Related to #213 and #235
Describe the changes you've made
I added a condition to prevent the input of the number of questions to be less than one.
Type of change
What sort of change have you made:
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Code style update (formatting, local variables)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
How Has This Been Tested?
I tested and verified the results in localhost.
Checklist:
- [x] My code follows the guidelines of this project.
- [x] I have performed a self-review of my own code.
Screenshots (Images)
Before the changes |
---|
After the changes |
---|
Another thing that could help is some kind of burner OpenAI_API_Key that we can host so you can do ~10 queries on an endpoint on a trial basis (would require some kind of cloud function or something to control access without revealing the key)