diff --git a/src/api/v1/router.py b/src/api/v1/router.py index 6de1ea0..0e37edf 100644 --- a/src/api/v1/router.py +++ b/src/api/v1/router.py @@ -40,12 +40,6 @@ async def estimate(request: models.EstimationRequest): estimation_service = EstimationService() estimation_response = await estimation_service.estimate_insurance(request.applicants, request.phq, request.plans) - estimation_response.request = request - try: - if estimation_response.request.plans: - estimation_response.request.plans[0].tier = f"Tier {estimation_response.details.tier}" - except Exception as e: - pass return estimation_response diff --git a/src/models.py b/src/models.py index 4c2b753..7b3a628 100644 --- a/src/models.py +++ b/src/models.py @@ -84,7 +84,6 @@ class EstimationResponse(BaseModel): status: str details: EstimationDetails results: List[EstimationResult] - request: EstimationRequest | None = None class InsuranceChatRequest(BaseModel): message: str = Field(..., description="User message")