Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chatbot timeout message #1405

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TamiTakamiya
Copy link
Contributor

Jira Issue: https://issues.redhat.com/browse/AAP-35725

Description

Set API timeout to 28 secs and display an error message Chatbot service is taking too long to respond to your query. Try to submit a different query or try again later. in the chat window instead of showing an alert with a 504 error.

image

Testing

Steps to test

  1. Pull down the PR
  2. Run unit tests

Scenarios tested

A unit test case is included

Production deployment

  • This code change is ready for production on its own
  • This code change requires the following considerations before going to production:

@TamiTakamiya TamiTakamiya force-pushed the TamiTakamiya/AAP-35725/timeout-message branch from bda6c46 to 08623eb Compare November 19, 2024 03:15
Copy link

sonarcloud bot commented Nov 19, 2024

@TamiTakamiya TamiTakamiya marked this pull request as ready for review November 19, 2024 03:27
Copy link
Contributor

@manstis manstis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Contributor

@jameswnl jameswnl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be a solution for the situation when model server is overloaded?

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.

3 participants