Skip to content

🌊 LLM integration follow-ups#212208

Merged
flash1293 merged 5 commits intoelastic:mainfrom
flash1293:flash1293/unit-tests-llm-suggestions
Feb 24, 2025
Merged

🌊 LLM integration follow-ups#212208
flash1293 merged 5 commits intoelastic:mainfrom
flash1293:flash1293/unit-tests-llm-suggestions

Conversation

@flash1293
Copy link
Copy Markdown
Contributor

@flash1293 flash1293 commented Feb 24, 2025

This PR takes care of two follow-ups related to the LLM integration:

Screenshot 2025-02-24 at 11 24 30
  • Adds some tests

@flash1293 flash1293 added release_note:skip Skip the PR/issue when compiling release notes backport:version Backport to applied version labels Feature:Streams This is the label for the Streams Project v9.1.0 v8.19.0 labels Feb 24, 2025
@flash1293 flash1293 requested review from a team as code owners February 24, 2025 10:25
const currentLicense = useObservable(licensing.license$);

const couldBeEnabled =
currentLicense?.hasAtLeast('enterprise') && core.application.capabilities.actions?.save;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not sure whether actions.save is the right capability or not - it seems like that's what you need to add an AI connector?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think so, not sure 100% but looks like it's the write permission we need here to assert the user can create a processor.

…urce-definitions/scripts/fix-location-collection.ts'
Comment on lines +350 to +355
<EuiButton
iconType="sparkles"
href={http!.basePath.prepend(
`/app/management/insightsAndAlerting/triggersActionsConnectors/connectors`
)}
>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Couple of notes on this:

  • Should we show it as a link since it navigates on a different page? The button feels more like "Click and enable".
  • Should we also open it in a new tab? If there is some work in progress the user will get prompted to discard changes and leave the page, which might not be desirable.

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

Failed CI Steps

@flash1293
Copy link
Copy Markdown
Contributor Author

Good point @tonyghiani , adjusted:
Screenshot 2025-02-24 at 12 50 43

Copy link
Copy Markdown
Contributor

@tonyghiani tonyghiani left a comment

Choose a reason for hiding this comment

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

Changes LGTM!

@flash1293 flash1293 enabled auto-merge (squash) February 24, 2025 12:22
@flash1293 flash1293 merged commit ee7f1b5 into elastic:main Feb 24, 2025
10 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/13499281135

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 212208

Questions ?

Please refer to the Backport tool documentation

flash1293 added a commit that referenced this pull request Feb 24, 2025
# Backport

This will backport the following commits from `main` to `8.x`:
- 🌊 LLM integration follow-ups
(#212208)](#212208)
JoseLuisGJ pushed a commit to JoseLuisGJ/kibana that referenced this pull request Feb 27, 2025
This PR takes care of two follow-ups related to the LLM integration:
* Shows CTA if AI assistant can be configured, but isn't (see
elastic#208777 (comment))
<img width="505" alt="Screenshot 2025-02-24 at 11 24 30"
src="https://github.com/user-attachments/assets/da01e782-6b02-4ec4-91ab-b46009b41e29"
/>

* Adds some tests

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
SoniaSanzV pushed a commit to SoniaSanzV/kibana that referenced this pull request Mar 4, 2025
# Backport

This will backport the following commits from `main` to `8.x`:
- 🌊 LLM integration follow-ups
(elastic#212208)](elastic#212208)
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Mar 22, 2025
This PR takes care of two follow-ups related to the LLM integration:
* Shows CTA if AI assistant can be configured, but isn't (see
elastic#208777 (comment))
<img width="505" alt="Screenshot 2025-02-24 at 11 24 30"
src="https://github.com/user-attachments/assets/da01e782-6b02-4ec4-91ab-b46009b41e29"
/>

* Adds some tests

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
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 Feature:Streams This is the label for the Streams Project release_note:skip Skip the PR/issue when compiling release notes v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants