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

[8.x] [Inference API] Make message content optional in unified API (#118998) #119226

Merged

Conversation

maxhniebergall
Copy link
Member

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…#118998)

* Allow for null/empty content field

* remove tests which checked for null content

* [CI] Auto commit changes from spotless

* Improvements from review

---------

Co-authored-by: elasticsearchmachine <[email protected]>
(cherry picked from commit 79a8226)

# Conflicts:
#	x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/external/request/openai/OpenAiUnifiedChatCompletionRequestEntity.java
@maxhniebergall maxhniebergall added :ml Machine learning auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v8.18.0 labels Dec 23, 2024
@elasticsearchmachine elasticsearchmachine merged commit 1a697b5 into elastic:8.x Dec 23, 2024
15 checks passed
@maxhniebergall maxhniebergall deleted the backport/8.x/pr-118998 branch December 23, 2024 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :ml Machine learning v8.18.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants