Prechádzať zdrojové kódy

chore: Remove useless judgment conditions

consistent-k 1 rok pred
rodič
commit
dfd2a53129
1 zmenil súbory, kde vykonal 0 pridanie a 3 odobranie
  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";
     }