MCPcopy Create free account
hub / github.com/github/copilot-sdk / ResumeSession

Method ResumeSession

go/client.go:976–978  ·  view source on GitHub ↗

ResumeSession resumes an existing conversation session by its ID. This is a convenience method that calls [Client.ResumeSessionWithOptions]. Example: session, err := client.ResumeSession(context.Background(), "session-123", &copilot.ResumeSessionConfig{ OnPermissionRequest: copilot.Permissio

(ctx context.Context, sessionID string, config *ResumeSessionConfig)

Source from the content-addressed store, hash-verified

974// OnPermissionRequest: copilot.PermissionHandler.ApproveAll,
975// })
976func (c *Client) ResumeSession(ctx context.Context, sessionID string, config *ResumeSessionConfig) (*Session, error) {
977 return c.ResumeSessionWithOptions(ctx, sessionID, config)
978}
979
980// ResumeSessionWithOptions resumes an existing conversation session with additional configuration.
981//

Callers 15

TestSuspendE2EFunction · 0.95
TestPendingWorkResumeE2EFunction · 0.95
TestSessionFSE2EFunction · 0.95
TestPermissionsE2EFunction · 0.95
TestResumeMCPOAuthE2EFunction · 0.95
TestCommandsE2EFunction · 0.95
TestRPCSessionStateE2EFunction · 0.95
TestMultiClientE2EFunction · 0.95
TestSessionE2EFunction · 0.95
TestStreamingFidelityE2EFunction · 0.95

Calls 1

Tested by 14

TestSuspendE2EFunction · 0.76
TestPendingWorkResumeE2EFunction · 0.76
TestSessionFSE2EFunction · 0.76
TestPermissionsE2EFunction · 0.76
TestResumeMCPOAuthE2EFunction · 0.76
TestCommandsE2EFunction · 0.76
TestRPCSessionStateE2EFunction · 0.76
TestMultiClientE2EFunction · 0.76
TestSessionE2EFunction · 0.76
TestStreamingFidelityE2EFunction · 0.76