A DeRouter Provider module conforming to the OpenAI protocol.
It proxies requests incoming from the DeRouter network to a configured OpenAI-compatible URL.
The module connects to a running DeRouter node.
See config.example.jsonc for example configuration.
npm run build
npm start -- -c./config.json# Run with nodemon.
npm run dev -- -- -- -c./config.jsonThe module may be compiled into a single binary with NodeJS's SEA. You can download a binary from the Releases page, or build it manually.
./scripts/compile/linux.sh
./dist/bin/output -c./config.json./scripts/compile/win32.ps1
./dist/bin/output.exe -c ./config.json./scripts/compile/darwin.sh
./dist/bin/output -c./config.json