Skip to content

[Feat] config for model selection for both local and other providers #56

Open

Description

@PyDevC

Files: lua/model_cmp/config.lua:14-32, gemini.lua:58, llama.lua:38

Feature Introduction: Models are hardcoded ("gemini-2.0-flash", "llama"). Users cannot choose which model variant to use.

Feature Description:

require("model_cmp").setup({
    api = {
        model = "gemini-2.5-pro",  -- or "codestral-latest", "deepseek-coder"
    }
})

Pass the model name to each provider's generate_request() function.

Is your feature possible with the current status of repo? Yes. Requires adding a model field to config and passing it through the request pipeline.

Activity

  1. added
    enhancement
    AI gen
    maintainer triaged
    on May 24, 2026
  2. changed the title [-][Feat] Model selection — let user choose model variant in config[/-] [+][Feat] config for model selection for both local and other providers[/+] on May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AI genenhancementmaintainer triaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions