Cell API
    Preparing search index...

    Interface PiEndpoint

    An endpoint registered as a pi-ai provider; its models are <endpoint id>/<model id>.

    interface PiEndpoint {
        api?: PiEndpointApi;
        apiKey?: string;
        baseUrl: string;
        models: (string | PiEndpointModel)[];
    }
    Index

    Default: openai-completions.

    apiKey?: string

    Sent as the API key; empty for servers without keys. cell.ai.pi.apiKeys.<endpoint id> works too.

    baseUrl: string

    e.g. http://localhost:11434/v1 for Ollama.

    models: (string | PiEndpointModel)[]

    Model ids, or models with their limits.