mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-31 13:03:49 +08:00
Fix: The agent selected a knowledge base, but the API returned the error: "No dataset is selected". (#13950)
### What problem does this PR solve? Fix: The agent selected a knowledge base, but the API returned the error: "No dataset is selected". ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --------- Co-authored-by: balibabu <assassin_cike@163.com>
This commit is contained in:
@@ -71,7 +71,7 @@ export function KnowledgeBaseFormField({
|
||||
required = false,
|
||||
}: {
|
||||
showVariable?: boolean;
|
||||
name: string;
|
||||
name?: string;
|
||||
required?: boolean;
|
||||
}) {
|
||||
const form = useFormContext();
|
||||
|
||||
@@ -46,7 +46,7 @@ export const RetrievalPartialSchema = {
|
||||
keywords_similarity_weight: z.coerce.number(),
|
||||
top_n: z.coerce.number(),
|
||||
top_k: z.coerce.number(),
|
||||
kb_ids: z.array(z.string()),
|
||||
database_ids: z.array(z.string()),
|
||||
rerank_id: z.string(),
|
||||
empty_response: z.string(),
|
||||
cross_languages: z.array(z.string()),
|
||||
|
||||
Reference in New Issue
Block a user