Skip to content

Commit 06ce1b1

Browse files
committed
ui(frontend): allow update knowledge base chunking_config
1 parent 8a8356a commit 06ce1b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/app/src/components/knowledge-base/knowledge-base-settings-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function KnowledgeBaseSettingsForm ({ knowledgeBase }: { knowledgeBase: K
2626
readonly={false}
2727
loading={transitioning}
2828
onUpdate={async (data, path) => {
29-
if (['name', 'description'].includes(path[0] as never)) {
29+
if (['name', 'description', 'chunking_config'].includes(path[0] as never)) {
3030
const partial = shallowPick(data, path as never);
3131
await updateKnowledgeBase(knowledgeBase.id, partial);
3232
startTransition(() => {

0 commit comments

Comments
 (0)