GatorEducator / execexam

:rocket: ExecExam runs executable examinations that assess Python programming skills
https://pypi.org/project/execexam/
1 stars 3 forks source link

Bug: Advice Model Input #8

Open hemanialaparthi opened 2 weeks ago

hemanialaparthi commented 2 weeks ago

The program successfully executes even when an invalid model name is provided as an argument for the --advice-model parameter. For example, when running the following command with an incorrect model name, the program doesn't throw an error and proceeds as though the model is valid:

--advice-model onionrings

Expected Behavior: The program should validate the --advice-model argument and return a clear error message when an invalid or unsupported model name is provided, such as:

Error: The model 'onionrings' is not a valid or supported model name. Please choose a valid model.