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 sql form #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -20,7 +20,6 @@ import {
|
||||
import { ModelVariableType } from '@/constants/knowledge';
|
||||
import i18n from '@/locales/config';
|
||||
import { setInitialChatVariableEnabledFieldValue } from '@/utils/chat';
|
||||
import { omit } from 'lodash';
|
||||
|
||||
// DuckDuckGo's channel options
|
||||
export enum Channel {
|
||||
@ -562,7 +561,7 @@ export const initialExeSqlValues = {
|
||||
password: '',
|
||||
loop: 3,
|
||||
top_n: 30,
|
||||
...initialQueryBaseValues,
|
||||
query: '',
|
||||
};
|
||||
|
||||
export const initialSwitchValues = {
|
||||
@ -960,16 +959,6 @@ export enum VariableType {
|
||||
File = 'file',
|
||||
}
|
||||
|
||||
export const DefaultAgentToolValuesMap = {
|
||||
[Operator.Retrieval]: {
|
||||
...omit(initialRetrievalValues, 'query'),
|
||||
description: '',
|
||||
},
|
||||
[Operator.TavilySearch]: {
|
||||
api_key: '',
|
||||
},
|
||||
};
|
||||
|
||||
export enum AgentExceptionMethod {
|
||||
Comment = 'comment',
|
||||
Goto = 'goto',
|
||||
|
||||
Reference in New Issue
Block a user