Add node selection functionality to InstanceSettingsCard and define Node API

This commit is contained in:
2025-10-02 23:18:33 +02:00
parent 670f8ff81b
commit a491f29483
3 changed files with 69 additions and 1 deletions

View File

@@ -39,6 +39,9 @@ export const CreateInstanceOptionsSchema = z.object({
// Backend configuration
backend_type: z.enum([BackendType.LLAMA_CPP, BackendType.MLX_LM, BackendType.VLLM]).optional(),
backend_options: BackendOptionsSchema.optional(),
// Node configuration
nodes: z.array(z.string()).optional(),
})
// Re-export types and schemas from backend files