chore: replace all cn comments to en version by volc api (#313)

This commit is contained in:
tecvan
2025-07-31 15:18:11 +08:00
committed by GitHub
parent 91d6cdb430
commit 5abc63fba6
254 changed files with 5899 additions and 5844 deletions

View File

@@ -39,7 +39,7 @@ var ModelmgrApplicationSVC = &ModelmgrApplicationService{}
func (m *ModelmgrApplicationService) GetModelList(ctx context.Context, _ *developer_api.GetTypeListRequest) (
resp *developer_api.GetTypeListResponse, err error,
) {
// 一般不太可能同时配置这么多模型
// It is generally not possible to configure so many models simultaneously
const modelMaxLimit = 300
modelResp, err := m.Mgr.ListModel(ctx, &modelmgr.ListModelRequest{
@@ -121,7 +121,7 @@ func modelDo2To(model *modelmgr.Model, locale i18n.Locale) (*developer_api.Model
ModelTagList: nil,
IsUpRequired: nil,
ModelBriefDesc: model.Description.Read(locale),
ModelSeries: &developer_api.ModelSeriesInfo{ // TODO: 替换为真实配置
ModelSeries: &developer_api.ModelSeriesInfo{ // TODO: Replace with real configuration
SeriesName: "热门模型",
},
ModelStatusDetails: nil,