mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Add invoke and github operators #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -48,6 +48,10 @@ export function useAgentToolInitialValues() {
|
||||
return omit(initialValues, 'query', 'outputs');
|
||||
case Operator.ArXiv:
|
||||
return pick(initialValues, 'top_n', 'sort_by');
|
||||
case Operator.PubMed:
|
||||
return pick(initialValues, 'top_n', 'email');
|
||||
case Operator.GitHub:
|
||||
return pick(initialValues, 'top_n');
|
||||
|
||||
default:
|
||||
return initialValues;
|
||||
|
||||
Reference in New Issue
Block a user