Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#5081 from consistent-k/main
Browse files Browse the repository at this point in the history
chore: Remove useless judgment conditions
  • Loading branch information
Dogtiti authored Jul 22, 2024
2 parents 115f357 + dfd2a53 commit 4a0bef9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit 4a0bef9

Please sign in to comment.