Nbility logoNbility Docs

Search documentation

Search guides and API reference content

Setup & Review Tools

OpenCodeReview with Nbility

OpenCodeReview (OCR) performs code review and is a separate project from the interactive OpenCode client. Releases with custom providers can use Nbility for review inference.

Use the setup wizards

Install following the project instructions, then run:

ocr config provider
ocr config model

Choose OpenAI compatibility, supply https://api.nbility.ai/v1 and a dedicated token, and select an exact ID from Models.

Prefer interactive credential entry to putting keys in command arguments or committed review settings.

Test before reviewing

ocr llm test

After the connection test passes, run ocr review according to your release’s help in a small sample repository. Review the file or diff scope and check requests in Usage logs.

Troubleshooting

  • Missing commands: check ocr --help and verify you installed OpenCodeReview, not another OCR tool.
  • 404: end the base URL at /v1, without /chat/completions.
  • Large diff failure: reduce the review scope and align model context limits.
  • Empty review: distinguish no pending changes from a failed model request by checking Git diff and request logs separately.

References

Adapted and rewritten for Nbility from aicentos’s OpenCodeReview guide, licensed under CC BY 4.0. Its account, plan, and proprietary service instructions do not apply here. See the client’s official documentation.

Table of Contents