Skip to content

Commit 20d1040

Browse files
[Ai Assistant] Update allow list to include default LLM settings (#237449)
## Summary Summarize your PR. If it involves visual changes include a screenshot or gif. Allowlist default LLM setting for all serverless environments. This allows serverless envs to set the default LLM setting. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [X] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [X] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [X] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [X] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [X] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [X] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [X] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [X] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. ### Identify risks Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss. Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging. - [ ] [See some risk examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) - [ ] ... Co-authored-by: Elastic Machine <[email protected]>
1 parent 04ae700 commit 20d1040

File tree

3 files changed

+8
-0
lines changed
  • src/platform/packages/shared/serverless/settings

3 files changed

+8
-0
lines changed

src/platform/packages/shared/serverless/settings/observability_project/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,6 @@ export const OBSERVABILITY_AI_ASSISTANT_PROJECT_SETTINGS = [
3737
settings.OBSERVABILITY_AI_ASSISTANT_SIMULATED_FUNCTION_CALLING,
3838
settings.OBSERVABILITY_AI_ASSISTANT_SEARCH_CONNECTOR_INDEX_PATTERN,
3939
settings.AI_ANONYMIZATION_SETTINGS,
40+
settings.GEN_AI_SETTINGS_DEFAULT_AI_CONNECTOR,
41+
settings.GEN_AI_SETTINGS_DEFAULT_AI_CONNECTOR_DEFAULT_ONLY,
4042
];

src/platform/packages/shared/serverless/settings/search_project/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import {
1313
OBSERVABILITY_AI_ASSISTANT_SIMULATED_FUNCTION_CALLING,
1414
AI_ANONYMIZATION_SETTINGS,
1515
AGENT_BUILDER_ENABLED_SETTING_ID,
16+
GEN_AI_SETTINGS_DEFAULT_AI_CONNECTOR,
17+
GEN_AI_SETTINGS_DEFAULT_AI_CONNECTOR_DEFAULT_ONLY,
1618
} from '@kbn/management-settings-ids';
1719
import { ENABLE_DOCKED_CONSOLE_UI_SETTING_ID } from '@kbn/dev-tools-plugin/common';
1820

@@ -23,4 +25,6 @@ export const SEARCH_PROJECT_SETTINGS = [
2325
OBSERVABILITY_AI_ASSISTANT_SIMULATED_FUNCTION_CALLING,
2426
AI_ANONYMIZATION_SETTINGS,
2527
AGENT_BUILDER_ENABLED_SETTING_ID,
28+
GEN_AI_SETTINGS_DEFAULT_AI_CONNECTOR,
29+
GEN_AI_SETTINGS_DEFAULT_AI_CONNECTOR_DEFAULT_ONLY,
2630
];

src/platform/packages/shared/serverless/settings/security_project/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ export const SECURITY_PROJECT_SETTINGS = [
2727
settings.SECURITY_SOLUTION_ENABLE_GRAPH_VISUALIZATION_SETTING,
2828
settings.SECURITY_SOLUTION_ENABLE_ASSET_INVENTORY_SETTING,
2929
settings.SECURITY_SOLUTION_ENABLE_CLOUD_CONNECTOR_SETTING,
30+
settings.GEN_AI_SETTINGS_DEFAULT_AI_CONNECTOR,
31+
settings.GEN_AI_SETTINGS_DEFAULT_AI_CONNECTOR_DEFAULT_ONLY,
3032
];

0 commit comments

Comments
 (0)