cody icon indicating copy to clipboard operation
cody copied to clipboard

bug: Extension always says downloading symf and bfg; never updates the search index

Open ned-pcs opened this issue 7 months ago • 9 comments

Version

v1.26.7

Describe the bug

Every time I start up VS Code, I see notifications that Cody is downloading bfg and symf, and that it is updating the search index. However, these notifications never go away. Screenshot from 2024-07-24 11-40-43

Expected behavior

I expect the downloads to complete and the search index to be updated.

Additional context

Here's the output from Cody:

█ telemetry-v2: recordEvent: cody.extension/savedLogin 
█ AuthProvider:init:lastEndpoint: Token recovered from secretStorage https://sourcegraph.com/
█ GraphQLTelemetryExporter: evaluated export mode: 5.2.5+
█ openctx: OpenCtx is enabled in Cody
█ featureflag: refreshed
█ SymfRunner: unsafeEnsureIndex file:///home/ned/PCS/Pyrenees/Chihuahua-Firmware
█ LocalEmbeddingsController: constructor
█ symf: downloading symf from https://github.com/sourcegraph/symf/releases/download/v0.0.12/symf-x86_64-linux-musl.zip
█ ContextFiltersProvider: setContextFilters 
█ ChatManager:constructor: init has local embeddings controller
█ ChatPanelsManager:constructor: init
█ LocalEmbeddingsController: start
█ CodyEngineService: constructor
█ LocalEmbeddingsController: start
█ LocalEmbeddingsController: get status
█ SimpleChatPanelProvider: postContextStatus [{"displayName":"Chihuahua-Firmware","providers":[{"kind":"embeddings","state":"indeterminate","embeddingsAPIProvider":"sourcegraph"}]}]
█ RepoNameResolver:getCodebaseFromWorkspaceUri: error 
█ SimpleChatPanelProvider: postContextStatus [{"displayName":"Chihuahua-Firmware","providers":[{"kind":"embeddings","state":"indeterminate","embeddingsAPIProvider":"sourcegraph"},{"kind":"search","type":"local","state":"indexing"}]}]
█ CodyEngine: downloading bfg from https://github.com/sourcegraph/bfg/releases/download/v5.4.6040/bfg-linux-x64.zip
█ ClientConfigSingleton: refreshing configuration
█ ClientConfigSingleton: refreshed {"codyEnabled":true,"chatEnabled":true,"autoCompleteEnabled":true,"customCommandsEnabled":true,"attributionEnabled":false,"smartContextWindowEnabled":true,"modelsAPIEnabled":false}
█ CodyCompletionProvider:initialized: fireworks/deepseek-coder-7b
█ UpstreamHealth: Ping took 1068ms (Gateway: 978ms) 
█ SimpleChatPanelProvider: postContextStatus [{"displayName":"Chihuahua-Firmware","providers":[{"kind":"embeddings","state":"indeterminate","embeddingsAPIProvider":"sourcegraph"},{"kind":"search","type":"local","state":"indexing"}]}]

ned-pcs avatar Jul 24 '24 18:07 ned-pcs