Skip to content

Commit

Permalink
Update stepfun.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
LovelyGuYiMeng authored Aug 30, 2024
1 parent 66b3c51 commit cb87d54
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/config/modelProviders/stepfun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,41 @@ import { ModelProviderCard } from '@/types/llm';
// ref https://platform.stepfun.com/docs/llm/text
const Stepfun: ModelProviderCard = {
chatModels: [
{
id: 'step-2-16k-nightly',
tokens: 16_384,
},
{
enabled: true,
id: 'step-1-256k',
tokens: 32_768,
tokens: 256_000,
},
{
enabled: true,
id: 'step-1-128k',
tokens: 32_768,
tokens: 128_000,
},
{
enabled: true,
id: 'step-1-32k',
tokens: 32_768,
},
{
enabled: true,
id: 'step-1-8k',
tokens: 8192,
},
{
enabled: true,
id: 'step-1v-32k',
tokens: 32_768,
vision: true,
},
{
id: 'step-1-8k',
enabled: true,
id: 'step-1v-8k',
tokens: 8192,
vision: true,
},
],
checkModel: 'step-1-8k',
Expand Down

0 comments on commit cb87d54

Please sign in to comment.