Skip to content

Update package dependencies and align Microsoft.Extensions.AI#390

Merged
awaescher merged 1 commit into
mainfrom
codex/fix-functionapprovalrequestcontent
Jul 15, 2026
Merged

Update package dependencies and align Microsoft.Extensions.AI#390
awaescher merged 1 commit into
mainfrom
codex/fix-functionapprovalrequestcontent

Conversation

@awaescher

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings July 15, 2026 08:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.AI package reference to src/OllamaSharp/OllamaSharp.csproj to 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 thread Directory.Packages.props
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" />
@awaescher

Copy link
Copy Markdown
Owner Author

Fixes #378

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