Skip to content

Merge in 'release/9.8' branch#6715

Merged
joperezr merged 7 commits intodotnet:mainfrom
joperezr:MergeRel98
Aug 12, 2025
Merged

Merge in 'release/9.8' branch#6715
joperezr merged 7 commits intodotnet:mainfrom
joperezr:MergeRel98

Conversation

@joperezr
Copy link
Copy Markdown
Member

@joperezr joperezr commented Aug 12, 2025

This should be merged and not squashed.

Microsoft Reviewers: Open in CodeFlow

joperezr and others added 7 commits August 7, 2025 14:56
* Update Azure.AI.OpenAI test dependency to 2.3.0-beta.1 (dotnet#6698)

* Bring back per library CHANGELOGS for M.E.AI (dotnet#6697)

* Revert "Delete M.E.AI changelog files (dotnet#6467)"

This reverts commit 2ab21ec.

* Bring back per library CHANGELOGS for M.E.AI

By popular demand.

* Fix typos

* Add HostedFile/VectorStoreContent, HostedFileSearchTool, and HostedCodeInterpreterTool.Inputs (dotnet#6620)

* Add HostedFileContent, HostedVectorStoreContent, HostedFileSearchTool, and HostedCodeInterpreterTool.Inputs
* Add ITextToImageClient

* Remove URI based edit since it's not available

* Add filename for edit

* Add OpenAI implmentation of ITextToImageClient

* Fix tests

* Add tests for TextToImage

* Add DeletgatingTextToImageClient and tests

* Add integration test and fix some bugs

* Add remaining support to MEAI for TextToImage

* Make all TextToImageOptions optional

These are all nullable now so that the client can use defaults where
appropriate.

Remove quality default since it's not consistent across models.

Also remove setting ResponseFormat since this is not supported by
gpt-image-1.

* Address feedback

* Document some exceptions

* Address feedback

* Make EditImageAsync plural

OpenAI's image API supports multiple images and this does seem to be
common functionality and a better generalization.  The client library
doesn't expose this yet, but we should account for it.

Image models may be capable of things like
"Combine the subjects of these images into a single image" or
"Create a single image that uses the subject from the first image and
background for the second" etc.

* Address feedback and add/fix tests.

* Fix bad merge

* Address feedback

* Fix test

* Use DataContent.Name for filename.

* Add extensions for EditImageAsync

Extension that accepts a single DataContent and one that accepts a byte[].

I've left out streams and file paths, since these require more opinions
about how to load them.  I filed dotnet#6683 to address streams.

* Fix test

* Remove use of `_model` field.

* Rename ImageToText to Image

* Rename TextToImage directories to Image

* Rename files TextToImage -> Image

* Add new request and response type

* Make GenerateImagesAsync accept ImageRequest

* Remove EditImageAsync

* Adding GenerateStreamingImagesAsync

* Update docs

* Rename ImageClient ImageGenerator

* Fix up some text-to-image references

* Rename Image(Options|Request|Response)

* Remove `Images` from `GenerateImagesAsync`

* Remove streaming method

We don't yet have any good public support for streaming to vet this API

We can guess at how it might behave for OpenAI, but that doesn't
really give enough confidence to build the API around it.

* Address feedback

* Provide OpenAI an appropriate filename

* Remove Style from ImageGenerationOptions
* Move ReducingChatClient into library code

* Add unit tests

* Remove unnecessary tests

* Allow resolving from DI + add configure callback

* Prototype for summarizing reducer

* Custom prompts + integration tests

* Update Microsoft.Extensions.AI.Integration.Tests.csproj

* Add message counting chat reducer

---------

Co-authored-by: Mackinnon Buck <mackinnon.buck@gmail.com>
Copilot AI review requested due to automatic review settings August 12, 2025 21:58
@joperezr joperezr requested a review from a team as a code owner August 12, 2025 21:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR merges changes from the 'release/9.8' branch, updating Microsoft .NET package dependencies from version 9.0.7 to 9.0.8 across the codebase. It also updates the corresponding LTS versions from 8.0.18 to 8.0.19.

  • Updates all Microsoft .NET runtime, ASP.NET Core, and Entity Framework package versions to 9.0.8
  • Updates LTS package versions from 8.0.18 to 8.0.19
  • Updates corresponding SHA references in the Version.Details.xml file

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
eng/Versions.props Updates package version properties from 9.0.7 to 9.0.8 and LTS versions from 8.0.18 to 8.0.19
eng/Version.Details.xml Updates dependency versions and corresponding SHA references for the new package versions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@joperezr joperezr merged commit f090b9b into dotnet:main Aug 12, 2025
7 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants