Skip to content

Commit

Permalink
fix: yi
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Dec 30, 2024
1 parent f60395c commit 53d59c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions service/aiproxy/relay/adaptor/lingyiwanwu/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ var ModelList = []*model.ModelConfig{
RPM: 60,
Config: model.NewModelConfig(
model.WithModelConfigMaxContextTokens(16384),
model.WithModelConfigToolChoice(true),
),
},
{
Expand All @@ -28,6 +29,8 @@ var ModelList = []*model.ModelConfig{
RPM: 60,
Config: model.NewModelConfig(
model.WithModelConfigMaxContextTokens(16384),
model.WithModelConfigVision(true),
model.WithModelConfigToolChoice(true),
),
},
}

0 comments on commit 53d59c6

Please sign in to comment.