1a0679049e
Replace menu list (使用明细 + 设置) with recent transactions table: - Add back recentTx state and loading state - Fetch last 5 transactions in loadData - Display table with type/amount/description/time columns - Add '查看全部' link to usage-detail page - Remove unused icon components (FileTextIcon, SettingsIcon, ChevronRightIcon)
24 lines
458 B
Python
24 lines
458 B
Python
"""
|
|
Adapter 方法常量
|
|
===============
|
|
|
|
统一的方法标识,避免字符串硬编码。
|
|
"""
|
|
|
|
|
|
class Method:
|
|
"""同步/异步方法标识常量"""
|
|
|
|
# 同步方法
|
|
TTS = "tts"
|
|
CLONE_VOICE = "clone_voice"
|
|
CHAT = "chat"
|
|
EMBEDDING = "embedding"
|
|
|
|
# 异步任务方法
|
|
LIP_SYNC = "lip_sync"
|
|
CAPTION = "caption"
|
|
AUTO_ALIGN = "auto_align"
|
|
VIDEO_GENERATE = "video_generate"
|
|
REMOVE_BACKGROUND = "remove_background"
|