Repository navigation
.NET: fix: 04_MultiModelService Workflows sample - #5074
Merged
Jacob Alber (lokitoth) merged 4 commits intoApr 3, 2026
Merged
Conversation
Jacob Alber (lokitoth)
temporarily deployed
to
integration
April 3, 2026 07:41 — with
GitHub Actions
Inactive
Jacob Alber (lokitoth)
temporarily deployed
to
integration
April 3, 2026 07:41 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the .NET workflow sample 04_MultiModelService to use Google GenAI instead of Bedrock, and adjusts the OpenAI client setup to use the Responses API so the sample can use HostedWebSearchTool with gpt-4o-mini. It also tweaks streaming output handling.
Changes:
- Switch multi-model workflow “researcher” backend from Amazon Bedrock to Google GenAI (Gemini).
- Update OpenAI client initialization to use the Responses API for compatibility with hosted tools (e.g., web search).
- Add logic intended to suppress WorkflowEvent-only streaming updates in console output.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| dotnet/samples/03-workflows/_StartHere/04_MultiModelService/Program.cs | Replaces Bedrock with Google GenAI, updates OpenAI to Responses API, and adjusts streaming output filtering. |
| dotnet/samples/03-workflows/_StartHere/04_MultiModelService/04_MultiModelService.csproj | Swaps Bedrock package reference for Google.GenAI. |
- Change Bedrock to Google GenAI provider
- Fix use of OpenAI ("gpt-4o-mini" requires Responses API to use HostedWebSearchTool)
- Clean up output
Jacob Alber (lokitoth)
force-pushed
the
dev/dotnet_workflow/fix_multimodel_sample
branch
from
April 3, 2026 12:27
0796cf7 to
4d9f0eb
Compare
Jacob Alber (lokitoth)
temporarily deployed
to
integration
April 3, 2026 12:28 — with
GitHub Actions
Inactive
Jacob Alber (lokitoth)
temporarily deployed
to
integration
April 3, 2026 12:28 — with
GitHub Actions
Inactive
Jacob Alber (lokitoth)
temporarily deployed
to
integration
April 3, 2026 15:19 — with
GitHub Actions
Inactive
Jacob Alber (lokitoth)
had a problem deploying
to
integration
April 3, 2026 15:19 — with
GitHub Actions
Failure
Jacob Alber (lokitoth)
temporarily deployed
to
integration
April 3, 2026 15:32 — with
GitHub Actions
Inactive
Jacob Alber (lokitoth)
temporarily deployed
to
integration
April 3, 2026 16:24 — with
GitHub Actions
Inactive
Jacob Alber (lokitoth)
temporarily deployed
to
integration
April 3, 2026 16:24 — with
GitHub Actions
Inactive
SergeyMenshykh
approved these changes
Apr 3, 2026
Jacob Alber (lokitoth)
temporarily deployed
to
integration
April 3, 2026 17:11 — with
GitHub Actions
Inactive
Jacob Alber (lokitoth)
had a problem deploying
to
integration
April 3, 2026 17:11 — with
GitHub Actions
Failure
Jacob Alber (lokitoth)
temporarily deployed
to
integration
April 3, 2026 17:32 — with
GitHub Actions
Inactive
Peter Ibekwe (peibekwe)
approved these changes
Apr 3, 2026
Jacob Alber (lokitoth)
enabled auto-merge
April 3, 2026 17:57
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Apr 3, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Apr 3, 2026
Vincent Biret (baywet)
deleted the
dev/dotnet_workflow/fix_multimodel_sample
branch
September 17, 2026 14:44
This was referenced Sep 30, 2026
westey (westey-m)
added a commit
to Laurianti/agent-framework
that referenced
this pull request
Oct 1, 2026
…rosoft#8879) claude-sonnet-4-20250514 was retired by Anthropic on 2026-06-15; its listed replacement is claude-sonnet-4-6. Also list the keys the sample reads in its verify-samples entry (Google instead of Bedrock since microsoft#5074). Fixes microsoft#8878 Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
This branch was previously deployed
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.
Description
Contribution Checklist
[ ] Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.