File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,29 @@ pub struct ModelPreset {
1919///
2020/// Keep this UI-agnostic so it can be reused by both TUI and MCP server.
2121pub fn builtin_model_presets ( ) -> & ' static [ ModelPreset ] {
22- // Order reflects effort from minimal to high.
22+ // Order groups swiftfox variants before gpt-5 presets, each from minimal to high.
2323 const PRESETS : & [ ModelPreset ] = & [
24+ ModelPreset {
25+ id : "swiftfox-low" ,
26+ label : "swiftfox low" ,
27+ description : "" ,
28+ model : "swiftfox-low" ,
29+ effort : None ,
30+ } ,
31+ ModelPreset {
32+ id : "swiftfox-medium" ,
33+ label : "swiftfox medium" ,
34+ description : "" ,
35+ model : "swiftfox-medium" ,
36+ effort : None ,
37+ } ,
38+ ModelPreset {
39+ id : "swiftfox-high" ,
40+ label : "swiftfox high" ,
41+ description : "" ,
42+ model : "swiftfox-high" ,
43+ effort : None ,
44+ } ,
2445 ModelPreset {
2546 id : "gpt-5-minimal" ,
2647 label : "gpt-5 minimal" ,
@@ -49,27 +70,6 @@ pub fn builtin_model_presets() -> &'static [ModelPreset] {
4970 model : "gpt-5" ,
5071 effort : Some ( ReasoningEffort :: High ) ,
5172 } ,
52- ModelPreset {
53- id : "swiftfox-low" ,
54- label : "swiftfox low" ,
55- description : "— balances speed with some reasoning; useful for straightforward queries and short explanations" ,
56- model : "swiftfox-low" ,
57- effort : None ,
58- } ,
59- ModelPreset {
60- id : "swiftfox-medium" ,
61- label : "swiftfox medium" ,
62- description : "— default setting; provides a solid balance of reasoning depth and latency for general-purpose tasks" ,
63- model : "swiftfox-medium" ,
64- effort : None ,
65- } ,
66- ModelPreset {
67- id : "swiftfox-high" ,
68- label : "swiftfox high" ,
69- description : "" ,
70- model : "swiftfox-high" ,
71- effort : None ,
72- } ,
7373 ] ;
7474 PRESETS
7575}
You can’t perform that action at this time.
0 commit comments