WIP v0.2.0: pannello /endpoint e nomi abbreviati dei modelli (in pausa, non compilato)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-11 21:27:36 +01:00
parent 1a3ab89277
commit 4da5b66563
41 changed files with 636 additions and 34 deletions

View File

@@ -162,6 +162,7 @@ fn model_list_screen() {
"gemma-3-4b-it".to_string(),
],
free: Vec::new(),
..Default::default()
})));
snapshot_all_widths("setup_model_list", &wizard, 14);
// The last row switches to manual entry.
@@ -331,6 +332,7 @@ fn long_model_list_filters_by_text_and_free_toggle() {
"qwen/qwen3-coder:free".to_string(),
"google/gemma-3-27b-it:free".to_string(),
],
..Default::default()
})));
assert!(
wizard.is_text_entry_active(),
@@ -353,6 +355,7 @@ fn long_model_list_filters_by_text_and_free_toggle() {
base_url: "https://openrouter.ai/api/v1".to_string(),
models: (0..20).map(|i| format!("m-{i}")).collect(),
free: Vec::new(),
..Default::default()
})));
type_text(&mut wizard, "zz");
let rendered = render(&wizard, 80, 16);