@@ -73,13 +73,13 @@ export class CodeIndexConfigManager {
7373 const openAiKey = this . contextProxy ?. getSecret ( "codeIndexOpenAiKey" ) ?? ""
7474 const qdrantApiKey = this . contextProxy ?. getSecret ( "codeIndexQdrantApiKey" ) ?? ""
7575 // Fix: Read OpenAI Compatible settings from the correct location within codebaseIndexConfig
76- const openAiCompatibleBaseUrl = ( codebaseIndexConfig as any ) . codebaseIndexOpenAiCompatibleBaseUrl ?? ""
76+ const openAiCompatibleBaseUrl = codebaseIndexConfig . codebaseIndexOpenAiCompatibleBaseUrl ?? ""
7777 const openAiCompatibleApiKey = this . contextProxy ?. getSecret ( "codebaseIndexOpenAiCompatibleApiKey" ) ?? ""
7878 const geminiApiKey = this . contextProxy ?. getSecret ( "codebaseIndexGeminiApiKey" ) ?? ""
7979 const mistralApiKey = this . contextProxy ?. getSecret ( "codebaseIndexMistralApiKey" ) ?? ""
8080 const vercelAiGatewayApiKey = this . contextProxy ?. getSecret ( "codebaseIndexVercelAiGatewayApiKey" ) ?? ""
81- const bedrockRegion = ( codebaseIndexConfig as any ) . codebaseIndexBedrockRegion ?? "us-east-1"
82- const bedrockProfile = ( codebaseIndexConfig as any ) . codebaseIndexBedrockProfile ?? ""
81+ const bedrockRegion = codebaseIndexConfig . codebaseIndexBedrockRegion ?? "us-east-1"
82+ const bedrockProfile = codebaseIndexConfig . codebaseIndexBedrockProfile ?? ""
8383 const openRouterApiKey = this . contextProxy ?. getSecret ( "codebaseIndexOpenRouterApiKey" ) ?? ""
8484
8585 // Update instance variables with configuration
@@ -90,7 +90,7 @@ export class CodeIndexConfigManager {
9090 this . searchMaxResults = codebaseIndexSearchMaxResults
9191
9292 // Validate and set model dimension
93- const rawDimension = ( codebaseIndexConfig as any ) . codebaseIndexEmbedderModelDimension
93+ const rawDimension = codebaseIndexConfig . codebaseIndexEmbedderModelDimension
9494 if ( rawDimension !== undefined && rawDimension !== null ) {
9595 const dimension = Number ( rawDimension )
9696 if ( ! isNaN ( dimension ) && dimension > 0 ) {
0 commit comments