[9.4] Fix observability_ai_assistant_tool_call EBT error when connector is an inference endpoint (#263334)#264292
Merged
kibanamachine merged 2 commits intoelastic:9.4from Apr 20, 2026
Conversation
…an inference endpoint (elastic#263334) Closes elastic/obs-ai-team#564 Replaced `actionsClient.get()` with `getConnectorByIdWithoutClientRequest()` from the inference plugin to resolve connector info for analytics. The old method only worked for traditional action connectors, not inference endpoints, causing the connector to be undefined and the EBT schema validation to fail. **Test Plan:** 1. Open Observability AI Assistant; 2. Ask any question, like "Do I have any alerts?" 3.Check that in the logs there is no errors like `"message": "Failed to validate payload coming from \"Event Type 'observability_ai_assistant_tool_call'\":\n\t- [connector]: {\"expected\":\"{ connectorId: string, name: string, type: string, modelFamily: string, modelProvider: string, modelId?: string }\",\"actual\":\"undefined\",\"value\":\"undefined\"}"}` --------- Co-authored-by: Viduni Wickramarachchi <viduni.ushanka@gmail.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit d0e1774)
Contributor
|
Pinging @elastic/obs-ai-team (Team:obs-ai) |
Contributor
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
Contributor
⏳ Build in-progress, with failures
Failed CI StepsHistory
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.4:Questions ?
Please refer to the Backport tool documentation