MCPcopy Create free account
hub / github.com/coder/agentapi / NewSession

Method NewSession

x/acpio/acpio_test.go:40–42  ·  view source on GitHub ↗
(context.Context, acp.NewSessionRequest)

Source from the content-addressed store, hash-verified

38func (a *testAgent) Cancel(context.Context, acp.CancelNotification) error { return nil }
39
40func (a *testAgent) NewSession(context.Context, acp.NewSessionRequest) (acp.NewSessionResponse, error) {
41 return acp.NewSessionResponse{SessionId: "test-session"}, nil
42}
43
44func (a *testAgent) SetSessionMode(context.Context, acp.SetSessionModeRequest) (acp.SetSessionModeResponse, error) {
45 return acp.SetSessionModeResponse{}, nil

Callers 1

NewWithPipesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected