From f0a6c348d1ece01bec731f9666ffb62e8b7eeaec Mon Sep 17 00:00:00 2001 From: "DESKTOP-RTLN3BA\\$punk" Date: Sun, 14 Dec 2025 22:23:16 -0800 Subject: [PATCH] fix: update llm-config types to allow nullable created_at and updated_at fields --- surfsense_web/contracts/types/llm-config.types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/surfsense_web/contracts/types/llm-config.types.ts b/surfsense_web/contracts/types/llm-config.types.ts index 870ba8473..b4e337410 100644 --- a/surfsense_web/contracts/types/llm-config.types.ts +++ b/surfsense_web/contracts/types/llm-config.types.ts @@ -45,8 +45,8 @@ export const llmConfig = z.object({ 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(), - updated_at: z.string().optional(), + created_at: z.string().nullable(), + updated_at: z.string().nullable().optional(), }); export const globalLLMConfig = llmConfig