Skip to content

Conversation

@zzstoatzz
Copy link
Collaborator

@zzstoatzz zzstoatzz commented May 23, 2025

closes #1142

Copilot AI review requested due to automatic review settings May 23, 2025 05:40
@github-actions github-actions bot added the tests label May 23, 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 addresses modifications related to MCP tool wrapping and testing. It updates the MCP tool validation in tests to focus on the call structure and removes the legacy MCP tool discovery logic from the agent code.

  • Updated tests in tests/ai/test_mcp.py to verify that tool call messages have valid IDs and arguments.
  • Removed the unused MCP tool discovery logic from src/marvin/agents/agent.py.

Reviewed Changes

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

File Description
tests/ai/test_mcp.py Modified test assertions to focus on tool call structure.
src/marvin/agents/agent.py Removed MCP tool discovery; active_mcp_servers parameter remains unused.

@zzstoatzz zzstoatzz merged commit 614f23c into main May 23, 2025
4 checks passed
@zzstoatzz zzstoatzz deleted the fix-wrap branch May 23, 2025 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP tools appear to be added twice

2 participants