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

@@ -126,7 +126,7 @@ func (s *singleAgentImpl) GetPublishConnectorList(ctx context.Context, agentID i
} else if v.ID == consts.APIConnectorID {
c.BindType = developer_api.BindType_ApiBind
// c.BindInfo = map[string]string{
// "sdk_version": "1.2.0-beta.6", // TODO@fanlv: 确认版本在哪读取?
// "sdk_version": "1.2.0 -beta.6",//TODO (@fanlv): Where to check the version?
// }
c.AuthLoginInfo = &developer_api.AuthLoginInfo{}
}

View File

@@ -288,7 +288,7 @@ func (s *singleAgentImpl) ListAgentPublishHistory(ctx context.Context, agentID i
maxCount = pageSize * pageIndex
)
// 全量拉取符合条件的记录
// Pull all eligible records
for {
pageData, err := s.AgentVersionRepo.List(ctx, agentID, currentPage, 50)
if err != nil {
@@ -298,7 +298,7 @@ func (s *singleAgentImpl) ListAgentPublishHistory(ctx context.Context, agentID i
break
}
// 过滤当前页数据
// Filter current page data
for _, item := range pageData {
for _, cID := range item.ConnectorIds {
if cID == *connectorID {