Skip to content

Conversation

@cotti
Copy link
Contributor

@cotti cotti commented Nov 5, 2025

This PR allows the SearchOrAskAi feature to display better descriptive error callouts.

In case an error 429 arrives, we use the value of Retry-after as a cooldown before further interactions can happen. This blocks both search and chat until the time passes.

cotti added 4 commits November 5, 2025 11:52
# Conflicts:
#	src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/AskAi/ChatMessage.tsx
#	src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/AskAi/StreamingAiMessage.tsx
#	src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/AskAi/useAskAi.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants