UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

18 lines • 889 B
export interface CredentialParts { apiKey: string | undefined; headers?: Record<string, string>; } export declare const OPENAI_BASE_URL = "https://api.openai.com/v1"; export declare function nonEmpty(value: string | undefined): string | undefined; export declare function sameBaseUrl(left: string, right: string): boolean; /** * Seeded placeholder keys (`SK-SENTINEL-DO-NOT-LOG-*`) are not credentials. Left unfiltered, such a * value satisfies the stored-openai branch, pins `api.openai.com`, and every request 401s with * `Incorrect API key provided: SK-SENTI***OG-2` while a working gateway sits unused. */ export declare function isPlaceholderKey(apiKey: string): boolean; export declare function credentialParts(auth: { apiKey?: string; headers?: Record<string, string | null>; } | undefined): CredentialParts | undefined; //# sourceMappingURL=credentials.d.ts.map