feat(api/workflow): Add Conversation.dialogue_count (#7275)

This commit is contained in:
-LAN- 2024-08-15 10:53:05 +08:00 committed by GitHub
commit 32dc963556
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 205 additions and 259 deletions

View file

@ -1,3 +1,7 @@
from contextvars import ContextVar
tenant_id: ContextVar[str] = ContextVar('tenant_id')
from core.workflow.entities.variable_pool import VariablePool
tenant_id: ContextVar[str] = ContextVar('tenant_id')
workflow_variable_pool: ContextVar[VariablePool] = ContextVar('workflow_variable_pool')