Skip to content

Commit aa7ed61

Browse files
committed
fix: address code review feedback for CometAPI provider
- Remove duplicate schema entry in provider-settings.ts - Remove try-catch from fetchModel to match DeepInfraHandler pattern - Add timeout support to RouterProvider base class - Store apiKey and baseURL in RouterProvider for model fetching - Add comprehensive test coverage for CometAPI provider - Fix test mock structure for streaming responses
1 parent 48f6c2c commit aa7ed61

File tree

4 files changed

+414
-15
lines changed

4 files changed

+414
-15
lines changed

packages/types/src/provider-settings.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,6 @@ export const providerSettingsSchema = z.object({
427427
...qwenCodeSchema.shape,
428428
...rooSchema.shape,
429429
...vercelAiGatewaySchema.shape,
430-
...cometApiSchema.shape,
431430
...codebaseIndexProviderSchema.shape,
432431
})
433432

0 commit comments

Comments
 (0)