mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-14 20:55:15 +02:00
fix: adjust llm-config type constraints for api_base and language fields
This commit is contained in:
parent
cb8e4ab1b7
commit
506419597e
1 changed files with 2 additions and 2 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue