chore: Update the value of sys.dialogue_count to start from 1. (#25905)

This commit is contained in:
Novice 2025-09-18 15:52:52 +08:00 • committed by GitHub
commit 8f86f5749d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -1008,7 +1008,7 @@ def _setup_variable_pool(
if workflow.type != WorkflowType.WORKFLOW.value:
system_variable.query = query
system_variable.conversation_id = conversation_id
system_variable.dialogue_count = 0
system_variable.dialogue_count = 1
else:
system_variable = SystemVariable.empty()