This commit is contained in:
team3
2026-06-12 17:46:30 +02:00
parent 0ba708dc54
commit a7fd345bb6
8 changed files with 136 additions and 77 deletions

View File

@@ -160,10 +160,14 @@ class ProgressResponse(BaseModel):
# --- Baustein-Lernen ---
VertiefungArt = Literal["vertiefung", "deepdive"]
class VertiefungRequest(BaseModel):
topic: str = Field(min_length=1, max_length=100)
baustein: str = Field(min_length=1, max_length=200)
section: str = Field(default="", max_length=20000)
art: VertiefungArt = "vertiefung"
provider: ProviderType = "claude"
@@ -202,6 +206,7 @@ class BausteinLernstand(BaseModel):
gute_antworten: int
absolviert: bool
vertiefung: bool
deepdive: bool
class BausteinLernstandResponse(BaseModel):