Skip to content

v0.45.0 — multi-line REPL input

Choose a tag to compare

@gobha-me gobha-me released this 21 Jul 19:04

Multi-line input for the chat/code REPL (#65)

The venice chat / venice code REPL read one line per turn, so a pasted multi-line prompt was submitted at the first Enter and everything after the first newline was lost. Two new composition commands fix this (both venice chat and venice code, via the shared REPL loop):

  • /paste/end — block mode: type or paste as many lines as you like (indentation preserved), then /end to send or /cancel to abort.
  • /edit [text] — compose your next message in $EDITOR (like git commit); optional inline text pre-seeds the buffer. Empty buffer, non-zero editor exit, or a missing editor all abort cleanly.

No new CLI flags or config — purely REPL slash commands. Tab-completion and /help updated.