diff --git a/surfsense_web/contracts/types/llm-config.types.ts b/surfsense_web/contracts/types/llm-config.types.ts index 613245f34..f24b23af6 100644 --- a/surfsense_web/contracts/types/llm-config.types.ts +++ b/surfsense_web/contracts/types/llm-config.types.ts @@ -41,8 +41,8 @@ export const llmConfig = z.object({ custom_provider: z.string().max(100).nullable().optional(), model_name: z.string().max(100), api_key: z.string(), - api_base: z.string().max(500).nullable().optional(), - language: z.string().max(50).nullable().optional().default("English"), + api_base: z.string().nullable().optional(), + language: z.string().max(50).nullable(), litellm_params: z.record(z.string(), z.any()).nullable().optional(), search_space_id: z.number(), created_at: z.string(),