fix(): fix e2e ml tests, handle no entries for vacancies

This commit is contained in:
gitgernit
2025-11-23 11:44:08 +03:00
parent a879da4ed5
commit b15282baef
8 changed files with 40 additions and 27 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ class PredictSalaryRequestModel(BaseModel):
key_skills: list[str] = Field(
description="List of key skills from resume", examples=[["Python", "FastAPI", "PostgreSQL"]]
)
vacancies: list[VacancyInputModel] = Field(description="List of relevant vacancies", examples=[[]])
vacancies: list[VacancyInputModel] = Field(description="List of relevant vacancies", examples=[[]], min_length=0)
model_config = {
"json_schema_extra": {