-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Don't fail calls where messages have data #191952
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dgieselaar
added
bug
Fixes for quality problems that affect the customer experience
release_note:skip
Skip the PR/issue when compiling release notes
Team:Obs AI Assistant
Observability AI Assistant
v8.15.1
labels
Sep 3, 2024
botelastic
bot
added
the
ci:project-deploy-observability
Create an Observability project
label
Sep 3, 2024
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]
To update your PR or re-run it, just comment with: |
neptunian
approved these changes
Sep 3, 2024
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Sep 3, 2024
…#191952) In elastic#191607, we fixed a bug around `strictKeysRt` not strictly checking object types in arrays. That exposed a bug in our `messageRt` type where we define `data` incorrectly, which means that any conversation that has data (as the result of some function calls) will fail with a 400. This PR corrects that mistake. (cherry picked from commit 448c9e1)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
kibanamachine
added
the
backport missing
Added to PRs automatically when the are determined to be missing a backport.
label
Sep 4, 2024
kibanamachine
added a commit
that referenced
this pull request
Sep 10, 2024
…ata (#191952) (#192030) # Backport This will backport the following commits from `main` to `8.15`: - [[Obs AI Assistant] Don't fail calls where messages have data (#191952)](#191952) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dario Gieselaar","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-03T19:21:02Z","message":"[Obs AI Assistant] Don't fail calls where messages have data (#191952)\n\nIn #191607, we fixed a bug around\r\n`strictKeysRt` not strictly checking object types in arrays. That\r\nexposed a bug in our `messageRt` type where we define `data`\r\nincorrectly, which means that any conversation that has data (as the\r\nresult of some function calls) will fail with a 400. This PR corrects\r\nthat mistake.","sha":"448c9e13283a3ee0661ed22092f2cdd01825b77c","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Obs AI Assistant","ci:project-deploy-observability","v8.16.0","v8.15.1"],"title":"[Obs AI Assistant] Don't fail calls where messages have data","number":191952,"url":"https://github.com/elastic/kibana/pull/191952","mergeCommit":{"message":"[Obs AI Assistant] Don't fail calls where messages have data (#191952)\n\nIn #191607, we fixed a bug around\r\n`strictKeysRt` not strictly checking object types in arrays. That\r\nexposed a bug in our `messageRt` type where we define `data`\r\nincorrectly, which means that any conversation that has data (as the\r\nresult of some function calls) will fail with a 400. This PR corrects\r\nthat mistake.","sha":"448c9e13283a3ee0661ed22092f2cdd01825b77c"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/191952","number":191952,"mergeCommit":{"message":"[Obs AI Assistant] Don't fail calls where messages have data (#191952)\n\nIn #191607, we fixed a bug around\r\n`strictKeysRt` not strictly checking object types in arrays. That\r\nexposed a bug in our `messageRt` type where we define `data`\r\nincorrectly, which means that any conversation that has data (as the\r\nresult of some function calls) will fail with a 400. This PR corrects\r\nthat mistake.","sha":"448c9e13283a3ee0661ed22092f2cdd01825b77c"}},{"branch":"8.15","label":"v8.15.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Dario Gieselaar <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
kibanamachine
added
v8.15.2
and removed
backport missing
Added to PRs automatically when the are determined to be missing a backport.
labels
Sep 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Fixes for quality problems that affect the customer experience
ci:project-deploy-observability
Create an Observability project
release_note:skip
Skip the PR/issue when compiling release notes
Team:Obs AI Assistant
Observability AI Assistant
v8.15.1
v8.15.2
v8.16.0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In #191607, we fixed a bug around
strictKeysRt
not strictly checking object types in arrays. That exposed a bug in ourmessageRt
type where we definedata
incorrectly, which means that any conversation that has data (as the result of some function calls) will fail with a 400. This PR corrects that mistake.