Преглед на файлове

chore: Remove useless judgment conditions

consistent-k преди 1 година
родител
ревизия
dfd2a53129
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      app/constant.ts

+ 0 - 3
app/constant.ts

@@ -147,9 +147,6 @@ export const Baidu = {
     if (modelName === "ernie-3.5-8k") {
       endpoint = "completions";
     }
-    if (modelName === "ernie-speed-128k") {
-      endpoint = "ernie-speed-128k";
-    }
     if (modelName === "ernie-speed-8k") {
       endpoint = "ernie_speed";
     }