Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
This PR removes AI-related packages from the repository/workspace configuration, along with their tests, examples, and documentation references.
Changes:
- Removes AI/OpenAI/MCP/A2A packages from workspace configuration (Pyright + root
pyproject.toml) - Deletes the corresponding package source code, tests, and example apps
- Updates repo docs and release instructions to stop referencing the removed packages
Reviewed changes
Copilot reviewed 77 out of 78 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| pyrightconfig.json | Stops type-checking the removed AI/OpenAI/MCP/A2A packages. |
| pyproject.toml | Removes workspace dependencies for the removed AI/OpenAI/MCP/A2A packages. |
| packages/openai/tests/test_openai_responses_model.py | Deletes OpenAI package test coverage alongside package removal. |
| packages/openai/tests/test_openai_completions_model.py | Deletes OpenAI package test coverage alongside package removal. |
| packages/openai/tests/test_function_utils.py | Deletes OpenAI helper tests alongside package removal. |
| packages/openai/tests/init.py | Deletes OpenAI test package init alongside package removal. |
| packages/openai/src/microsoft_teams/openai/responses_chat_model.py | Deletes OpenAI Responses model implementation. |
| packages/openai/src/microsoft_teams/openai/function_utils.py | Deletes OpenAI function schema/argument utilities. |
| packages/openai/src/microsoft_teams/openai/completions_model.py | Deletes OpenAI Completions model implementation. |
| packages/openai/src/microsoft_teams/openai/common.py | Deletes OpenAI shared client/config logic. |
| packages/openai/src/microsoft_teams/openai/init.py | Removes OpenAI package public exports. |
| packages/openai/src/microsoft/teams/openai/init.py | Removes deprecated compatibility shim for microsoft.teams.openai. |
| packages/openai/pyproject.toml | Deletes the OpenAI package definition. |
| packages/openai/README.md | Deletes OpenAI package README. |
| packages/mcpplugin/tests/test_transport.py | Deletes MCP plugin tests alongside package removal. |
| packages/mcpplugin/tests/test_server_plugin.py | Deletes MCP server plugin tests alongside package removal. |
| packages/mcpplugin/tests/test_ai_plugin.py | Deletes MCP client plugin tests alongside package removal. |
| packages/mcpplugin/tests/conftest.py | Deletes MCP plugin test fixtures alongside package removal. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/transport.py | Deletes MCP transport factory + header resolution logic. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/server_plugin.py | Deletes MCP server plugin implementation. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/models/tool.py | Deletes MCP tool model. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/models/params.py | Deletes MCP client plugin params model. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/models/cache.py | Deletes MCP cache model. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/models/init.py | Deletes MCP models barrel export. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/ai_plugin.py | Deletes MCP client plugin implementation. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/init.py | Deletes MCP plugin public exports. |
| packages/mcpplugin/src/microsoft/teams/mcpplugin/init.py | Removes deprecated compatibility shim for microsoft.teams.mcpplugin. |
| packages/mcpplugin/pyproject.toml | Deletes the MCP plugin package definition. |
| packages/mcpplugin/README.md | Deletes MCP plugin package README. |
| packages/ai/tests/test_chat_prompt.py | Deletes AI package tests alongside package removal. |
| packages/ai/src/microsoft_teams/ai/plugin.py | Deletes AI plugin protocol/base implementation. |
| packages/ai/src/microsoft_teams/ai/message.py | Deletes AI message model types. |
| packages/ai/src/microsoft_teams/ai/memory.py | Deletes AI memory abstractions/implementation. |
| packages/ai/src/microsoft_teams/ai/function.py | Deletes AI function/function-call model types. |
| packages/ai/src/microsoft_teams/ai/chat_prompt.py | Deletes ChatPrompt orchestration logic. |
| packages/ai/src/microsoft_teams/ai/ai_model.py | Deletes AI model protocol. |
| packages/ai/src/microsoft_teams/ai/init.py | Removes AI package public exports. |
| packages/ai/src/microsoft/teams/ai/init.py | Removes deprecated compatibility shim for microsoft.teams.ai. |
| packages/ai/pyproject.toml | Deletes the AI package definition. |
| packages/ai/README.md | Deletes the AI package README. |
| packages/a2aprotocol/src/microsoft_teams/a2a/server/plugin.py | Deletes A2A server plugin code alongside package removal. |
| packages/a2aprotocol/src/microsoft_teams/a2a/server/logging_middleware.py | Deletes A2A server logging middleware. |
| packages/a2aprotocol/src/microsoft_teams/a2a/server/custom_agent_executor.py | Deletes A2A custom agent executor. |
| packages/a2aprotocol/src/microsoft_teams/a2a/server/a2a_plugin_options.py | Deletes A2A plugin options model. |
| packages/a2aprotocol/src/microsoft_teams/a2a/server/init.py | Deletes A2A server module exports. |
| packages/a2aprotocol/src/microsoft_teams/a2a/chat_prompt/types.py | Deletes A2A chat prompt typed APIs. |
| packages/a2aprotocol/src/microsoft_teams/a2a/chat_prompt/plugin.py | Deletes A2A client plugin integration with ChatPrompt. |
| packages/a2aprotocol/src/microsoft_teams/a2a/chat_prompt/agent_config.py | Deletes A2A agent config model. |
| packages/a2aprotocol/src/microsoft_teams/a2a/chat_prompt/agent_client_info.py | Deletes A2A agent client/cache model. |
| packages/a2aprotocol/src/microsoft_teams/a2a/chat_prompt/init.py | Deletes A2A chat prompt module exports. |
| packages/a2aprotocol/src/microsoft_teams/a2a/init.py | Deletes A2A package exports. |
| packages/a2aprotocol/src/microsoft/teams/a2a/init.py | Removes deprecated compatibility shim for microsoft.teams.a2a. |
| packages/a2aprotocol/pyproject.toml | Deletes the A2A package definition. |
| packages/a2aprotocol/README.md | Deletes the A2A package README. |
| examples/mcp-server/src/main.py | Deletes MCP server example app. |
| examples/mcp-server/pyproject.toml | Deletes MCP server example project definition. |
| examples/mcp-server/README.md | Deletes MCP server example documentation. |
| examples/mcp-client/src/main.py | Deletes MCP client example app. |
| examples/mcp-client/pyproject.toml | Deletes MCP client example project definition. |
| examples/mcp-client/README.md | Deletes MCP client example documentation. |
| examples/ai-test/src/main.py | Deletes AI test example app. |
| examples/ai-test/src/handlers/plugins.py | Deletes AI test example plugin handler. |
| examples/ai-test/src/handlers/memory_management.py | Deletes AI test example memory handler. |
| examples/ai-test/src/handlers/function_calling.py | Deletes AI test example function-calling handler. |
| examples/ai-test/src/handlers/feedback_management.py | Deletes AI test example feedback handler. |
| examples/ai-test/src/handlers/citations.py | Deletes AI test example citations handler. |
| examples/ai-test/src/handlers/init.py | Deletes AI test example handler exports. |
| examples/ai-test/pyproject.toml | Deletes AI test example project definition. |
| examples/ai-test/README.md | Deletes AI test example documentation. |
| examples/a2a-test/src/main.py | Deletes A2A test example app. |
| examples/a2a-test/pyproject.toml | Deletes A2A test example project definition. |
| examples/a2a-test/README.md | Deletes A2A test example documentation. |
| RELEASE.md | Updates release docs to stop referencing the removed package(s). |
| README.md | Removes the microsoft-teams-ai package from the top-level package list. |
| CLAUDE.md | Removes AI package mention from repo structure docs. |
| .github/copilot-instructions.md | Removes AI package/example references from contributor instructions. |
| .azdo/publish.yml | Updates editable install list (partially) for publishing pipeline. |
Comments suppressed due to low confidence (1)
pyproject.toml:1
- PR title says "remove AI package", but the diff removes multiple packages (
microsoft-teams-openai,microsoft-teams-mcpplugin,microsoft-teams-a2a) and deletes their sources/tests/examples. Consider updating the PR title (and/or description, if any) to reflect the broader scope so reviewers and release tooling understand this is a multi-package removal.
added 2 commits
April 13, 2026 11:42
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.
Uh oh!
There was an error while loading. Please reload this page.