The local embeddings service was not actually being used for enterprise (non-dotcom), but the class was being instantiated and an error message local embeddings are only available on Sourcegraph.com would show up in the output channel for enterprise users.
Test plan
Sign into s2 or another enterprise instance and confirm that there is no such error in the output channel and a breakpoint set in LocalEmbeddingsController's constructor is never hit.
The local embeddings service was not actually being used for enterprise (non-dotcom), but the class was being instantiated and an error message
local embeddings are only available on Sourcegraph.com
would show up in the output channel for enterprise users.Test plan
Sign into s2 or another enterprise instance and confirm that there is no such error in the output channel and a breakpoint set in
LocalEmbeddingsController
's constructor is never hit.