Fix typo and logs
This commit is contained in:
parent
1b5193b842
commit
62a3dfa445
|
@ -12,7 +12,7 @@ class LoggingConfigurator:
|
||||||
def setup_logging(
|
def setup_logging(
|
||||||
log_level: int = logging.INFO,
|
log_level: int = logging.INFO,
|
||||||
log_file: Optional[str] = None,
|
log_file: Optional[str] = None,
|
||||||
console_output: bool = True,
|
console_output: bool = False,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""
|
"""
|
||||||
Настройка системы логирования
|
Настройка системы логирования
|
||||||
|
|
|
@ -36,7 +36,7 @@ class AutomationOrchestrator:
|
||||||
return {"error": "Подходящие вакансии не найдены"}
|
return {"error": "Подходящие вакансии не найдены"}
|
||||||
|
|
||||||
if use_ai and self._get_ai_service().is_available():
|
if use_ai and self._get_ai_service().is_available():
|
||||||
vacancies = self._ai_filter_vacancies(vacancies[:3])
|
vacancies = self._ai_filter_vacancies(vacancies)
|
||||||
if not vacancies:
|
if not vacancies:
|
||||||
return {"error": "После AI фильтрации подходящих вакансий нет"}
|
return {"error": "После AI фильтрации подходящих вакансий нет"}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue