Skip to content

Commit

Permalink
[8.18] Updating preconfigured connector name (elastic#211927) (elasti…
Browse files Browse the repository at this point in the history
…c#212445)

# Backport

This will backport the following commits from `main` to `8.18`:
- [Updating preconfigured connector name
(elastic#211927)](elastic#211927)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Samiul
Monir","email":"150824886+Samiul-TheSoccerFan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-25T19:21:22Z","message":"Updating
preconfigured connector name (elastic#211927)\n\n## Summary\n\nUpdate
Preconfigured connector name to `Elastic LLM`.\n\n<img width=\"1504\"
alt=\"Screenshot 2025-02-20 at 11 29
02 AM\"\nsrc=\"https://github.com/user-attachments/assets/aa0a32f7-f1b2-4496-8c2e-7773f017c153\"\n/>\n\n###
ES3 Testing instruction\nNo additional config needed. Once run in local
machine, the changes\nshould reflect automatically.\n\n### ESS
instructions\nIn `kibana.dev.yml` file, add\n```\n#
xpack.actions.preconfigured:\n Elastic-LLM:\n name: Elastic LLM\n
actionTypeId: .inference\n exposeConfig: true\n config:\n provider:
'elastic'\n taskType: 'chat_completion'\n inferenceId:
'.rainbow-sprinkles-elastic'\n providerConfig:\n model_id:
'rainbow-sprinkles'\n```\nand the preconfigured endpoint with updated
name should be visible.\n\n### Checklist\n\nCheck the PR satisfies
following conditions. \n\nReviewers should verify this PR satisfies this
list as well.\n\n- [X] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"0e02a328927e56b5eccc7fa266fd0b2a3d9bdd62","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","ci:project-deploy-elasticsearch","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"Updating
preconfigured connector
name","number":211927,"url":"https://github.com/elastic/kibana/pull/211927","mergeCommit":{"message":"Updating
preconfigured connector name (elastic#211927)\n\n## Summary\n\nUpdate
Preconfigured connector name to `Elastic LLM`.\n\n<img width=\"1504\"
alt=\"Screenshot 2025-02-20 at 11 29
02 AM\"\nsrc=\"https://github.com/user-attachments/assets/aa0a32f7-f1b2-4496-8c2e-7773f017c153\"\n/>\n\n###
ES3 Testing instruction\nNo additional config needed. Once run in local
machine, the changes\nshould reflect automatically.\n\n### ESS
instructions\nIn `kibana.dev.yml` file, add\n```\n#
xpack.actions.preconfigured:\n Elastic-LLM:\n name: Elastic LLM\n
actionTypeId: .inference\n exposeConfig: true\n config:\n provider:
'elastic'\n taskType: 'chat_completion'\n inferenceId:
'.rainbow-sprinkles-elastic'\n providerConfig:\n model_id:
'rainbow-sprinkles'\n```\nand the preconfigured endpoint with updated
name should be visible.\n\n### Checklist\n\nCheck the PR satisfies
following conditions. \n\nReviewers should verify this PR satisfies this
list as well.\n\n- [X] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"0e02a328927e56b5eccc7fa266fd0b2a3d9bdd62"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211927","number":211927,"mergeCommit":{"message":"Updating
preconfigured connector name (elastic#211927)\n\n## Summary\n\nUpdate
Preconfigured connector name to `Elastic LLM`.\n\n<img width=\"1504\"
alt=\"Screenshot 2025-02-20 at 11 29
02 AM\"\nsrc=\"https://github.com/user-attachments/assets/aa0a32f7-f1b2-4496-8c2e-7773f017c153\"\n/>\n\n###
ES3 Testing instruction\nNo additional config needed. Once run in local
machine, the changes\nshould reflect automatically.\n\n### ESS
instructions\nIn `kibana.dev.yml` file, add\n```\n#
xpack.actions.preconfigured:\n Elastic-LLM:\n name: Elastic LLM\n
actionTypeId: .inference\n exposeConfig: true\n config:\n provider:
'elastic'\n taskType: 'chat_completion'\n inferenceId:
'.rainbow-sprinkles-elastic'\n providerConfig:\n model_id:
'rainbow-sprinkles'\n```\nand the preconfigured endpoint with updated
name should be visible.\n\n### Checklist\n\nCheck the PR satisfies
following conditions. \n\nReviewers should verify this PR satisfies this
list as well.\n\n- [X] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"0e02a328927e56b5eccc7fa266fd0b2a3d9bdd62"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
  • Loading branch information
Samiul-TheSoccerFan authored Feb 27, 2025
1 parent c7ed35a commit 1bc5fbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const request = <T = unknown>({
...options,
});
};
export const INTERNAL_INFERENCE_CONNECTORS = ['Elastic-Inference-Rainbow-Sprinkles'];
export const INTERNAL_INFERENCE_CONNECTORS = ['Elastic-LLM'];
export const INTERNAL_CLOUD_CONNECTORS = ['Elastic-Cloud-SMTP'];

export const getConnectors = () =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const API_HEADERS = Object.freeze({
});

export const INTERNAL_CLOUD_CONNECTORS = ['Elastic-Cloud-SMTP'];
export const INTERNAL_INFERENCE_CONNECTORS = ['Elastic-Inference-Rainbow-Sprinkles'];
export const INTERNAL_INFERENCE_CONNECTORS = ['Elastic-LLM'];

export const rootRequest = <T = unknown>({
headers: optionHeaders = {},
Expand Down

0 comments on commit 1bc5fbc

Please sign in to comment.