diff --git a/backend/schemas/animation.py b/backend/schemas/animation.py index d39818f..43f6caf 100644 --- a/backend/schemas/animation.py +++ b/backend/schemas/animation.py @@ -5,7 +5,7 @@ from typing import Optional, Any class AnimationGenerate(BaseModel): prompt: str = Field(..., min_length=1, description="教学动画描述") - anim_type: str = Field(default="general", pattern=r"^(math|physics|chemistry|biology|geography|general)$") + anim_type: str = Field(default="general", pattern=r"^(math|physics|chemistry|biology|geography|chinese|english|history|politics|art|music|general)$") subject: str = Field(default="", max_length=50) diff --git a/frontend/src/components/layout/AppHeader.vue b/frontend/src/components/layout/AppHeader.vue index 7a98288..223163f 100644 --- a/frontend/src/components/layout/AppHeader.vue +++ b/frontend/src/components/layout/AppHeader.vue @@ -15,7 +15,8 @@
- + + Ctrl K
@@ -78,7 +79,7 @@