Skip to content

Support custom providers via ACP #3048

@SteffenDE

Description

@SteffenDE

Describe the feature or problem you'd like to solve

Custom providers don't work in --acp mode

Proposed solution

ACP should respect the provider and model set using the COPILOT_PROVIDER_* environment variables. For example:

COPILOT_PROVIDER_BASE_URL=https://openrouter.ai/api/v1 COPILOT_PROVIDER_API_KEY="sk-or-v1-XYZ" COPILOT_MODEL="moonshotai/kimi-k2.6" copilot --acp

Right now, this doesn't seem to have any effect in ACP mode.

Example prompts or workflows

No response

Additional context

No response

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 behaviorarea:non-interactiveNon-interactive mode (-p), CI/CD, ACP protocol, and headless automation
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions