Update ApiChief baselines for MEAI and MEVD#7461
Merged
jeffhandley merged 3 commits intodotnet:mainfrom Apr 11, 2026
Merged
Conversation
Ran '/run-apichief' skill for MEAI and MEVD. Noteworthy changes for reviewers: - MEVD.Abstractions PublicKeyToken changed from 31bf3856ad364e35 (Microsoft strong name key) to f300afd708cefcd3. This differs from MEVD.ConformanceTests and all MEAI assemblies, which still use the original key. This reflects the assembly as-built and is not a baseline editing artifact. - MEVD.Abstractions: CollectionModelBuildingOptions.CollectionModelBuildingOptions() stage changed from Experimental to Obsolete. The C# compiler emits [Obsolete] on parameterless constructors of types with 'required' members to protect older compilers. ApiChief's ParsedMember handles the analogous compiler-generated [Obsolete] for readonly ref structs but doesn't yet have a carve-out for the required-members variant, so it reports Obsolete instead of inheriting the parent type's Experimental stage. - MEVD.Abstractions: 'where TRecord : class' generic constraints now appear on IKeywordHybridSearchable<TRecord>, IVectorSearchable<TRecord>, and VectorSearchResult<TRecord>. - MEVD.Abstractions: Primary constructor portion removed from PropertyModel Type field (ILSpy decompiler limitation, issue icsharpcode/ILSpy#829 still open). Instruction comments added. - MEVD.ConformanceTests: New baseline file (2597 lines). Primary constructor portions removed from 14 abstract test class Type fields with instruction comments. - MEAI.Abstractions: ~70 new types added including Realtime client abstractions (IRealtimeClient, IRealtimeClientSession, RealtimeClientMessage, RealtimeServerMessage and subtypes), ITextToSpeechClient, ISpeechToTextClient, IHostedFileClient, HostedFileSearchTool, HostedImageGenerationTool, HostedMcpServerTool, and related content types. ~27 types removed/replaced. - MEAI: ~25 new types for Realtime, TextToSpeech, and HostedFile delegating clients, builders, logging, and OpenTelemetry wrappers. - MEAI.OpenAI: New OpenAIRealtimeClient, OpenAIRealtimeClientSession, and extension methods for AsIHostedFileClient/AsITextToSpeechClient. - MEAI: 'scoped' replaced with 'params' on 4 ReadOnlySpan<object?> parameters (ILSpy decompiler limitation, icsharpcode/ILSpy#829). Instruction comments restored. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates ApiChief baseline files for Microsoft.Extensions.AI (MEAI) and Microsoft.Extensions.VectorData (MEVD) to reflect the current public surface area as-built, including newly introduced Realtime/HostedFile/TextToSpeech APIs and updated MEVD metadata/signing details.
Changes:
- Refreshed MEAI baselines (Abstractions, implementation, OpenAI) to version 10.5.0.0 with new Realtime, HostedFile, SpeechToText, and TextToSpeech types/members.
- Updated MEVD.Abstractions baseline for PublicKeyToken change, required-member constructor staging, generic constraints, and ILSpy primary-constructor limitations.
- Added a new MEVD.ConformanceTests baseline file.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/Libraries/Microsoft.Extensions.VectorData.ConformanceTests/Microsoft.Extensions.VectorData.ConformanceTests.json | New ApiChief baseline for VectorData conformance test assembly (includes ILSpy primary-constructor workaround comments). |
| src/Libraries/Microsoft.Extensions.VectorData.Abstractions/Microsoft.Extensions.VectorData.Abstractions.json | Updates baseline for signing token, constructor stage reporting, generic constraints, and primary-constructor decompilation workaround. |
| src/Libraries/Microsoft.Extensions.AI/Microsoft.Extensions.AI.json | Updates MEAI implementation baseline to 10.5.0.0 and captures new client/builders/logging/OTel wrappers for new feature areas. |
| src/Libraries/Microsoft.Extensions.AI.OpenAI/Microsoft.Extensions.AI.OpenAI.json | Updates MEAI.OpenAI baseline to 10.5.0.0 with new Realtime and hosted-file/TTS extension APIs. |
| src/Libraries/Microsoft.Extensions.AI.Abstractions/Microsoft.Extensions.AI.Abstractions.json | Updates MEAI abstractions baseline to 10.5.0.0 with expanded Realtime and Files/TTS/STT surfaces and related content/options types. |
jeffhandley
commented
Apr 10, 2026
roji
requested changes
Apr 10, 2026
Member
roji
left a comment
There was a problem hiding this comment.
LGTM, only thing is to not include the ConformanceTests.
roji
approved these changes
Apr 10, 2026
Member
roji
left a comment
There was a problem hiding this comment.
OK for the MEVD side (didn't look too much at the MEAI changes)
jeffhandley
added a commit
that referenced
this pull request
Apr 11, 2026
* Update ApiChief baselines for MEAI and MEVD Ran '/run-apichief' skill for MEAI and MEVD. Noteworthy changes for reviewers: - MEVD.Abstractions PublicKeyToken changed from 31bf3856ad364e35 (Microsoft strong name key) to f300afd708cefcd3. This differs from MEVD.ConformanceTests and all MEAI assemblies, which still use the original key. This reflects the assembly as-built and is not a baseline editing artifact. - MEVD.Abstractions: CollectionModelBuildingOptions.CollectionModelBuildingOptions() stage changed from Experimental to Obsolete. The C# compiler emits [Obsolete] on parameterless constructors of types with 'required' members to protect older compilers. ApiChief's ParsedMember handles the analogous compiler-generated [Obsolete] for readonly ref structs but doesn't yet have a carve-out for the required-members variant, so it reports Obsolete instead of inheriting the parent type's Experimental stage. - MEVD.Abstractions: 'where TRecord : class' generic constraints now appear on IKeywordHybridSearchable<TRecord>, IVectorSearchable<TRecord>, and VectorSearchResult<TRecord>. - MEVD.Abstractions: Primary constructor portion removed from PropertyModel Type field (ILSpy decompiler limitation, issue icsharpcode/ILSpy#829 still open). Instruction comments added. - MEVD.ConformanceTests: New baseline file (2597 lines). Primary constructor portions removed from 14 abstract test class Type fields with instruction comments. - MEAI.Abstractions: ~70 new types added including Realtime client abstractions (IRealtimeClient, IRealtimeClientSession, RealtimeClientMessage, RealtimeServerMessage and subtypes), ITextToSpeechClient, ISpeechToTextClient, IHostedFileClient, HostedFileSearchTool, HostedImageGenerationTool, HostedMcpServerTool, and related content types. ~27 types removed/replaced. - MEAI: ~25 new types for Realtime, TextToSpeech, and HostedFile delegating clients, builders, logging, and OpenTelemetry wrappers. - MEAI.OpenAI: New OpenAIRealtimeClient, OpenAIRealtimeClientSession, and extension methods for AsIHostedFileClient/AsITextToSpeechClient. - MEAI: 'scoped' replaced with 'params' on 4 ReadOnlySpan<object?> parameters (ILSpy decompiler limitation, icsharpcode/ILSpy#829). Instruction comments restored. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Exclude MEVD.ConformanceTests from ApiChief * Override CollectionModelBuildingOptions stage to Experimental --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ran '/run-apichief' skill for MEAI and MEVD.
MEVD.Abstractions PublicKeyToken changed from 31bf3856ad364e35 (Microsoft strong name key) to f300afd708cefcd3. This reflects the assembly as-built and is not a baseline editing artifact.
MEVD.Abstractions: 'where TRecord : class' generic constraints now appear on IKeywordHybridSearchable, IVectorSearchable, and VectorSearchResult.
MEVD.Abstractions: Primary constructor portion removed from PropertyModel Type field (ILSpy decompiler limitation, issue C# language support status icsharpcode/ILSpy#829 still open). Instruction comments added.
MEAI.Abstractions: ~70 new types added including Realtime client abstractions (IRealtimeClient, IRealtimeClientSession, RealtimeClientMessage, RealtimeServerMessage and subtypes), ITextToSpeechClient, ISpeechToTextClient, IHostedFileClient, HostedFileSearchTool, HostedImageGenerationTool, HostedMcpServerTool, and related content types. ~27 types removed/replaced.
MEAI: ~25 new types for Realtime, TextToSpeech, and HostedFile delegating clients, builders, logging, and OpenTelemetry wrappers.
MEAI.OpenAI: New OpenAIRealtimeClient, OpenAIRealtimeClientSession, and extension methods for AsIHostedFileClient/AsITextToSpeechClient.
MEAI: 'scoped' replaced with 'params' on 4 ReadOnlySpan<object?>
parameters (ILSpy decompiler limitation, C# language support status icsharpcode/ILSpy#829). Instruction comments restored.
Microsoft Reviewers: Open in CodeFlow