Skip to content

Nio v0.1.254

Choose a tag to compare

@luisMan luisMan released this 22 Oct 20:17
· 2 commits to main since this release

Nio v0.1.254

Local models such as Qwen through Ollama work much better in Nio, and on
Windows a command that prints to stderr no longer looks like it failed.

What changed

  • Requests go to a model that can answer. If a task's model (for a
    role or a level of difficulty) belongs to a provider you have no key for,
    Nio now uses a configured model instead. With a local model as your only
    provider, every step runs on it. Before, a complex request could go to a
    hosted model you hadn't set up and fail three times.
  • Prompts fit a local model's context window. For a model on a local
    server, each step's prompt is sized to the context Nio asks Ollama for
    (NIO_LOCAL_GPU_NUM_CTX, 32K tokens by default), leaving room for the
    reply. Before, prompts could be larger than the window, and the model
    lost the start of them: the task and the tool rules.
  • Reading a file through the shell is a file read. When the model
    prints part of a project file with a shell command (Get-Content, also
    with Select-Object -Index, cat, type, head -n, sed -n), Nio
    reads it with its file tool: no approval prompt, correct UTF-8, and no
    extra process. Commands that do more than print a file run as before.
  • Read-only commands don't ask inside the project. Searches and
    listings (rg, ls, git status, git diff, git log) no longer
    need approval in manual mode, the same as file reads. Commands that
    change anything, or reach outside the project, still ask.
  • Re-reading isn't progress. Reading lines the model has already seen,
    in a file that hasn't changed, no longer counts as progress, so Nio's
    "you keep re-reading" nudge and stop now apply to paged reads too.
  • Errors are looked up in your project before the web. When a command
    keeps failing with the same error, Nio first finds the names the error
    mentions (a module, a function, a file) in your project and shows the
    model where they appear. It searches the web only when the project has
    nothing on them, or the error survives that. Text that only looks like
    an error, like except Exception: in a file the model printed, no
    longer starts a web search.
  • PowerShell stderr no longer looks like failure (Windows). In Windows
    PowerShell 5.1, a program's stderr under 2>&1 came out wrapped as
    PowerShell errors, and a passing run such as python -m unittest 2>&1
    was reported as failed. Nio now shows those lines as the program printed
    them and keeps the program's own exit code. Real PowerShell errors still
    fail.

Install

Windows PowerShell:

powershell -c "irm https://github.com/luisMan/Nio/releases/download/v0.1.254/nio-installer.ps1 | iex"

macOS and Linux:

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/luisMan/Nio/releases/download/v0.1.254/nio-installer.sh | sh

If you have v0.1.195 or later, Nio offers this update when it starts, or
run nio update.

Downloads

Each native archive and the MSI include a SHA-256 sidecar. Publishing this
release does not reset account token limits.