fix(product-suite): validate item id before generation

This commit is contained in:
chengma
2026-07-22 18:14:50 +08:00
parent 189b5855e9
commit 01b4a05c26
8 changed files with 129 additions and 45 deletions
+2
View File
@@ -383,6 +383,8 @@ render_prompt(template_text, task) -> str
ImageStudioProject / ImageStudioAsset / ImageStudioJob / ImageStudioSelection
ImageStudioHistoryAccount
ImageStudioGenerationRound / ImageStudioHistoryRound
normalize_item_id_input(item_id) -> str
is_formal_item_id(item_id) -> bool
create_or_get_project(account_or_fields, item_id, ...) -> ImageStudioProject
list_projects(path=None) -> list[ImageStudioProject]
update_project_prompt(project_id, draft_prompt, path=None) -> ImageStudioProject