Update package dependencies and align Microsoft.Extensions.AI#390
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates dependency versions and ensures the core OllamaSharp library directly references Microsoft.Extensions.AI alongside Microsoft.Extensions.AI.Abstractions, aiming to keep MEAI assemblies aligned and avoid runtime type-load issues when used with MEAI/Agent Framework tooling.
Changes:
- Add a direct
Microsoft.Extensions.AIpackage reference tosrc/OllamaSharp/OllamaSharp.csprojto keep MEAI packages aligned. - Bump and clean up centrally-managed dependency versions in
Directory.Packages.props(MEAI, Roslyn, test tooling, Spectre.Console). - Add context comment explaining the MEAI alignment rationale and linking to issue #378.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/OllamaSharp/OllamaSharp.csproj | Adds Microsoft.Extensions.AI reference to keep MEAI assemblies aligned for consumers. |
| Directory.Packages.props | Updates central package versions (MEAI, test stack, Roslyn, Spectre.Console) and removes unused entries. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+9
to
13
| <PackageVersion Include="Microsoft.Extensions.AI.Abstractions" Version="10.8.0" /> | ||
| <PackageVersion Include="Microsoft.Extensions.AI" Version="10.8.0" /> | ||
| <PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="10.0.10" /> | ||
| <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.8.1" /> | ||
| <PackageVersion Include="Moq" Version="4.20.72" /> |
Owner
Author
|
Fixes #378 |
This was referenced Jul 15, 2026
Merged
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.
No description provided.