Skip to main content
Glama
ask_question_service.py462 B
from app.domain.interfaces import AnswerGateway from app.domain.models import Answer class AskQuestionService: def __init__(self, answer_gateway: AnswerGateway) -> None: self._answer_gateway = answer_gateway def _ignore(self, _: str): pass async def ask(self, question: str) -> Answer: # Question is ignored no avoid headache overhead. self._ignore(question) return await self._answer_gateway.get_answer()

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/clafoutis42/no-mcp'

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