fix problem from claude

This commit is contained in:
SlimusMinus
2026-10-20 00:37:43 +03:00
parent f01f776d32
commit 28d91ce6d4
31 changed files with 994 additions and 284 deletions

View File

@@ -1,9 +1,11 @@
from pydantic import BaseModel
from pydantic import Field
from app.config.settings import settings
class TextRequest(BaseModel):
text: str = Field(
min_length=1,
max_length=5000
max_length=settings.TEXT_MAX_LENGTH
)