Skip to content

Commit 2c78ede

Browse files
tpfzxueyizheng
authored andcommitted
Revert "增加BatchCheckOptimizeTaskFree"
This reverts commit ea002c3.
1 parent f2d5450 commit 2c78ede

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

backend/modules/evaluation/domain/component/rpc/prompt.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ type IPromptRPCAdapter interface {
1616
ListPrompt(ctx context.Context, param *ListPromptParam) (prompts []*LoopPrompt, total *int32, err error)
1717
ListPromptVersion(ctx context.Context, param *ListPromptVersionParam) (prompts []*CommitInfo, nextCursor string, err error)
1818
ExecutePrompt(ctx context.Context, spaceID int64, param *ExecutePromptParam) (result *ExecutePromptResult, err error)
19-
BatchCheckOptimizeTaskFree(ctx context.Context, spaceID int64, arkTaskIDs []string) (map[string]bool, error)
2019
}
2120

2221
type ExecutePromptParam struct {

backend/modules/evaluation/infra/rpc/prompt/prompt.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ type PromptRPCAdapter struct {
2626
executeClient promptexecuteservice.Client
2727
}
2828

29-
func (p PromptRPCAdapter) BatchCheckOptimizeTaskFree(ctx context.Context, spaceID int64, arkTaskIDs []string) (map[string]bool, error) {
30-
return nil, nil // 商业化专有逻辑
31-
}
32-
3329
func NewPromptRPCAdapter(client promptmanageservice.Client, executeClient promptexecuteservice.Client) rpc.IPromptRPCAdapter {
3430
return &PromptRPCAdapter{
3531
client: client,

0 commit comments

Comments
 (0)