Skip to main content
Glama
suggestions.py564 B
from __future__ import annotations from typing import Dict, List class SuggestionEngine: def generate(self, context: Dict[str, object]) -> List[str]: suggestions: List[str] = [] if context.get("has_images"): suggestions.append("Consider enabling multimodal analysis for images.") if context.get("long_context"): suggestions.append("Use long-context model or summarize older turns.") if not suggestions: suggestions.append("Try fast mode for quicker feedback.") return suggestions

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