github / github/copilot-sdk

dotnet sdk CopilotClient.CreateSessionAsync wont use 'Agent' param in SessionConfig

Open
#1,116 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
10.5k
Forks
1.5k
Avg merge
1d 14h
Merged PRs (30d)
129

Description

only maunal call ``` await _session.Rpc.Agent.SelectAsync(agentName);``` can change Agent in first time

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the GitHub.Copilot.SDK 0.2.2 PackageReference and inspect CopilotClient.CreateSessionAsync and SessionConfig handling. Verify that the SessionConfig Agent value is applied during initial session creation without requiring a manual _session.Rpc.Agent.SelectAsync(agentName) call.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.