You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor `setup_dir()` to replace `match-case` with `if-elif`
* Updated the `setup_dir()` function to utilize `if-elif` statements instead of the `match-case` syntax.
* Replaced print statements with `click.echo` and redirect error messages to `stderr`.
Update ChatGPT model and remove max_tokens parameter
* Changed default model from "gpt-3.5-turbo-0613" to "gpt-4o" in `chatgpt_request`.
* Commented out `max_tokens` parameter for the request to align with new model usage.
Change exit code for empty vocabulary list
When the `translate` command is executed with an empty vocabulary list, it should exit with a status code of `0` instead of `1`, as this is not an error condition but an expected behavior.
This commit changes the exit code from `1` to `0` to reflect that the empty vocabulary list is not an error.