Zhengqbbb / cz-git

cz-git | czg πŸ› οΈ DX first and more engineered, lightweight, customizable, standard output format Commitizen adapter and CLI
https://cz-git.qbb.sh
MIT License
1.05k stars 39 forks source link

[v1.10.0 version plan]: Add more AI model and support choose AI model #180

Open Zhengqbbb opened 1 month ago

Zhengqbbb commented 1 month ago

πŸ’­ Describe the feature

ISSUE Links: #153 #154 #156


1. Add more AI models

Current models:

Planned additions:


2. Deprecate and support backward compatibility for the old configuration option aiType

- aiType: 
+ aiModel: 'gpt-3.5-turbo' | 'gpt-4' | 'gpt-4o' | 'gpt-4o-mini' ...

3. CLI add options -M=|--model= and --api-model=

-M=|--model=          Sets the AI model
--api-model=          Setup request OpenAI model   to local (.config/.czrc)
terranc commented 1 hour ago

ε€ͺιœ€θ¦θΏ™εŠŸθƒ½ε‘’