1bfcf9f429
* feat: enable ppt_composer.zh_CN.md with request.locale * fix: GeneratePPTRequest miss locale field --------- Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
20 lines
375 B
Python
20 lines
375 B
Python
# Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
from langgraph.graph import MessagesState
|
|
|
|
|
|
class PPTState(MessagesState):
|
|
"""State for the ppt generation."""
|
|
|
|
# Input
|
|
input: str = ""
|
|
locale: str = ""
|
|
# Output
|
|
generated_file_path: str = ""
|
|
|
|
# Assets
|
|
ppt_content: str = ""
|
|
ppt_file_path: str = ""
|