MCPcopy Index your code
hub / github.com/docker/docker-agent / resetConversationLocked

Method resetConversationLocked

pkg/embeddedchat/embeddedchat.go:206–209  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204}
205
206func (s *Session) resetConversationLocked() {
207 opts := append([]session.Opt(nil), s.cfg.SessionOptions...)
208 s.session = session.New(opts...)
209}
210
211func (s *Session) cancelActiveLocked() {
212 if s.activeCancel != nil {

Callers 2

NewFunction · 0.95
RestartMethod · 0.95

Implementers 7

fakeSessionpkg/tools/lifecycle/supervisor_test.go
sessionClientpkg/tools/mcp/session_client.go
mockMCPClientpkg/tools/mcp/mcp_test.go
reconnectableMockClientpkg/tools/mcp/mcp_test.go
failingInitClientpkg/tools/mcp/reconnect_test.go
clientSessionpkg/tools/mcp/mcp.go
lspSessionpkg/tools/builtin/lsp/lsp_lifecycle.go

Calls 1

NewFunction · 0.92

Tested by

no test coverage detected