Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Work-Fisher/code-claw
/ server.mjs
File
server.mjs
tools/mock-openai/server.mjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
http from
'http'
2
import
crypto from
'crypto'
3
4
const
host = process.env.MOCK_OPENAI_HOST ||
'127.0.0.1'
Callers
nothing calls this directly
Calls
4
buildAnswer
Function · 0.85
writeJson
Function · 0.70
readJson
Function · 0.70
writeSse
Function · 0.70
Tested by
no test coverage detected