1
This commit is contained in:
parent
d118de25e4
commit
aeb70460bb
@ -74,7 +74,6 @@ var ModelRatio = map[string]float64{
|
||||
"text-moderation-latest": 0.1,
|
||||
"dall-e-2": 8, // $0.016 - $0.020 / image
|
||||
"dall-e-3": 20, // $0.040 - $0.120 / image
|
||||
"dall-e-3": 20,
|
||||
"claude-instant-1": 0.815,
|
||||
"claude-2": 5.51,
|
||||
"ERNIE-Bot": 0.8572,
|
||||
|
@ -12,7 +12,6 @@ import (
|
||||
"strconv"
|
||||
"sync"
|
||||
"time"
|
||||
"strings"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
|
@ -212,17 +212,15 @@ code {
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1200px) {
|
||||
@media only screen and (min-width: 1400px) {
|
||||
.main-content {
|
||||
width: 1300px !important;
|
||||
width: 1400px !important;
|
||||
}
|
||||
|
||||
.ui.menu .ui.container {
|
||||
height: 80px;
|
||||
font-size: 1em;
|
||||
width: 90% !important;
|
||||
/* 或者你想要设置的宽度 */
|
||||
/* padding: 0 !important; */
|
||||
width: 92% !important;
|
||||
}
|
||||
|
||||
.ui.menu .item>img:not(.ui) {
|
||||
@ -230,7 +228,6 @@ code {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.active-menu-item {
|
||||
background-color: var(--czl-grayD) !important;
|
||||
color: white !important;
|
||||
|
@ -124,19 +124,19 @@ const EditChannel = () => {
|
||||
}));
|
||||
setOriginModelOptions(localModelOptions);
|
||||
setFullOPENAIModels(res.data.data.filter((model) => {
|
||||
return (model.id.startsWith('gpt-') || model.id.startsWith('text-') || model.id.startsWith('dall-') || model.id.startsWith('whisper-') || model.id.startsWith('code-')) && !model.id.startsWith('text-embedding-v1');
|
||||
return (model.id.startsWith('gpt-') || model.id.startsWith('text-') || model.id.startsWith('dall-') || model.id.startsWith('whisper-') || model.id.startsWith('code-') || model.id.startsWith('tts-')) && !model.id.startsWith('text-embedding-v1');
|
||||
}).map((model) => model.id));
|
||||
|
||||
setfullNo32KOPENAIModels(res.data.data.filter((model) => {
|
||||
return (model.id.startsWith('gpt-') || model.id.startsWith('text-') || model.id.startsWith('dall-') || model.id.startsWith('whisper-') || model.id.startsWith('code-')) && !model.id.startsWith('text-embedding-v1') && !model.id.startsWith('gpt-4-32k');
|
||||
return (model.id.startsWith('gpt-') || model.id.startsWith('text-') || model.id.startsWith('dall-') || model.id.startsWith('whisper-') || model.id.startsWith('tts-') || model.id.startsWith('code-')) && !model.id.startsWith('text-embedding-v1') && !model.id.startsWith('gpt-4-32k');
|
||||
}).map((model) => model.id));
|
||||
|
||||
setBasicModels(res.data.data.filter((model) => {
|
||||
return (model.id.startsWith('gpt-3') || model.id.startsWith('text-') || model.id.startsWith('dall-') || model.id.startsWith('whisper-') || model.id.startsWith('code-')) && !model.id.startsWith('text-embedding-v1');
|
||||
return (model.id.startsWith('gpt-3') || model.id.startsWith('text-') || model.id.startsWith('dall-') || model.id.startsWith('whisper-') || model.id.startsWith('tts-') || model.id.startsWith('code-')) && !model.id.startsWith('text-embedding-v1');
|
||||
}).map((model) => model.id));
|
||||
|
||||
setBasicNoGPTModels(res.data.data.filter((model) => {
|
||||
return (model.id.startsWith('text-') || model.id.startsWith('dall-') || model.id.startsWith('whisper-') || model.id.startsWith('code-')) && !model.id.startsWith('text-embedding-v1');
|
||||
return (model.id.startsWith('text-') || model.id.startsWith('dall-') || model.id.startsWith('whisper-') || model.id.startsWith('tts-') || model.id.startsWith('code-')) && !model.id.startsWith('text-embedding-v1');
|
||||
}).map((model) => model.id));
|
||||
|
||||
} catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user