add hooks
This commit is contained in:
parent
a6933ecc1c
commit
ee1bb20d54
3 changed files with 27 additions and 3 deletions
|
|
@ -25,6 +25,7 @@ async def insurance_chat(request: models.InsuranceChatRequest):
|
|||
)
|
||||
|
||||
except Exception as e:
|
||||
# raise e
|
||||
raise HTTPException(status_code=500, detail=f"Error processing chat request: {str(e)}")
|
||||
|
||||
@router.post("/estimation", response_model=models.EstimationResponse)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue