Skip to content

[9.1] [Obs AI Assistant] Collapse *query tool calls (#226078)#226656

Merged
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-226078
Jul 4, 2025
Merged

[9.1] [Obs AI Assistant] Collapse *query tool calls (#226078)#226656
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-226078

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Jul 4, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) July 4, 2025 19:10
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:Obs AI Assistant Observability AI Assistant labels Jul 4, 2025
@elasticmachine
Copy link
Contributor

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

@github-actions
Copy link
Contributor

github-actions bot commented Jul 4, 2025

🤖 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!)

This PR improves tool calling when using Claude as LLM

---------

Co-authored-by: Søren Louv-Jansen <soren.louv@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 3215416)
@kibanamachine kibanamachine force-pushed the backport/9.1/pr-226078 branch from c9f9cee to eef1788 Compare July 4, 2025 19:19
@elasticmachine
Copy link
Contributor

⏳ Build in-progress

  • Buildkite Build
  • Commit: eef1788
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-226656-eef1788509d1

cc @dgieselaar

@kibanamachine kibanamachine merged commit 73495c5 into elastic:9.1 Jul 4, 2025
10 checks passed
dgieselaar added a commit that referenced this pull request Jul 7, 2025
# Backport

This will backport the following commits from `main` to `8.18`:
- [[Obs AI Assistant] Collapse *query tool calls
(#226078)](#226078)

<!--- Backport version: 10.0.1 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Dario
Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2025-07-04T19:03:41Z","message":"[Obs
AI Assistant] Collapse *query tool calls (#226078)\n\nThis PR improves
tool calling when using Claude as LLM\n\n---------\n\nCo-authored-by:
Søren Louv-Jansen <soren.louv@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3215416fa60f6b99017b0172797ea257bde62e5e","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Obs
AI
Assistant","ci:project-deploy-observability","backport:version","v9.1.0","v8.19.0","v9.2.0","v8.18.4","v9.0.4"],"title":"[Obs
AI Assistant] Collapse *query tool
calls","number":226078,"url":"https://github.com/elastic/kibana/pull/226078","mergeCommit":{"message":"[Obs
AI Assistant] Collapse *query tool calls (#226078)\n\nThis PR improves
tool calling when using Claude as LLM\n\n---------\n\nCo-authored-by:
Søren Louv-Jansen <soren.louv@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3215416fa60f6b99017b0172797ea257bde62e5e"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","8.18","9.0"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/226656","number":226656,"state":"MERGED","mergeCommit":{"sha":"73495c5b24ec87b10df4e43e8a082c9132d9461a","message":"[9.1]
[Obs AI Assistant] Collapse *query tool calls (#226078) (#226656)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`9.1`:\n- [[Obs AI Assistant] Collapse *query tool
calls\n(#226078)](https://github.com/elastic/kibana/pull/226078)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Dario Gieselaar <dario.gieselaar@elastic.co>\nCo-authored-by: Søren
Louv-Jansen <soren.louv@elastic.co>\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226078","number":226078,"mergeCommit":{"message":"[Obs
AI Assistant] Collapse *query tool calls (#226078)\n\nThis PR improves
tool calling when using Claude as LLM\n\n---------\n\nCo-authored-by:
Søren Louv-Jansen <soren.louv@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3215416fa60f6b99017b0172797ea257bde62e5e"}},{"branch":"8.18","label":"v8.18.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
neptunian added a commit that referenced this pull request Jul 10, 2025
# Backport

This will backport the following commits from `main` to `8.19`:
- [[Obs AI Assistant] Collapse *query tool calls
(#226078)](#226078)

<!--- Backport version: 10.0.1 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Dario
Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2025-07-04T19:03:41Z","message":"[Obs
AI Assistant] Collapse *query tool calls (#226078)\n\nThis PR improves
tool calling when using Claude as LLM\n\n---------\n\nCo-authored-by:
Søren Louv-Jansen <soren.louv@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3215416fa60f6b99017b0172797ea257bde62e5e","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Obs
AI
Assistant","ci:project-deploy-observability","backport:version","v9.1.0","v8.19.0","v9.2.0","v8.18.4","v9.0.4"],"title":"[Obs
AI Assistant] Collapse *query tool
calls","number":226078,"url":"https://github.com/elastic/kibana/pull/226078","mergeCommit":{"message":"[Obs
AI Assistant] Collapse *query tool calls (#226078)\n\nThis PR improves
tool calling when using Claude as LLM\n\n---------\n\nCo-authored-by:
Søren Louv-Jansen <soren.louv@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3215416fa60f6b99017b0172797ea257bde62e5e"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/226656","number":226656,"state":"MERGED","mergeCommit":{"sha":"73495c5b24ec87b10df4e43e8a082c9132d9461a","message":"[9.1]
[Obs AI Assistant] Collapse *query tool calls (#226078) (#226656)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`9.1`:\n- [[Obs AI Assistant] Collapse *query tool
calls\n(#226078)](https://github.com/elastic/kibana/pull/226078)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Dario Gieselaar <dario.gieselaar@elastic.co>\nCo-authored-by: Søren
Louv-Jansen <soren.louv@elastic.co>\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226078","number":226078,"mergeCommit":{"message":"[Obs
AI Assistant] Collapse *query tool calls (#226078)\n\nThis PR improves
tool calling when using Claude as LLM\n\n---------\n\nCo-authored-by:
Søren Louv-Jansen <soren.louv@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3215416fa60f6b99017b0172797ea257bde62e5e"}},{"branch":"8.18","label":"v8.18.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/226780","number":226780,"state":"MERGED","mergeCommit":{"sha":"d08efa2303f8a9e4ae090c7d44b6f3a6ee19bce9","message":"[8.18]
[Obs AI Assistant] Collapse *query tool calls (#226078) (#226780)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.18`:\n- [[Obs AI Assistant] Collapse *query tool
calls\n(#226078)](https://github.com/elastic/kibana/pull/226078)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}},{"branch":"9.0","label":"v9.0.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/226852","number":226852,"state":"MERGED","mergeCommit":{"sha":"c5d7606a4b7f197651d0e8779094fd4cf96775b4","message":"[9.0]
[Obs AI Assistant] Collapse *query tool calls (#226078) (#226852)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`9.0`:\n- [[Obs AI Assistant] Collapse *query tool
calls\n(#226078)](https://github.com/elastic/kibana/pull/226078)\n\n---------\n\nCo-authored-by:
Søren Louv-Jansen <soren.louv@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine <elasticmachine@users.noreply.github.com>"}}]}]
BACKPORT-->

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR ci:project-deploy-observability Create an Observability project Team:Obs AI Assistant Observability AI Assistant

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants