make page_id lower
This commit is contained in:
parent
808d1f6d26
commit
137dd66e24
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ async def insurance_chat(request: models.InsuranceChatRequest):
|
|||
try:
|
||||
current_page = None
|
||||
if request.context and request.context.page:
|
||||
page_id = request.context.page
|
||||
page_id = str(request.context.page).lower()
|
||||
current_page = await get_page_description(page_id)
|
||||
result = await chat_service.process_insurance_chat(
|
||||
message=request.message,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue