Skip to main content

Console UI components for LLM Workers - interactive chat interface and rich terminal output

Project description

llm-workers-console

Console UI components for LLM Workers - interactive chat interface and rich terminal output.

Overview

llm-workers-console provides the user interface components for LLM Workers:

  • ChatSession: Interactive chat interface with command system
  • ConsoleController: Rich terminal output with markdown rendering, syntax highlighting, and streaming
  • ChatCompleter: Auto-completion for slash commands and file paths

Installation

pip install llm-workers-console

This package depends on llm-workers (core library).

Features

  • Interactive Chat: Multi-line input with history, command completion
  • Rich Output: Markdown rendering, syntax highlighting, streaming responses
  • Chat Commands: /help, /rewind, /model, /display, /cost, /export, /save, /clear, /exit
  • Session Management: Save and resume chat sessions
  • Token Usage Display: Real-time token tracking and cost estimation
  • File Monitoring: Auto-open changed files during chat

Usage

Programmatic Usage

from llm_workers_console import chat_with_llm_script

# Start an interactive chat session
chat_with_llm_script("my-script.yaml")

With Command-Line Tool

For command-line usage, install llm-workers-tools:

pip install llm-workers-tools
llm-workers-chat my-script.yaml

Documentation

Full documentation: https://mrbagheera.github.io/llm-workers/

License

See main repository for license information.

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_workers_console-1.0.0rc8.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

llm_workers_console-1.0.0rc8-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file llm_workers_console-1.0.0rc8.tar.gz.

File metadata

  • Download URL: llm_workers_console-1.0.0rc8.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.4 Darwin/23.6.0

File hashes

Hashes for llm_workers_console-1.0.0rc8.tar.gz
Algorithm Hash digest
SHA256 f4fa6b478fa07eecfe962f1808c5b6a76573720bc41642823e91e9508f1caaa1
MD5 3c086b627749054dd72b17a7475e46fd
BLAKE2b-256 8766c1ece3a397890a69b7f124ac9a65cef20f444573f293e3bec8f3e1d373f2

See more details on using hashes here.

File details

Details for the file llm_workers_console-1.0.0rc8-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_workers_console-1.0.0rc8-py3-none-any.whl
Algorithm Hash digest
SHA256 559e506328f935c54557d0b7c37aaba33af908e73e9e54a63981d2fba44dba0f
MD5 38ad883247bc3b2283bb5fb78fd9957c
BLAKE2b-256 9ad07d68241d9949e16d5880cbf3e5e97cd88d517c8362c569e96c45fd4d7054

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