Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenPipe/OpenPipe
/ stream.test.ts
File
stream.test.ts
client-libs/typescript/src/openai/stream.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
dotenv from
"dotenv"
;
2
import
{ expect, test } from
"vitest"
;
3
import
BaseOpenAI, { APIError } from
"openai"
;
4
import
{ sleep } from
"openai/core"
;
Callers
nothing calls this directly
Calls
7
sleep
Function · 0.85
mergeChunks
Function · 0.85
validateOpenAIToolCallDeltaFirstChunkSignature
Function · 0.85
lastLoggedCall
Function · 0.70
validateOpenAIChunkSignature
Function · 0.70
validateOpenAIToolCallDeltaSignature
Function · 0.70
create
Method · 0.45
Tested by
no test coverage detected