Skip to content

Fixed reference to Activity.add_ai_metadata#111

Merged
axelsrz merged 1 commit intomainfrom
users/robrandao/add-activity-metadata-fix
Sep 8, 2025
Merged

Fixed reference to Activity.add_ai_metadata#111
axelsrz merged 1 commit intomainfrom
users/robrandao/add-activity-metadata-fix

Conversation

@rodrigobr-msft
Copy link
Contributor

No description provided.

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 fixes an incorrect function reference by changing from a standalone function call to an instance method call on the Activity object.

  • Removed the add_ai_metadata import from the botframework.schema module
  • Updated the function call from add_ai_metadata(activity, ...) to activity.add_ai_metadata(...)

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

@axelsrz axelsrz merged commit c9c42fc into main Sep 8, 2025
8 checks passed
@rodrigobr-msft rodrigobr-msft deleted the users/robrandao/add-activity-metadata-fix branch September 18, 2025 22:29
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.

2 participants

Comments