offrouter-kimi
v0.34.1
Published
[](https://www.npmjs.com/package/offrouter-kimi) [](https://www.npmjs.com/package/offrouter-kimi) [;
console.log(adapter.id);
console.log((await adapter.checkAuth()).configured);Provider activation names: MOONSHOT_API_KEY, KIMI_API_KEY.
The package uses the HTTP transport from offrouter-core.
Apply routing policy through OffRouter before invoking a provider directly.
Expected output: moonshot, then true when credentials are present.
This checks configuration only; it does not validate credentials with the provider.
Features
- Named factory and
createAdapteralias for providermoonshot. - Model discovery and invocation through the shared HTTP adapter.
- Injectable fetch and base URL overrides for controlled integrations.
Live calls need injected fetch or OFFROUTER_LIVE_TESTS=1.
Links
Package scope
This is a provider library, not a standalone command.
Install offrouter separately for the parent CLI and policy configuration.
License
MIT.
