- Introducing translation service prompts
- Ensure Traicie Role Definition Specialist complies to latest technical requirements - Ensure that empty historical messages do not cause a crash in eveai_client - take into account empty customisation options - make was not processed in the system dynamic attribute tenant_make - ensure only relevant makes are shown when creating magic links - refresh partner info when editing or adding Partner Services$
This commit is contained in:
@@ -86,7 +86,13 @@ def chat(magic_link_code):
|
||||
session['chat_session_id'] = SpecialistServices.start_session()
|
||||
|
||||
# Get customisation options with defaults
|
||||
customisation = get_default_chat_customisation(tenant_make.chat_customisation_options)
|
||||
current_app.logger.debug(f"Make Customisation Options: {tenant_make.chat_customisation_options}")
|
||||
try:
|
||||
customisation = get_default_chat_customisation(tenant_make.chat_customisation_options)
|
||||
except Exception as e:
|
||||
current_app.logger.error(f"Error processing customisation options: {str(e)}")
|
||||
# Fallback to default customisation
|
||||
customisation = get_default_chat_customisation(None)
|
||||
|
||||
# Start a new chat session
|
||||
session['chat_session_id'] = SpecialistServices.start_session()
|
||||
|
||||
Reference in New Issue
Block a user