Skip to content

removing tools mode - #121

Merged
abdulanu0 merged 1 commit into
mainfrom
users/anabdul/remove_tools_mode
Dec 4, 2025
Merged

removing tools mode#121
abdulanu0 merged 1 commit into
mainfrom
users/anabdul/remove_tools_mode

Conversation

@abdulanu0

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings December 4, 2025 17:45
@abdulanu0
abdulanu0 requested a review from a team as a code owner December 4, 2025 17:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request removes the "tools mode" feature from the codebase, which previously allowed switching between MockMCPServer and MCPPlatform modes. The change simplifies the tooling architecture by removing conditional logic that was no longer needed.

  • Removed the ToolsMode enum and associated configuration logic
  • Eliminated conditional behavior based on tools mode from MCP tool registration services
  • Cleaned up unused utility method GetToolsMode from the Utility class

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/Tooling/Extensions/SemanticKernel/Services/McpToolRegistrationService.cs Removed unused toolsMode variable retrieval from the AddToolServersToAgentAsync method
src/Tooling/Extensions/AzureAIFoundry/Services/McpToolRegistrationService.cs Removed toolsMode variable and conditional logic that skipped live validation in MockMCPServer mode
src/Tooling/Core/Utils/Utility.cs Removed the GetToolsMode utility method that retrieved tools mode configuration
src/Tooling/Core/Models/ToolsMode.cs Deleted the entire ToolsMode enum file that defined MockMCPServer and MCPPlatform modes

@abdulanu0
abdulanu0 merged commit 09697d1 into main Dec 4, 2025
11 checks passed
@pontemonti
Johan Broberg (pontemonti) deleted the users/anabdul/remove_tools_mode branch December 5, 2025 16:58
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.

4 participants