MCPcopy
hub / github.com/futantan/OpenGpt / OpenAIStreamPayload

Interface OpenAIStreamPayload

src/utils/OpenAIStream.ts:16–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16export interface OpenAIStreamPayload {
17 model: string
18 messages: ChatGPTMessage[]
19 temperature: number
20 top_p: number
21 frequency_penalty: number
22 presence_penalty: number
23 max_tokens: number
24 stream: boolean
25 n: number
26}
27
28export async function OpenAIStream(
29 payload: OpenAIStreamPayload,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected