Skip to content

[feature] optimize_for parameter for cursor provider and auto model #301

Description

@vladislavarsenev

Hi!

It's an really impressive plugin and I love it, but it costs me more than cursor due to one moment

Cursor's ACP/SDK exposes their router as model id auto-smart with a session-level param optimize_for (cost, balanced, or intelligence). When no param is passed, it defaults to balanced — this happens regardless of what "Optimize For" mode is set to in the Cursor editor account settings, since that's a separate UI-level preference that isn't inherited by SDK/ACP session creation.

Right now acp_providers["cursor-agent-acp"] only supports initial_model and default_thought_level. There's no way to pass optimize_for when starting a session with initial_model = "auto", so every agentic.nvim session using Auto silently runs in balanced mode, which bills roughly 2-4x more than cost mode.

I'd love to have such setting someday☺️

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions