Skip to content

Conversation

@arturoliduena
Copy link
Contributor

Closes #234193

Summary

Fixes an issue where the chat/complete stream could unexpectedly terminate when the LLM attempted to call a tool that resulted in one of the following errors:

  • The tool was not available (e.g., "Tool 'execute_query' called but was not available").

  • The tool was called with invalid or missing arguments.

Instead of terminating the stream, these errors are now captured and returned as part of the tool response, allowing the chat to continue normally.

@arturoliduena arturoliduena requested a review from a team as a code owner October 31, 2025 09:57
@arturoliduena arturoliduena added release_note:fix Team:Obs AI Assistant Observability AI Assistant backport:version Backport to applied version labels v9.2.0 labels Oct 31, 2025
@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Oct 31, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant)

@github-actions
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@elasticmachine
Copy link
Contributor

elasticmachine commented Oct 31, 2025

💔 Build Failed

Failed CI Steps

History

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

Labels

backport:version Backport to applied version labels ci:project-deploy-observability Create an Observability project release_note:fix Team:Obs AI Assistant Observability AI Assistant v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Obs AI Assistant] Improved error handling for tool response

3 participants