This commit is contained in:
Mikan
2026-06-19 19:14:27 +03:00
parent 2167493887
commit 32575e217e
23 changed files with 1191 additions and 92 deletions

View File

@@ -237,3 +237,15 @@ class TriggerCreate(BaseModel):
fire_at: str
description: str
payload: Dict[str, Any] = Field(default_factory=dict)
# === World Editor (AI-assisted editing of an existing world) ===
class WorldEditorChatRequest(BaseModel):
message: str = Field(min_length=1, max_length=4000)
class WorldEditorChatReply(BaseModel):
ai_message: str
definition: Optional[Dict[str, Any]] = None
changed: bool = False