mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
fix: replace as any with targeted type cast for codebaseIndexMaxBatchRetries
This commit is contained in:
parent
14a9ccfa87
commit
f44e9b63fd
1 changed files with 4 additions and 2 deletions
|
|
@ -66,8 +66,10 @@ export class CodeIndexConfigManager {
|
|||
codebaseIndexEmbedderModelId,
|
||||
codebaseIndexSearchMinScore,
|
||||
codebaseIndexSearchMaxResults,
|
||||
codebaseIndexMaxBatchRetries,
|
||||
} = codebaseIndexConfig as any
|
||||
} = codebaseIndexConfig
|
||||
|
||||
const codebaseIndexMaxBatchRetries = (codebaseIndexConfig as { codebaseIndexMaxBatchRetries?: number })
|
||||
.codebaseIndexMaxBatchRetries
|
||||
|
||||
const openAiKey = this.contextProxy?.getSecret("codeIndexOpenAiKey") ?? ""
|
||||
const qdrantApiKey = this.contextProxy?.getSecret("codeIndexQdrantApiKey") ?? ""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue