Skip to content

Commit f2abe44

Browse files
committed
fix(evaluation): expt itemretry idl tag
1 parent caae357 commit f2abe44

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

backend/modules/evaluation/domain/service/expt_manage_execution_impl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ func (e *ExptMangerImpl) LogRetryItemsRun(ctx context.Context, exptID int64, mod
10131013
}
10141014

10151015
if rl == nil {
1016-
return 0, false, errorx.Wrapf(err, "target runlog %v not found, expt_id: %v", runID, exptID)
1016+
return 0, false, errorx.New("target runlog %v not found, expt_id: %v", runID, exptID)
10171017
}
10181018

10191019
if err := rl.AppendItemIDs(itemIDs); err != nil {

idl/thrift/coze/loop/evaluation/coze.loop.evaluation.expt.thrift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct CreateExperimentRequest {
3636
41: optional bool enable_weighted_score (api.body = 'enable_weighted_score', go.tag='json:"enable_weighted_score"')
3737
42: optional map<i64, double> evaluator_score_weights (api.body = 'evaluator_score_weights', go.tag='json:"evaluator_score_weights"')
3838
43: optional i64 expt_template_id (api.body='expt_template_id',api.js_conv='true', go.tag='json:"expt_template_id"')
39-
45: optional i32 item_retry_num (api.boy = 'item_retry_num')
39+
45: optional i32 item_retry_num (api.body = 'item_retry_num')
4040

4141
200: optional common.Session session
4242

@@ -75,7 +75,7 @@ struct SubmitExperimentRequest {
7575
// 是否启用评估器得分加权汇总,以及各评估器的权重配置(key 为 evaluator_version_id,value 为权重)
7676
41: optional bool enable_weighted_score (api.body = 'enable_weighted_score', go.tag='json:"enable_weighted_score"')
7777
42: optional i64 expt_template_id (api.body='expt_template_id',api.js_conv='true', go.tag='json:"expt_template_id"')
78-
45: optional i32 item_retry_num (api.boy = 'item_retry_num')
78+
45: optional i32 item_retry_num (api.body = 'item_retry_num')
7979

8080
100: optional map<string, string> ext (api.body = 'ext')
8181

idl/thrift/coze/loop/evaluation/coze.loop.evaluation.openapi.thrift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ struct SubmitExperimentOApiRequest {
346346
20: optional i32 item_concur_num (api.body = 'item_concur_num')
347347
22: optional common.RuntimeParam target_runtime_param (api.body = 'target_runtime_param')
348348

349-
45: optional i32 item_retry_num (api.boy = 'item_retry_num')
349+
45: optional i32 item_retry_num (api.body = 'item_retry_num')
350350

351351
255: optional base.Base Base
352352
}

0 commit comments

Comments
 (0)