embeddingProviderLabel renders a provider name for status output; nil/Null collapse to "null" so transitions compare cleanly.
(p embedding.Provider)
| 93 | // embeddingProviderLabel renders a provider name for status output; |
| 94 | // nil/Null collapse to "null" so transitions compare cleanly. |
| 95 | func 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 |