(
delta: ChatCompletionChunk.Choice.Delta,
)
| 1418 | ); |
| 1419 | |
| 1420 | const makeChunk = ( |
| 1421 | delta: ChatCompletionChunk.Choice.Delta, |
| 1422 | ): ChatCompletionChunk => ({ |
| 1423 | id: completion.id, |
| 1424 | object: "chat.completion.chunk", |
| 1425 | created: completion.created, |
| 1426 | model: completion.model, |
| 1427 | choices: [{ index: 0, delta, finish_reason: null, logprobs: null }], |
| 1428 | }); |
| 1429 | |
| 1430 | const chunks: ChatCompletionChunk[] = []; |
| 1431 |
no outgoing calls
no test coverage detected
searching dependent graphs…