@earendil-works/pi-ai
Version:
Unified LLM API with automatic model discovery and provider configuration
17 lines • 656 B
TypeScript
/**
* Radius gateway OAuth flow.
*
* Radius is a pi-messages gateway. OAuth client APIs live on the configured
* gateway; only the interactive browser authorization endpoint is discovered.
* Model catalog loading is owned by the Radius provider.
*
* NOTE: This module uses node:http (via callback-server.ts) for the OAuth callback server.
* It is only intended for CLI use, not browser environments.
*/
import type { OAuthAuth } from "../types.ts";
export interface RadiusOAuthOptions {
name: string;
gateway: string;
}
export declare function createRadiusOAuth(options: RadiusOAuthOptions): OAuthAuth;
//# sourceMappingURL=radius.d.ts.map