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 agent advanced settings form #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -681,6 +681,13 @@ export const initialAgentValues = {
|
||||
sys_prompt: ``,
|
||||
prompts: [{ role: PromptRole.User, content: `{${AgentGlobals.SysQuery}}` }],
|
||||
message_history_window_size: 12,
|
||||
max_retries: 3,
|
||||
delay_after_error: 1,
|
||||
visual_files_var: '',
|
||||
max_rounds: 5,
|
||||
exception_method: null,
|
||||
exception_comment: '',
|
||||
exception_goto: '',
|
||||
tools: [],
|
||||
outputs: {
|
||||
structured_output: {
|
||||
@ -941,6 +948,7 @@ export enum NodeHandleId {
|
||||
export enum VariableType {
|
||||
String = 'string',
|
||||
Array = 'array',
|
||||
File = 'file',
|
||||
}
|
||||
|
||||
export const DefaultAgentToolValuesMap = {
|
||||
@ -952,3 +960,9 @@ export const DefaultAgentToolValuesMap = {
|
||||
api_key: '',
|
||||
},
|
||||
};
|
||||
|
||||
export enum AgentExceptionMethod {
|
||||
Comment = 'comment',
|
||||
Goto = 'goto',
|
||||
Null = 'null',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user