V1 with working cmdline interface for easy of using GIT

This commit is contained in:
s41r4j
2025-08-08 16:27:43 +05:30
commit 71a398820a
2845 changed files with 396687 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import * as WS from 'ws';
import { AzureOpenAI, OpenAI } from "../../index.js";
import type { RealtimeClientEvent } from "../../resources/beta/realtime/realtime.js";
import { OpenAIRealtimeEmitter } from "./internal-base.js";
export declare class OpenAIRealtimeWS extends OpenAIRealtimeEmitter {
url: URL;
socket: WS.WebSocket;
constructor(props: {
model: string;
options?: WS.ClientOptions | undefined;
}, client?: Pick<OpenAI, 'apiKey' | 'baseURL'>);
static azure(client: Pick<AzureOpenAI, '_getAzureADToken' | 'apiVersion' | 'apiKey' | 'baseURL' | 'deploymentName'>, options?: {
deploymentName?: string;
options?: WS.ClientOptions | undefined;
}): Promise<OpenAIRealtimeWS>;
send(event: RealtimeClientEvent): void;
close(props?: {
code: number;
reason: string;
}): void;
}
//# sourceMappingURL=ws.d.ts.map