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

Boolean literal type #2776

Merged
merged 3 commits into from
Aug 29, 2024
Merged

Boolean literal type #2776

merged 3 commits into from
Aug 29, 2024

Conversation

qiaozha
Copy link
Member

@qiaozha qiaozha commented Aug 28, 2024

fixes #2777

@qiaozha qiaozha marked this pull request as ready for review August 28, 2024 03:39
@doc("The configuration for a streaming chat completion request.")
model StreamingChatCompletionOptions {
@doc("Indicates whether the completion is a streaming or non-streaming completion.")
stream: true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems changing from true to boolean would become a breaking.

Copy link
Member

@MaryGao MaryGao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for this small change.

But the case is interesting that single value becomes a default, iirc this is aligned with hlc and would not introduce breakings between modular and hlc? also any change from single to non-single would introduce sdk breakings?

@qiaozha qiaozha merged commit cf422f1 into Azure:main Aug 29, 2024
15 checks passed
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.

AI chat protocol generation failure
2 participants