Skip to content

Ability to set agent to use #547

@IeuanWalker

Description

@IeuanWalker

In the CLI you can set the agent you want to use -
Image

From what i can see with the SDK you can only give it a list of Agents to use -

    public List<CustomAgentConfig>? CustomAgents { get; set; }

With no option to set which one to use manually. In the custom agent model there is an Infer boolean property which means when set to false that agent wont be used automatically, but without a way to manually set one whats the point of it?

public bool? Infer { get; set; }

Also based on the docs should Infer be changed to DisableModelInvocation, to match the docs -
https://docs.github.com/en/copilot/reference/custom-agents-configuration#:~:text=disable%2Dmodel%2Dinvocation,to%20true.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions