-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Obs AI Assistant] Improved error handling for tool response #241425
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
base: main
Are you sure you want to change the base?
Changes from 6 commits
78b35bc
6828620
707294e
9c027ae
f08d0e1
2d9b0dd
b0b7bf3
20118af
c1ed17f
3bf80e3
c20bea3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -62,7 +62,7 @@ | |||||
| "@kbn/product-doc-base-plugin", | ||||||
| "@kbn/inference-endpoint-plugin", | ||||||
| "@kbn/spaces-utils", | ||||||
| "@kbn/usage-collection-plugin" | ||||||
| "@kbn/usage-collection-plugin", | ||||||
|
||||||
| "@kbn/usage-collection-plugin", | |
| "@kbn/usage-collection-plugin" |
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.
I was about to yell at the bot but it's actually right. We don't have trailing commas in JSON files (it's invalid JSON in most parsers)
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.
Isn't the inference plugin handling this? Do we need our own error codes for this?
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.
Thanks @sorenlouv, I have removed
FunctionArgsValidationErrorand used insteadisToolValidationErrorfrom@kbn/inference-common