Closed
Description
💭 Describe the feature
1. Support more AI models
Current models:
text-davinci-003
gpt-3.5-turbo
(default)
Planned additions:
gpt-4
gpt-4o
gpt-4o-mini
(default)string
(can be customized, likeollama
and more models compatible with OpenAI API format)
e.g: GitHub model and local model (Ollama)
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=|--ai-model=
and --api-model=
-M=|--model= Sets the AI model
--api-model= Setup request OpenAI model to local (.config/.czrc)
Note
If the configuration in the global or project contains the aiModel
field, then the ~/.config/.czrc
set by --api-model will be overridden.
Priority: -M=|--model=
> global or project configure - aiModel
> ~/.config/.czrc - apiModel
Activity