generated from stratosphereips/awesome-code-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add checks to verify message is not empty before querying OpenAI (#7)
* Check manual input message is valid before translating * Re-arrange to check for limit later in the code * Check for limit later in the code * Check message is not empty before asking OpenAI
- Loading branch information
1 parent
37ab932
commit e0a9199
Showing
1 changed file
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters