Skip to content

Conversation

@jeffhandley
Copy link
Member

@jeffhandley jeffhandley commented Nov 7, 2025

The Microsoft.Agents.AI.DevUI package will soon be published, and it will be enabled by default in the aiagent-webapi project template, with the option to disable it. When DevUI is enabled, the OpenAI Responses and Conversations need to be added into the app.

This PR also improves the project template execution test output to emit the stdout and stderr when not empty, as well as an expanded test description that does not get truncated (like the [Theory] args do). As part of that, an issue is fixed in the project template projects where the ExecutionTestSandbox folders were being included in the projects, causing build errors in the projects after execution tests had been run.

This cannot be merged until DevUI is published and the package versions are updated in src/ProjectTemplates/GeneratedContent.targets

Microsoft Reviewers: Open in CodeFlow

@jeffhandley jeffhandley self-assigned this Nov 7, 2025
@jeffhandley jeffhandley added * NO MERGE * Do not merge this PR as long as this label is present. area-ai-templates Microsoft.Extensions.AI.Templates labels Nov 7, 2025
"dotnetRunMessages": true,
"launchBrowser": false,
"launchBrowser": true,
"launchUrl": "devui/",
Copy link
Member

Choose a reason for hiding this comment

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

Is the trailing slash needed?

.GetChatClient("gpt-4o-mini").AsIChatClient();
var chatClient = new ChatClient(
"gpt-4o-mini",
new ApiKeyCredential(builder.Configuration["GitHubModels:Token"] ?? throw new InvalidOperationException("Missing configuration: GitHubModels:Token.")),
Copy link
Member

Choose a reason for hiding this comment

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

Should we use "GITHUB_TOKEN" for this config value? It seems like it's pretty common to use "GITHUB_TOKEN" for personal access tokens. For example, that's what the Aspire GitHub Models Integration looks for by default. And it's what GitHub Actions use for authentication in workflows. I get that the current config value is with the AI Chat Web App template currently uses.

Copy link
Member

@danroth27 danroth27 left a comment

Choose a reason for hiding this comment

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

LGTM. Just a couple of minor comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-ai-templates Microsoft.Extensions.AI.Templates * NO MERGE * Do not merge this PR as long as this label is present.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants