Skip to content

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

Closed
@Zhengqbbb

Description

💭 Describe the feature

ISSUE Links: #153 #154 #156


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, like ollama 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions