公众号验证码功能完成 yeah!!!

This commit is contained in:
2025-11-21 15:33:03 +08:00
parent ad35173301
commit 6330f6faa1
614 changed files with 31574 additions and 4571 deletions

View File

@@ -15,8 +15,14 @@ export declare class OpenAIRealtimeWebSocket extends OpenAIRealtimeEmitter {
* @internal
*/
onURL?: (url: URL) => void;
/** Indicates the token was resolved by the factory just before connecting. @internal */
__resolvedApiKey?: boolean;
}, client?: Pick<OpenAI, 'apiKey' | 'baseURL'>);
static azure(client: Pick<AzureOpenAI, '_getAzureADToken' | 'apiVersion' | 'apiKey' | 'baseURL' | 'deploymentName'>, options?: {
static create(client: Pick<OpenAI, 'apiKey' | 'baseURL' | '_callApiKey'>, props: {
model: string;
dangerouslyAllowBrowser?: boolean;
}): Promise<OpenAIRealtimeWebSocket>;
static azure(client: Pick<AzureOpenAI, '_callApiKey' | 'apiVersion' | 'apiKey' | 'baseURL' | 'deploymentName'>, options?: {
deploymentName?: string;
dangerouslyAllowBrowser?: boolean;
}): Promise<OpenAIRealtimeWebSocket>;