Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ericc-ch/copilot-api
/ anthropic-request.test.ts
File
anthropic-request.test.ts
tests/anthropic-request.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, test, expect } from
"bun:test"
2
import
{ z } from
"zod"
3
4
import
type
{ AnthropicMessagesPayload } from
"~/routes/messages/anthropic-types"
Callers
nothing calls this directly
Calls
2
translateToOpenAI
Function · 0.90
isValidChatCompletionRequest
Function · 0.85
Tested by
no test coverage detected