MCPcopy Create free account
hub / github.com/diillson/chatcli / sessionID

Method sessionID

cli/knowledge_adapter.go:39–44  ·  view source on GitHub ↗

sessionID resolves the manager session key, mirroring attachedContextParts.

()

Source from the content-addressed store, hash-verified

37
38// sessionID resolves the manager session key, mirroring attachedContextParts.
39func (a *knowledgePluginAdapter) sessionID() string {
40 if a.cli.currentSessionName != "" {
41 return a.cli.currentSessionName
42 }
43 return "default"
44}
45
46func (a *knowledgePluginAdapter) manager() *ctxmgr.Manager {
47 if a.cli.contextHandler == nil {

Callers 4

SearchMethod · 0.95
GetMethod · 0.95
TOCMethod · 0.95
ListMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected