Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
09bd33f0
authored
Jan 21, 2025
by
HynoR
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 更新模型和模型倍率
parent
b604cab5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
common/model-ratio.go
+4
-1
relay/channel/deepseek/constants.go
+1
-1
No files found.
common/model-ratio.go
View file @
09bd33f0
...
...
@@ -401,10 +401,13 @@ func GetCompletionRatio(name string) float64 {
case
"command-r-plus-08-2024"
:
return
4
default
:
return
2
return
4
}
}
if
strings
.
HasPrefix
(
name
,
"deepseek"
)
{
if
name
==
"deepseek-reasoner"
{
return
4
}
return
2
}
if
strings
.
HasPrefix
(
name
,
"ERNIE-Speed-"
)
{
...
...
relay/channel/deepseek/constants.go
View file @
09bd33f0
package
deepseek
var
ModelList
=
[]
string
{
"deepseek-chat"
,
"deepseek-
cod
er"
,
"deepseek-chat"
,
"deepseek-
reason
er"
,
}
var
ChannelName
=
"deepseek"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment