-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Obs AI Assistant] It should be possible to clear the user-specific system prompt #202279
base: main
Are you sure you want to change the base?
Conversation
Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
@@ -118,7 +117,6 @@ export function KnowledgeBaseEditUserInstructionFlyout({ onClose }: { onClose: ( | |||
fill | |||
isLoading={isSaving} | |||
onClick={handleSubmit} | |||
isDisabled={isSubmitDisabled} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @sorenlouv
I'm unable to clear the user-specific system prompt.
It gives an error..
I'm not sure whether I'm missing something..
Error: Failed to validate:
in /body/text: "" does not match expected type NonEmptyString
at Object.onError (http://localhost:5601/xat/XXXXXXXXXXXX/bundles/plugin/observabilityAiAssistantManagement/1.0.0/observabilityAiAssistantManagement.chunk.0.js:24903:23)
at Mutation.execute (http://localhost:5601/xat/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:196451:123)
at async handleSubmit (http://localhost:5601/xat/XXXXXXXXXXXX/bundles/plugin/observabilityAiAssistantManagement/1.0.0/observabilityAiAssistantManagement.chunk.0.js:26014:5)
Screen.Recording.2024-11-29.at.8.11.37.AM.mov
💔 Build Failed
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History
|
I noticed that I was not able to clear the user-specific system prompt. I had initially entered "Please speak in Swedish" and saved. Afterwards I wanted to clear this but the save button is disabled if the text content is empty.