Skip to content

Add multiple BYOK model capability in copilot cli #3282

Description

@shivsant

Describe the feature or problem you'd like to solve

Currently copilot CLI supports a single BYOK model with env var. I want to enable multiple models through it which is difficult. Inside copilot TUI, I can NOT switch to another BYOK model, I have to terminate the session and set the new env vars and then reopen copilot CLI again.

Proposed solution

Provide a json in copilot directory which copilot cli will read and use to list all the models inside.

Example prompts or workflows

I could then do this

copilot --model <modelA / modelB>

instead of resetting the env variables

Additional context

No response

Activity

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

    area:configurationConfig files, instruction files, settings, and environment variablesarea:modelsModel selection, availability, switching, rate limits, and model-specific behavior

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions