Skip to content

Conversation

@tracyboehrer
Copy link
Member

@tracyboehrer tracyboehrer commented Oct 24, 2025

Fixes #504
Fixes #396

This also improves getting IAccessTokenProvider based on the current request (IConnections.GetTokenProvider).

@tracyboehrer tracyboehrer requested a review from a team as a code owner October 24, 2025 15:55
Copilot AI review requested due to automatic review settings October 24, 2025 15:55
@github-actions github-actions bot added the ML: Core Tags changes to core libraries label Oct 24, 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 relocates the TeamsAttachmentDownloader class from the Teams Extensions library to the Core Builder library, improving code organization and reusability. The original implementation has been replaced with obsolete wrapper classes that delegate to the new location.

Key Changes:

  • Moved TeamsAttachmentDownloader and TeamsAttachmentDownloaderOptions to Microsoft.Agents.Builder.App
  • Added obsolete wrappers in the original Teams Extensions location for backward compatibility
  • Enhanced constructor parameter ordering and added default parameter handling for better usability

Reviewed Changes

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

File Description
Microsoft.Agents.Extensions.Teams/App/TeamsAttachmentDownloader.cs Replaced implementation with obsolete wrapper classes that inherit from the new Core location
Microsoft.Agents.Builder/App/TeamsAttachmentDownloader.cs New home for the TeamsAttachmentDownloader implementation with updated constructor signature
Microsoft.Agents.Authentication/ConfigurationConnections.cs Added null/empty check for connection name parameter to prevent lookup failures

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions bot added the ML: Samples Tags changes to samples label Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ML: Core Tags changes to core libraries ML: Samples Tags changes to samples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move TeamsAttachmentDownloader to Core File processing before beforeTurnHandler

2 participants