mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-05-09 16:38:19 +00:00
fix: test & build error
This commit is contained in:
@@ -49,7 +49,8 @@ export class OpenAIMessageAdapter {
|
||||
async streamResponse(
|
||||
client: OpenAI,
|
||||
request: LLMRequestStreaming,
|
||||
options?: LLMOptions,
|
||||
options?: LLMOptions,
|
||||
extraParams?: Record<string, any>,
|
||||
): Promise<AsyncIterable<LLMResponseStreaming>> {
|
||||
const stream = await client.chat.completions.create(
|
||||
{
|
||||
@@ -66,7 +67,8 @@ export class OpenAIMessageAdapter {
|
||||
stream: true,
|
||||
stream_options: {
|
||||
include_usage: true,
|
||||
},
|
||||
},
|
||||
...extraParams,
|
||||
},
|
||||
{
|
||||
signal: options?.signal,
|
||||
|
||||
Reference in New Issue
Block a user