Documentation
    Preparing search index...

    Interface LlmHooks

    Host wiring behind the NAP-LLM llm domain.

    NAP-LLM support is not binary: a host may have the runtime and service wired while the user has not yet configured any model connection. isAvailable() decides whether the domain is advertised at all; isConfigured() reports whether a connection exists so host UIs can show an "unconfigured" state and prompt for setup when a napplet first calls llm.select.

    interface LlmHooks {
        isAvailable(): boolean;
        isConfigured?(): boolean;
    }
    Index

    Methods

    • True when at least one model connection is configured. Omitted means configured.

      Returns boolean