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

Function embeddingProviderLabel

cli/hyde_setup.go:95–100  ·  view source on GitHub ↗

embeddingProviderLabel renders a provider name for status output; nil/Null collapse to "null" so transitions compare cleanly.

(p embedding.Provider)

Source from the content-addressed store, hash-verified

93// embeddingProviderLabel renders a provider name for status output;
94// nil/Null collapse to "null" so transitions compare cleanly.
95func embeddingProviderLabel(p embedding.Provider) string {
96 if embedding.IsNull(p) {
97 return "null"
98 }
99 return p.Name()
100}
101
102// hydeAugmenter constructs a per-call HyDE augmenter wrapping the
103// active LLM client. Returns nil when HyDE is disabled in config or

Callers 2

Calls 2

IsNullFunction · 0.92
NameMethod · 0.65

Tested by 1