mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-06 02:07:49 +08:00
Feat: inject sys.date into canvas (#13567)
### What problem does this PR solve? Inject sys.date into canvas. ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -33,6 +33,7 @@ export enum AgentGlobals {
|
||||
SysConversationTurns = 'sys.conversation_turns',
|
||||
SysFiles = 'sys.files',
|
||||
SysHistory = 'sys.history',
|
||||
SysDate = 'sys.date',
|
||||
}
|
||||
|
||||
export const AgentGlobalsSysQueryWithBrace = `{${AgentGlobals.SysQuery}}`;
|
||||
@ -272,5 +273,6 @@ export const EmptyDsl = {
|
||||
[AgentGlobals.SysConversationTurns]: 0,
|
||||
[AgentGlobals.SysFiles]: [],
|
||||
[AgentGlobals.SysHistory]: [],
|
||||
[AgentGlobals.SysDate]: '',
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user