Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ openAICompatInferenceClient.test.ts
File
openAICompatInferenceClient.test.ts
src/services/api/openAICompatInferenceClient.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
'bun:test'
2
import
{
3
buildOpenAICompatChatRequest,
4
mapOpenAIChatCompletionToAnthropicMessage,
Callers
nothing calls this directly
Calls
10
buildOpenAICompatChatRequest
Function · 0.85
resolveOpenAICompatRequestPolicy
Function · 0.85
resolveOpenAICompatBackendCapabilities
Function · 0.85
mapOpenAIChatCompletionToAnthropicMessage
Function · 0.85
sseData
Function · 0.85
makeStream
Function · 0.85
createMessage
Method · 0.65
countTokens
Method · 0.65
listModels
Method · 0.65
get
Method · 0.45
Tested by
no test coverage detected