Skip to content

Commit e555075

Browse files
Danilo Verde RibeiroDanilo Verde Ribeiro
authored andcommitted
feat(vectorcode_async): add async vector code operations
1 parent 126f114 commit e555075

7 files changed

Lines changed: 1005 additions & 76 deletions

File tree

lua/opencode/config.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,13 @@ M.defaults = {
275275
-- Remove duplicate configurations above - keeping only the final instances
276276
-- All configurations below this point are unique and should be kept as-is
277277
vectorcode_snippets = {
278-
enabled = true,
278+
enabled = false,
279279
n = 3,
280280
query_strategy = 'auto', -- 'auto', 'selection', 'line', 'filename'
281+
timeout = 5000, -- Timeout for async queries in milliseconds
282+
batch_mode = false, -- Enable batch querying for multiple snippets
283+
cache_results = true, -- Cache VectorCode results for performance
284+
background_refresh = true, -- Refresh snippets in background
281285
},
282286
},
283287
debug = {

0 commit comments

Comments
 (0)