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

Make 'usage' optional in streaming response update #32078

Open
wants to merge 3 commits into
base: dargilco/ai-model-inference
Choose a base branch
from

Conversation

dargilco
Copy link
Member

@dargilco dargilco commented Jan 9, 2025

As reported by internal customer, the "usage" field does not exist in streaming chunks when doing gpt-4o streaming, so it should be marked as optional (add '?'). It always exists in regular (non-streaming) response.

The other minor change is fix broken lines in the docstrings.

Copy link

openapi-pipeline-app bot commented Jan 9, 2025

Next Steps to Merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

Copy link

openapi-pipeline-app bot commented Jan 9, 2025

@azure-sdk
Copy link
Collaborator

azure-sdk commented Jan 9, 2025

API change check

APIView has identified API level changes in this PR and created following API reviews.

DocumentIntelligence
Face
AzureHealthInsights
ImageAnalysis
AI.Model
Azure.AI.OpenAI.Assistants

@dargilco dargilco self-assigned this Jan 10, 2025
@dargilco dargilco marked this pull request as ready for review January 10, 2025 00:58
@dargilco dargilco requested a review from a team as a code owner January 10, 2025 00:58
@dargilco dargilco requested review from JeffreyRichter, mario-guerra and trangevi and removed request for a team January 10, 2025 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data-plane TypeSpec Authored with TypeSpec
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants