BuilderIO / ai-shell

A CLI that converts natural language to shell commands.
MIT License
3.92k stars 238 forks source link

Add support for user to select from currently available models #109

Closed chen201724 closed 1 month ago

chen201724 commented 1 month ago

Background

In the current configuration, selecting a model requires the user to manually input the model name. This approach can lead to several issues, such as:

Changes

To improve the user experience, I have added a feature that allows users to select from the currently available models instead of manually entering the name. This will reduce errors and make the configuration process more intuitive.

Impact

Thank you for taking the time to review this PR. If you have any questions or suggestions, please feel free to reach out to me.


I hope this helps! If you need any further adjustments or have additional questions, let me know.

steve8708 commented 1 month ago

nice, thanks @chen201724 !

steve8708 commented 1 month ago

looks like lint is failing, just run prettier locally to fix

steve8708 commented 1 month ago

npm run lint:fix

chen201724 commented 1 month ago

npm run lint:fix

Thank you, it has been completed. ✅