mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Observability AI Assistant] Remove default feedback URL (#162129)
Removing the default feedback URL, as we've not been able to vet the external endpoint in time.
This commit is contained in:
parent
f6e6b77efc
commit
b4e0ecf54a
2 changed files with 6 additions and 4 deletions
|
@ -92,7 +92,11 @@ const trackRoute = createObservabilityServerRoute({
|
|||
handler: async (resources): Promise<void> => {
|
||||
const { params, config } = resources;
|
||||
|
||||
if (!config.aiAssistant?.enabled) {
|
||||
if (
|
||||
!config.aiAssistant?.enabled ||
|
||||
!config.aiAssistant.feedback.enabled ||
|
||||
!config.aiAssistant.feedback.url
|
||||
) {
|
||||
throw Boom.notImplemented();
|
||||
}
|
||||
|
||||
|
|
|
@ -26,9 +26,7 @@ export const observabilityCoPilotConfig = schema.object({
|
|||
enabled: schema.boolean({ defaultValue: false }),
|
||||
feedback: schema.object({
|
||||
enabled: schema.boolean({ defaultValue: false }),
|
||||
url: schema.string({
|
||||
defaultValue: `https://0d0uj24psl.execute-api.us-east-1.amazonaws.com/gaifeedback`,
|
||||
}),
|
||||
url: schema.maybe(schema.string()),
|
||||
}),
|
||||
provider: schema.oneOf([openAIConfig, azureOpenAIConfig]),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue