Merge branch 'refs/heads/feat-statistic-info'
This commit is contained in:
commit
58b3d45434
|
|
@ -61,7 +61,7 @@ func GetAIStreamModelMsgCount() ([]AIStreamMsgModelIDCount, error) {
|
||||||
return nil, db2.Error
|
return nil, db2.Error
|
||||||
}
|
}
|
||||||
//获取模型名称
|
//获取模型名称
|
||||||
for i := 0; i < len(aiStreamMsgModelIDCounts); i++ {
|
for i, _ := range aiStreamMsgModelIDCounts {
|
||||||
modelName := FindModelByIDV2(int(aiStreamMsgModelIDCounts[i].ModelID))
|
modelName := FindModelByIDV2(int(aiStreamMsgModelIDCounts[i].ModelID))
|
||||||
aiStreamMsgModelIDCounts[i].ModelName = modelName[0].Description
|
aiStreamMsgModelIDCounts[i].ModelName = modelName[0].Description
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue