Skip to content

Commit 9a7d0a3

Browse files
committed
fix: address PR feedback - fix root cause of OpenAI Compatible settings storage mismatch
- Updated config-manager to read settings from correct location (codebaseIndexConfig object) - Added OpenAI Compatible fields to official type definitions - Removed complex workaround code from import/export functions - Fixed empty catch block by adding error logging - Updated all unit tests to reflect new architecture - All tests now passing (82 total)
1 parent 690c903 commit 9a7d0a3

File tree

5 files changed

+151
-244
lines changed

5 files changed

+151
-244
lines changed

packages/types/src/codebase-index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ export const codebaseIndexConfigSchema = z.object({
2828
.min(CODEBASE_INDEX_DEFAULTS.MIN_SEARCH_RESULTS)
2929
.max(CODEBASE_INDEX_DEFAULTS.MAX_SEARCH_RESULTS)
3030
.optional(),
31+
// OpenAI Compatible specific fields
32+
codebaseIndexOpenAiCompatibleBaseUrl: z.string().optional(),
33+
codebaseIndexOpenAiCompatibleModelDimension: z.number().optional(),
3134
})
3235

3336
export type CodebaseIndexConfig = z.infer<typeof codebaseIndexConfigSchema>

0 commit comments

Comments
 (0)