mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Let system variables appear in operator prompts #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -20,3 +20,10 @@ async function main(args) {
|
||||
module.exports = { main };
|
||||
`,
|
||||
};
|
||||
|
||||
export enum AgentGlobals {
|
||||
SysQuery = 'sys.query',
|
||||
SysUserId = 'sys.user_id',
|
||||
SysConversationTurns = 'sys.conversation_turns',
|
||||
SysFiles = 'sys.files',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user