Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .github/social-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
370 changes: 206 additions & 164 deletions README.md

Large diffs are not rendered by default.

Binary file removed Screenshot 2025-07-08 185410.png
Binary file not shown.
Binary file removed Screenshot 2025-07-09 015940.png
Binary file not shown.
Binary file removed Screenshot 2025-07-12 161852.png
Binary file not shown.
12 changes: 12 additions & 0 deletions assets/hero.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/terminal-table.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/terminal-visual.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/web-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added docs/.nojekyll
Empty file.
12 changes: 12 additions & 0 deletions docs/assets/hero.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/social-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/assets/terminal-table.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/assets/terminal-visual.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/web-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
242 changes: 242 additions & 0 deletions docs/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/mock_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {

println!("prompt: {prompt}");
println!("transform: {transform:?} (applied to every other token)\n");
println!("{:>3} {:<24} {:<24} {:>6} {:>6}", "#", "original", "shown", "conf", "ppl");
println!("{}", "-".repeat(68));
println!("{:>3} {:<27} {:<27} {:>6} {:>6}", "#", "original", "shown", "conf", "ppl");
println!("{}", "-".repeat(74));

let mut original = String::new();
let mut shown = String::new();
while let Ok(ev) = rx.try_recv() {
println!(
"{:>3} {:<24} {:<24} {:>6} {:>6}{}",
"{:>3} {:<27} {:<27} {:>6} {:>6}{}",
ev.index,
format!("{:?}", ev.original),
format!("{:?}", ev.text),
Expand Down
4 changes: 4 additions & 0 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ pub struct Args {
#[arg(long, default_value = "8888")]
pub port: u16,

/// With --web, do not open a browser tab automatically
#[arg(long)]
pub no_open: bool,

/// Enable headless research mode — runs N times and outputs JSON stats
#[arg(long)]
pub research: bool,
Expand Down
Loading
Loading