Skip to content

Feat/update chat completion types #337

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

Merged
merged 14 commits into from
May 27, 2025
Merged

Conversation

nezhyborets
Copy link
Collaborator

@nezhyborets nezhyborets commented May 24, 2025

What

Update ChatQuery, ChatResult and ChatStreamResult
The main update is for ChatQuery.ChatCompletionMessageParam.UserMessageParam. It now has contentParts that would be an array of parts, where a part could be text, image, audio or file. It has already been implemented in a way, but that way it that didn't match API Reference doc and could confuse users.

Why

#148
#182
#216
#237

Affected Areas

ChatQuery, ChatResult, ChatStreamResult, Demo

@nezhyborets nezhyborets requested a review from Krivoblotsky May 24, 2025 09:13
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
23.1% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@nezhyborets nezhyborets merged commit 08eb64e into main May 27, 2025
3 checks passed
@nezhyborets nezhyborets deleted the feat/update-chat-completion-types branch May 27, 2025 10:38
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