If an output path was not provided via --output-file, pressing "s" during the retry prompt would not result in a request to enter an output path, and the program would simply exit.
When using ChatGPT's model, sometimes the model would "refuse" to generate code, perhaps due to misunderstanding the request. We (attempt) to prevent that by replacing "generate code" with "generate sample code" in the prompt prefix.
The --model and --full flags would only be displayed for aiac get --help and not for aiac --help.
👇 Click on the image for a new way to code review
####
[![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/gofireflyio/aiac/30/077137f8/8fea871edcf990f6687f04f8d5979a43b64e0c3c.svg)](https://app.codesee.io/r/reviews?pr=30&src=https%3A%2F%2Fgithub.com%2Fgofireflyio%2Faiac)
#### Legend
The following bugs/issues are fixed:
If an output path was not provided via --output-file, pressing "s" during the retry prompt would not result in a request to enter an output path, and the program would simply exit.
When using ChatGPT's model, sometimes the model would "refuse" to generate code, perhaps due to misunderstanding the request. We (attempt) to prevent that by replacing "generate code" with "generate sample code" in the prompt prefix.
The
--model
and--full
flags would only be displayed foraiac get --help
and not foraiac --help
.