Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

1.1 KB
Raw Blame
"""Requesty LLM provider for Local Deep Research."""

from ..base import Exposure
from ..openai_base import OpenAICompatibleProvider


class RequestyProvider(OpenAICompatibleProvider):
    """Requesty provider using OpenAI-compatible endpoint.

    Requesty is an LLM gateway that provides access to many different models
    through a unified OpenAI-compatible API, using ``provider/model`` naming
    (e.g. ``openai/gpt-4o-mini``), automatically supporting current and future
    models without needing code updates.
    """

    provider_name = "Requesty"
    api_key_setting = "llm.requesty.api_key"
    default_base_url = "https://router.requesty.ai/v1"
    default_model = ""  # User must explicitly pick a model — no silent fallback

    # Metadata for auto-discovery
    provider_key = "REQUESTY"
    company_name = "Requesty"
    is_cloud = True
    # Egress exposure (ADR-0007): cloud inference sink — data leaves the box.
    egress_exposure = Exposure.EXPOSING

    @classmethod
    def requires_auth_for_models(cls):
        """Requesty requires authentication for listing models."""
        return True