We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb9d730 commit af75372Copy full SHA for af75372
src/edictum_server/schemas/ai.py
@@ -2,6 +2,8 @@
2
3
from __future__ import annotations
4
5
+from typing import Annotated
6
+
7
from pydantic import BaseModel, Field
8
9
@@ -53,7 +55,7 @@ class GenerateDescriptionRequest(BaseModel):
53
55
name: str = Field(..., max_length=255)
54
56
type: str = Field(..., max_length=32)
57
definition_yaml: str = Field(..., max_length=50_000)
- tags: list[str] = Field(default_factory=list, max_length=20)
58
+ tags: list[Annotated[str, Field(max_length=64)]] = Field(default_factory=list, max_length=20)
59
60
61
class GenerateDescriptionResponse(BaseModel):
0 commit comments