#ctrl-c #personal-assistant #client-streaming #repl #openai #chat #chat-client #chat-completion

app toi_client

A REPL client for streaming OpenAI-compliant chat completions

3 releases

Uses new Rust 2024

0.1.1 Jun 16, 2025
0.1.1-alpha.3 May 16, 2025
0.1.1-alpha.2 May 14, 2025

#1214 in Machine learning

Download history

151 downloads per month

Apache-2.0

26KB
456 lines

toi_client

A minimal, terminal-based chat client for interacting with a personal assistant server.

Features

  • Basic context size management based on token usage
  • CTRL+C to interrupt the response stream during a response
  • CTRL+C to clear the input buffer when it isn't empty
  • CTRL+C to exit when the input buffer is empty

Notable dependencies

Related artifacts

Acknowledgements

  • The streaming functionality is largely based on this demo

Dependencies

~12–28MB
~346K SLoC