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

Function embeddingsNote

cli/context_adapter.go:154–159  ·  view source on GitHub ↗

embeddingsNote annotates whether semantic retrieval has a vector backend.

(embeddings bool)

Source from the content-addressed store, hash-verified

152
153// embeddingsNote annotates whether semantic retrieval has a vector backend.
154func embeddingsNote(embeddings bool) string {
155 if embeddings {
156 return " (embeddings on)"
157 }
158 return " (embeddings off — falls back to keyless lexical)"
159}
160
161// Detach removes a context from the session.
162func (a *contextPluginAdapter) Detach(name string) (string, error) {

Callers 1

AttachMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected