Skip to main content

LLM plugin exposing the RovoDev model for the llm CLI

Project description

llm-rovodev

License

Plugin for LLM adding a model called rovodev that shells out to acli rovodev run and returns the parsed response.

Installation

Install this plugin in the same environment as LLM:

llm install llm-rovodev

To learn more about installing and using the Rovo Dev CLI itself, see: Introducing Rovo Dev CLI – AI-Powered Development in your terminal.

Usage

This plugin adds a model called rovodev. You can execute it like this:

llm -m rovodev "What is 2+2?"

By default it parses the box-drawn "Response" section from the external acli rovodev run output and prints just that content.

Return raw stdout (including banners and box drawing) using -o raw:

llm -m rovodev -o raw true "What is 2+2?"

Notes:

  • The plugin executes an external CLI: acli rovodev run. Override the binary path via ACLI_BIN if needed (e.g. ACLI_BIN=/path/to/acli).
  • Advanced features are intentionally not supported: no API keys, no schemas, no tools, no attachments, no token usage tracking, etc.

Handling blank/no response from Rovo Dev CLI

This plugin relies on the external acli rovodev run to emit a box-drawn "Response" section on stdout. If no such Response block is found, the plugin will exit with an error:

Error: No Response block found in rovodev CLI output. Enable LLM_ROVODEV_DEBUG=1 to capture full logs or run the rovodev CLI directly to debug.

Notes and tips:

  • This can occur if the external CLI decides not to produce a response for certain inputs (for example multi-line or file-derived prompts).
  • Enable debug logging to capture full stdout/stderr from the subprocess and the exact command invoked: LLM_ROVODEV_DEBUG=1.
  • You can also run the underlying CLI directly to compare behavior: acli rovodev run "your prompt".
  • The -o raw option only changes how output is displayed when a Response block exists; it does not bypass the error on missing Response blocks. With LLM, booleans for -o are passed using two arguments, for example: -o raw true.

Debug logging

Enable verbose debug logs by setting LLM_ROVODEV_DEBUG=1 for a run. These logs include the effective command, redacted environment, verbatim prompt, timing info, and full stdout/stderr from the external CLI. By default logs go to stderr if your terminal is interactive.

To capture both logs and the normal model output into a file using shell redirection, enable debug and redirect stdout:

LLM_ROVODEV_DEBUG=1 llm -m rovodev "your prompt" > out.txt
  • When stdout is redirected (non-tty), the plugin automatically emits debug logs to stdout so > out.txt contains both logs and the model's output.
  • If you prefer logs to remain separate, keep using a TTY and redirect stderr only:
LLM_ROVODEV_DEBUG=1 llm -m rovodev "your prompt" 2> debug.log > out.txt

Development

To set up this plugin locally:

python3 -m venv venv
source venv/bin/activate
pip install -e .
pip install pytest
pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_rovodev-0.1.1.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_rovodev-0.1.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file llm_rovodev-0.1.1.tar.gz.

File metadata

  • Download URL: llm_rovodev-0.1.1.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for llm_rovodev-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d554e47479a0b7f56c5a806fa3385da7940f2aedcdbaefd1b651935b4f0d9c37
MD5 3d49b6dd3e5c9511fca358315ee22fdd
BLAKE2b-256 a8998771e7b970417702e1cbde1c9fe5f40432860071e8cc02d5b49268da8f29

See more details on using hashes here.

File details

Details for the file llm_rovodev-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: llm_rovodev-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for llm_rovodev-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d7216d9c7050edcc8fc157cc4879a86660840824a8ed266f33276f59061ead2b
MD5 5ae63f3d065633471887a32664c918dd
BLAKE2b-256 c98bb78e37d1adc14861b82092062ce3629778a5db482b93238aaa2847c6b163

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page