feat: add functions for frontend of kb

This commit is contained in:
WangCham
2025-07-17 23:52:46 +08:00
parent 2dfa83ff22
commit cb868ee7b2
7 changed files with 71 additions and 1 deletions

View File

@@ -50,6 +50,9 @@ export default function DynamicFormComponent({
case 'llm-model-selector':
fieldSchema = z.string();
break;
case 'knowledge-base-selector':
fieldSchema = z.string();
break;
case 'prompt-editor':
fieldSchema = z.array(
z.object({