summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2025-02-10 22:22:55 +0800
committerGitHub <noreply@github.com>2025-02-10 22:22:55 +0800
commit3c21fac3665698bec860a49a66f5967e4449dc95 (patch)
tree11b7f3cface6b3cd2581c332f0489e69e8af4837 /src
parent78f3d4ff49679da251a035f783d5b8380730cce5 (diff)
downloadaichat-3c21fac3665698bec860a49a66f5967e4449dc95.tar.gz
refactor: several improvements (#1166)
Diffstat (limited to 'src')
-rw-r--r--src/client/common.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/common.rs b/src/client/common.rs
index 99b84b9..4db87f2 100644
--- a/src/client/common.rs
+++ b/src/client/common.rs
@@ -561,7 +561,7 @@ async fn set_client_models_config(client_config: &mut Value, client: &str) -> Re
.await
{
Ok(fetched_models) => {
- model_names = MultiSelect::new("LLM models (required):", fetched_models)
+ model_names = MultiSelect::new("LLMs to include (required):", fetched_models)
.with_validator(|list: &[ListOption<&String>]| {
if list.is_empty() {
Ok(Validation::Invalid(
@@ -580,7 +580,7 @@ async fn set_client_models_config(client_config: &mut Value, client: &str) -> Re
}
if model_names.is_empty() {
model_names = prompt_input_string(
- "LLM models",
+ "LLMs to add",
true,
Some("Separated by commas, e.g. llama3.3,qwen2.5"),
)?