File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ func psTable(ps []desktop.BackendStatus) string {
3939 if strings .HasPrefix (modelName , "sha256:" ) {
4040 modelName = modelName [7 :19 ]
4141 } else {
42- modelName = stripDefaultsFromModelName (modelName )
42+ modelName = stripDefaultsFromModelName (strings . ToLower ( modelName ) )
4343 }
4444
4545 table .Append ([]string {
Original file line number Diff line number Diff line change @@ -45,8 +45,7 @@ func TestE2E_CLI(t *testing.T) {
4545 if err != nil {
4646 t .Fatalf ("cli ps failed: %v\n output: %s" , err , out )
4747 }
48- // TODO: ps should return lowercased model names like ls does
49- if ! strings .Contains (strings .ToLower (out ), "smollm2" ) {
48+ if ! strings .Contains (out , "smollm2" ) {
5049 t .Errorf ("expected model in ps output, got:\n %s" , out )
5150 }
5251 if ! strings .Contains (out , bc .name ) {
You can’t perform that action at this time.
0 commit comments