feat(workflow): enforce strong typing for runtime variables

- Reduce exposed information in release workflows
This commit is contained in:
Eternity
2026-02-04 11:01:16 +08:00
parent 308e28cecc
commit bd8a451879
50 changed files with 1925 additions and 1372 deletions

View File

@@ -618,6 +618,7 @@ class AppChatService:
memory: bool = True,
storage_type: Optional[str] = None,
user_rag_memory_id: Optional[str] = None,
public=False
) -> AsyncGenerator[dict, None]:
"""聊天(流式)"""
@@ -634,7 +635,8 @@ class AppChatService:
payload=payload,
config=config,
workspace_id=workspace_id,
release_id=release_id
release_id=release_id,
public=public
):
yield event