@sgrs/client-ts
    Preparing search index...

    Variable ConnectModelRequestConst

    ConnectModelRequest: z.ZodObject<
        {
            api_key: z.ZodString;
            base_url: z.ZodOptional<z.ZodString>;
            label: z.ZodOptional<z.ZodString>;
            model: z.ZodString;
            provider: z.ZodEnum<
                {
                    anthropic: "anthropic";
                    "azure-openai": "azure-openai";
                    ollama: "ollama";
                    openai: "openai";
                    "openai-compatible": "openai-compatible";
                },
            >;
        },
        z.core.$strip,
    >

    Connecting a model stores the key server-side and returns an opaque handle. The handle is all the UI ever sees — the plaintext API key never traverses the client boundary again.