vtcode 0.98.7

A Rust-based terminal coding agent with modular architecture supporting multiple LLM providers
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use clap::CommandFactory;
use vtcode_core::cli::args::Cli;
use vtcode_core::cli::help::openai_responses_models_help;

#[test]
fn help_includes_responses_models_list() {
    let mut cmd = Cli::command();
    let help_extra = openai_responses_models_help();
    let help_box: Box<str> = help_extra.into_boxed_str();
    let help_static: &'static str = Box::leak(help_box);
    cmd = cmd.after_help(help_static);
    let mut out: Vec<u8> = Vec::new();
    cmd.write_long_help(&mut out).unwrap();
    let s = String::from_utf8(out).unwrap();
    assert!(s.contains(vtcode_core::config::constants::models::openai::GPT_5));
}