From f0ae0839b0be57b095ce3e6d71e057576ffcf5d8 Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Tue, 11 Aug 2026 14:57:07 +0200 Subject: [PATCH] Shorter AI answer --- cloud/safety_checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/safety_checker.py b/cloud/safety_checker.py index 961cebe..c32fdf2 100644 --- a/cloud/safety_checker.py +++ b/cloud/safety_checker.py @@ -6,7 +6,7 @@ from APIs.aichat import generate # 1. Define the output schema as a Pydantic model class DishSafetyResult(BaseModel): is_safe: bool = Field( - description="True if no microwave hazards (metal, foil, sealed packaging, ...) are present." + description="True if no microwave hazards presents." ) warning_message: str = Field( description="Short explanation of any hazard found (no more than one sentence), or an empty string if safe."