Skip to content
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

[Backport 2.x] Fix MLModelTool returns null if the response of LLM is a pure json object #2674

Closed
wants to merge 1 commit into from

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 007b914 from #2655

…ject (#2655)

* Fix MLModelTool returns null if the response of LLM is a pure json object

Signed-off-by: Heng Qian <[email protected]>

* Fix UT failure

Signed-off-by: Heng Qian <[email protected]>

* Avoid NPE

Signed-off-by: Heng Qian <[email protected]>

* spotlessApply

Signed-off-by: Heng Qian <[email protected]>

---------

Signed-off-by: Heng Qian <[email protected]>
(cherry picked from commit 007b914)
@b4sjoo
Copy link
Collaborator

b4sjoo commented Jul 18, 2024

@qianheng-aws This PR will break 2.x compile if backport, you need to fix and raise a backport PR manually, please check

@qianheng-aws
Copy link
Contributor

@qianheng-aws This PR will break 2.x compile if backport, you need to fix and raise a backport PR manually, please check

Thanks for reminding. It's because I use a java21 API in this change while branch 2.x is built under java17. I've raised a new PR to backport it, #2675

@b4sjoo b4sjoo closed this Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants