Skip to content

Commit a2baee6

Browse files
CR fixes
1 parent 4bc255c commit a2baee6

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

docs/features/remote-sessions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ await session.rpc.remote.disable()
128128
<!-- docs-validate: skip -->
129129
```go
130130
result, err := session.RPC.Remote.Enable(ctx)
131-
fmt.Println("Remote URL:", *result.URL)
131+
if result.URL != nil {
132+
fmt.Println("Remote URL:", *result.URL)
133+
}
132134

133135
// Later: stop sharing
134136
err = session.RPC.Remote.Disable(ctx)

dotnet/test/Unit/CloneTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public void CopilotClientOptions_Clone_CopiesAllProperties()
2727
GitHubToken = "ghp_test",
2828
UseLoggedInUser = false,
2929
CopilotHome = "/custom/copilot/home",
30+
Remote = true,
3031
SessionIdleTimeoutSeconds = 600,
3132
};
3233

@@ -45,6 +46,7 @@ public void CopilotClientOptions_Clone_CopiesAllProperties()
4546
Assert.Equal(original.GitHubToken, clone.GitHubToken);
4647
Assert.Equal(original.UseLoggedInUser, clone.UseLoggedInUser);
4748
Assert.Equal(original.CopilotHome, clone.CopilotHome);
49+
Assert.Equal(original.Remote, clone.Remote);
4850
Assert.Equal(original.SessionIdleTimeoutSeconds, clone.SessionIdleTimeoutSeconds);
4951
}
5052

0 commit comments

Comments
 (0)