refactor: fix basedpyright/ruff errors

This commit is contained in:
Stream
2025-09-22 15:17:19 +08:00
parent e9313b9c1b
commit 394b7d09b8
11 changed files with 37 additions and 24 deletions

View File

@ -1055,6 +1055,7 @@ def _rebuild_single_file(tenant_id: str, value: Any, variable_entity_type: Varia
else:
raise Exception("unreachable")
def _fetch_memory_blocks(workflow: Workflow, conversation_id: str, is_draft: bool) -> Mapping[str, str]:
memory_blocks = {}
memory_block_specs = workflow.memory_blocks