From 8ab57ed74ea67d3f023aa0fcd695cb107b676501 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 20 Apr 2024 21:07:30 +0800 Subject: refactor: update description for cli options and config fields (#423) --- src/config/mod.rs | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/config') diff --git a/src/config/mod.rs b/src/config/mod.rs index 2a3a866..9b771ec 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -44,52 +44,30 @@ const CLIENTS_FIELD: &str = "clients"; #[derive(Debug, Clone, Deserialize)] #[serde(default)] pub struct Config { - /// LLM model #[serde(rename(serialize = "model", deserialize = "model"))] pub model_id: Option, - /// LLM temperature pub temperature: Option, - /// Dry-run flag pub dry_run: bool, - /// Whether to save the message pub save: bool, - /// Whether to save the session pub save_session: Option, - /// Whether to disable highlight pub highlight: bool, - /// Whether to use a light theme pub light_theme: bool, - /// Specify the text-wrapping mode (no, auto, ) pub wrap: Option, - /// Whether wrap code block pub wrap_code: bool, - /// Automatically copy the last output to the clipboard pub auto_copy: bool, - /// REPL keybindings. (emacs, vi) pub keybindings: Keybindings, - /// Set a default role or session (role:, session:) pub prelude: Option, - /// Command that will be used to edit the current line buffer pub buffer_editor: Option, - /// Compress session if tokens exceed this value (>=1000) pub compress_threshold: usize, - /// The prompt for summarizing session messages pub summarize_prompt: String, - // The prompt for the summary of the session pub summary_prompt: String, - /// REPL left prompt pub left_prompt: String, - /// REPL right prompt pub right_prompt: String, - /// Setup clients pub clients: Vec, - /// Predefined roles #[serde(skip)] pub roles: Vec, - /// Current selected role #[serde(skip)] pub role: Option, - /// Current session #[serde(skip)] pub session: Option, #[serde(skip)] -- cgit v1.2.3