Skip to main content
Glama
test_consensus_findings_required.py560 B
import pytest try: from tools.consensus import ConsensusRequest except Exception: # Fallback for different project layouts ConsensusRequest = None @pytest.mark.skipif(ConsensusRequest is None, reason="Consensus tool not available in this layout") def test_step1_requires_findings(): # Step 1 without findings should fail validation with pytest.raises(Exception): ConsensusRequest( step="1", step_number=1, total_steps=2, next_step_required=True, findings=None, )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zazzles2908/EX_AI-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server