We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 474879d commit a35722cCopy full SHA for a35722c
1 file changed
api/schemas/forms.py
@@ -1,13 +1,11 @@
1
-from typing import Optional
2
-
3
from pydantic import BaseModel, field_validator
4
5
class FormFill(BaseModel):
6
template_id: int
7
input_text: str
8
# Optional Ollama model override for this fill; falls back to OLLAMA_MODEL.
9
# Not persisted (no DB column) — excluded before building FormSubmission.
10
- model: Optional[str] = None
+ model: str | None = None
11
12
@field_validator("input_text")
13
def validate_input_text(cls, value):
0 commit comments