MCPcopy 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

1import http from 'http'
2import crypto from 'crypto'
3
4const host = process.env.MOCK_OPENAI_HOST || '127.0.0.1'

Callers

nothing calls this directly

Calls 4

buildAnswerFunction · 0.85
writeJsonFunction · 0.70
readJsonFunction · 0.70
writeSseFunction · 0.70

Tested by

no test coverage detected