Skip to content

Commit

Permalink
fix: fix SparkDesk model name
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Feb 18, 2024
1 parent f598b9d commit 6cf5ce9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions relay/channel/xunfei/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package xunfei

var ModelList = []string{
"SparkDesk",
"SparkDesk-v1.5",
"SparkDesk-v2.0",
"SparkDesk-v3.0",
"SparkDesk-v1.1",
"SparkDesk-v2.1",
"SparkDesk-v3.1",
"SparkDesk-v3.5",
}
8 changes: 4 additions & 4 deletions web/berry/src/views/Channel/type/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ const typeConfig = {
input: {
models: [
"SparkDesk",
"SparkDesk-v1.5",
"SparkDesk-v2.0",
"SparkDesk-v3.0",
"SparkDesk-v3.5"
'SparkDesk-v1.1',
'SparkDesk-v2.1',
'SparkDesk-v3.1',
'SparkDesk-v3.5'
],
},
prompt: {
Expand Down
6 changes: 3 additions & 3 deletions web/default/src/pages/Channel/EditChannel.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ const EditChannel = () => {
case 18:
localModels = [
'SparkDesk',
'SparkDesk-v1.5',
'SparkDesk-v2.0',
'SparkDesk-v3.0',
'SparkDesk-v1.1',
'SparkDesk-v2.1',
'SparkDesk-v3.1',
'SparkDesk-v3.5'
];
break;
Expand Down

0 comments on commit 6cf5ce9

Please sign in to comment.