Skip to content

Fix: Hide sensitive backend configuration errors from user interface#96

Open
Krishanhkr wants to merge 1 commit intoINCF:mainfrom
Krishanhkr:fix-error-message
Open

Fix: Hide sensitive backend configuration errors from user interface#96
Krishanhkr wants to merge 1 commit intoINCF:mainfrom
Krishanhkr:fix-error-message

Conversation

@Krishanhkr
Copy link

This PR addresses the issue of sensitive backend configuration errors being exposed directly to the end-user in the chat UI.

Changes:

  • Modified the exception handling in backend/agents.py -> handle_chat method.
  • Replaced the direct exception string return with a user-friendly generic error message.

Closes #95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug/Enhancement] Sensitive backend configuration errors are exposed directly to the end-user in the chat UI

1 participant