Skip to content

Conversation

@Vijay-Nirmal
Copy link

@Vijay-Nirmal Vijay-Nirmal commented Dec 29, 2025

Motivation and Context

Fix: #573

Description

Added a user-friendly way to run the AgentWebChat sample with the configuration provided by Aspire UI, and added ReadMe.md

image

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

Copilot AI review requested due to automatic review settings December 29, 2025 10:27
@Vijay-Nirmal Vijay-Nirmal changed the title Easy to AgentWebChat sample Easy to run AgentWebChat sample Dec 29, 2025
@Vijay-Nirmal Vijay-Nirmal changed the title Easy to run AgentWebChat sample .NET: Easy to run AgentWebChat sample Dec 29, 2025
Copy link
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 adds a user-friendly way to run the AgentWebChat sample by introducing interactive Aspire Dashboard configuration and comprehensive documentation. The changes make it easy for developers to quickly start using the sample with different AI providers (OpenAI, Azure OpenAI, or Ollama) without manually editing configuration files.

Key changes:

  • Added comprehensive README.md documentation with setup instructions, provider configuration guidance, and conceptual overview
  • Implemented interactive Aspire parameters for Provider, Model, Endpoint, and AccessKey configuration
  • Extended ModelExtensions.cs to support the new multi-parameter configuration approach

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
dotnet/samples/AgentWebChat/README.md Comprehensive documentation covering sample overview, prerequisites, configuration instructions, and framework concepts
dotnet/samples/AgentWebChat/AgentWebChat.AppHost/Program.cs Added interactive Aspire parameters for configurable AI provider setup with guidance for OpenAI, Azure OpenAI, and Ollama
dotnet/samples/AgentWebChat/AgentWebChat.AppHost/ModelExtensions.cs Added new AddAIModel overload accepting interactive parameters and updated Build() method to handle the new connection string format

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

.NET: AgentWebChat sample should have a README with setup and usage instructions

1 participant