Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
a37b94a
init cozeloop idl for agent evaluator
HearyShen Feb 5, 2026
f60e53b
init cozeloop idl for agent evaluator
HearyShen Feb 5, 2026
5e52d26
init cozeloop idl for agent evaluator
HearyShen Feb 5, 2026
6cd39ff
init cozeloop idl for agent evaluator
HearyShen Feb 5, 2026
6f4abab
init cozeloop idl for agent evaluator
HearyShen Feb 5, 2026
7c8f305
Merge branch 'main' into feat/agent_evaluator
HearyShen Feb 5, 2026
1a484d0
EvaluatorExtraOutputContent require uri for reporting and url for sig…
HearyShen Feb 5, 2026
bb7d6e5
feat(evaluator): add async run and debug support for agent evaluator
HearyShen Feb 5, 2026
ccda7f2
feat(evaluator): add async debug result retrieval functionality
HearyShen Feb 5, 2026
9b7ba91
remove ext in AgentEvaluatorVersion DO
HearyShen Feb 6, 2026
5f71dc3
Merge branch 'main' into feat/agent_evaluator
HearyShen Feb 9, 2026
a3acc66
update mockgen and codegen
HearyShen Feb 9, 2026
50be157
feat(evaluator): add record creation for async evaluator runs
HearyShen Feb 9, 2026
6cec211
refactor(evaluator): remove async debug result endpoint and add api r…
HearyShen Feb 9, 2026
e69bd7b
refactor(evaluator): remove async debug result feature
HearyShen Feb 9, 2026
c0515ed
refactor(evaluator): remove unused GetAsyncRunResult method
HearyShen Feb 9, 2026
8ae3d69
feat(evaluation): add agent evaluator run failed error code
HearyShen Feb 9, 2026
8a09efd
fix
dsf86 Feb 9, 2026
5b103ed
异步执行评估器
dsf86 Feb 9, 2026
8bce90c
fix
dsf86 Feb 9, 2026
6878d5b
fix
dsf86 Feb 9, 2026
ec36a71
fix
dsf86 Feb 9, 2026
0134ed8
remove ReportEvaluatorInvokeProgress from idl considering its specifi…
HearyShen Feb 11, 2026
d77fee6
remove ReportEvaluatorInvokeProgress from idl considering its specifi…
HearyShen Feb 11, 2026
290ccad
add (api.js_conv="true") to i64 skill_id
HearyShen Feb 11, 2026
fb9ec2f
fox
dsf86 Feb 11, 2026
1115c55
Merge branch 'feat/agent_evaluator' of github.com:coze-dev/coze-loop …
dsf86 Feb 11, 2026
372fab0
fix
dsf86 Feb 11, 2026
d5d7df3
feat(redis): add LRange method to ListCmdable interface
HearyShen Feb 11, 2026
ba76ba8
feat(redis): add LRange method to redis provider
HearyShen Feb 11, 2026
eaecfd8
feat(evaluator): add extra output support and async run extensions
HearyShen Feb 11, 2026
d776ca0
feat(evaluator): add async evaluation context tracking
HearyShen Feb 12, 2026
b5ccb22
feat(redis): add LTrim command to ListCmdable interface
HearyShen Feb 12, 2026
eff15cd
feat(evaluation): add version field to SkillConfig
HearyShen Feb 12, 2026
d4364c6
refactor(evaluation): change SkillID type to pointer and update conve…
HearyShen Feb 12, 2026
95de3f0
feat(evaluation): add file client support for evaluator output
HearyShen Feb 12, 2026
80e55dd
fix loss idl path
HearyShen Feb 13, 2026
7ba3193
fix loss idl path
HearyShen Feb 13, 2026
7270b06
refactor(evaluator): optimize record update by using direct fields
HearyShen Feb 14, 2026
553d86b
refactor(evaluator): simplify authorization logic in GetEvaluatorRecord
HearyShen Feb 14, 2026
8adb801
feat(evaluator): add URI to URL transformation for extra output
HearyShen Feb 14, 2026
2716daf
feat(evaluator): add agent evaluator version support
HearyShen Feb 14, 2026
5c77efa
fix(evaluator): add missing opt parameter to DeleteEvaluatorTagsByCon…
HearyShen Feb 14, 2026
1d60f3c
refactor(evaluator): remove transaction wrapper for batch delete
HearyShen Feb 14, 2026
398e8fc
feat(evaluator): add support for agent type evaluator in batch get
HearyShen Feb 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ output/
# Files generated by IDEs
.idea/
*.iml
.trae/

# MacOS files
**/.DS_Store
Expand Down Expand Up @@ -59,4 +60,4 @@ backend/script/errorx/.env
.cursor/
.specify/
specs/
.puml
.puml
18 changes: 18 additions & 0 deletions backend/api/handler/coze/loop/apis/eval_open_apiservice.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions backend/api/handler/coze/loop/apis/evaluator_service.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions backend/api/handler/coze/loop/apis/evaluator_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ import (
// mockEvaluatorClient 实现 evaluatorservice.Client 的必要方法,返回空响应以通过渲染
type mockEvaluatorClient struct{}

func (m *mockEvaluatorClient) AsyncRunEvaluator(ctx context.Context, req *evaluator.AsyncRunEvaluatorRequest, callOptions ...callopt.Option) (r *evaluator.AsyncRunEvaluatorResponse, err error) {
return nil, nil
}

func (m *mockEvaluatorClient) AsyncDebugEvaluator(ctx context.Context, req *evaluator.AsyncDebugEvaluatorRequest, callOptions ...callopt.Option) (r *evaluator.AsyncDebugEvaluatorResponse, err error) {
return nil, nil
}

func (m *mockEvaluatorClient) ListEvaluators(ctx context.Context, req *evaluator.ListEvaluatorsRequest, callOptions ...callopt.Option) (r *evaluator.ListEvaluatorsResponse, err error) {
return &evaluator.ListEvaluatorsResponse{}, nil
}
Expand Down
5 changes: 3 additions & 2 deletions backend/api/handler/coze/loop/apis/wire_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions backend/api/router/coze/loop/apis/coze.loop.apis.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions backend/api/router/coze/loop/apis/middleware.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions backend/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/baidubce/bce-qianfan-sdk/go/qianfan v0.0.15
github.com/bytedance/gg v1.1.0
github.com/bytedance/gopkg v0.1.3
github.com/bytedance/sonic v1.14.2
github.com/bytedance/sonic v1.15.0
github.com/cenk/backoff v2.2.1+incompatible
github.com/cloudwego/eino v0.3.55
github.com/cloudwego/eino-ext/components/model/ark v0.1.8
Expand Down Expand Up @@ -133,12 +133,12 @@ require (
github.com/baidubce/bce-sdk-go v0.9.164 // indirect
github.com/bluele/gcache v0.0.2 // indirect
github.com/bufbuild/protocompile v0.8.0 // indirect
github.com/bytedance/sonic/loader v0.4.0 // indirect
github.com/bytedance/sonic/loader v0.5.0 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cloudwego/base64x v0.1.6 // indirect
github.com/cloudwego/configmanager v0.2.3 // indirect
github.com/cloudwego/dynamicgo v0.7.0 // indirect
github.com/cloudwego/dynamicgo v0.8.0 // indirect
github.com/cloudwego/fastpb v0.0.5 // indirect
github.com/cloudwego/frugal v0.3.0 // indirect
github.com/cloudwego/localsession v0.1.2 // indirect
Expand Down
12 changes: 6 additions & 6 deletions backend/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ github.com/bytedance/gopkg v0.1.3 h1:TPBSwH8RsouGCBcMBktLt1AymVo2TVsBVCY4b6TnZ/M
github.com/bytedance/gopkg v0.1.3/go.mod h1:576VvJ+eJgyCzdjS+c4+77QF3p7ubbtiKARP3TxducM=
github.com/bytedance/mockey v1.2.14 h1:KZaFgPdiUwW+jOWFieo3Lr7INM1P+6adO3hxZhDswY8=
github.com/bytedance/mockey v1.2.14/go.mod h1:1BPHF9sol5R1ud/+0VEHGQq/+i2lN+GTsr3O2Q9IENY=
github.com/bytedance/sonic v1.14.2 h1:k1twIoe97C1DtYUo+fZQy865IuHia4PR5RPiuGPPIIE=
github.com/bytedance/sonic v1.14.2/go.mod h1:T80iDELeHiHKSc0C9tubFygiuXoGzrkjKzX2quAx980=
github.com/bytedance/sonic/loader v0.4.0 h1:olZ7lEqcxtZygCK9EKYKADnpQoYkRQxaeY2NYzevs+o=
github.com/bytedance/sonic/loader v0.4.0/go.mod h1:AR4NYCk5DdzZizZ5djGqQ92eEhCCcdf5x77udYiSJRo=
github.com/bytedance/sonic v1.15.0 h1:/PXeWFaR5ElNcVE84U0dOHjiMHQOwNIx3K4ymzh/uSE=
github.com/bytedance/sonic v1.15.0/go.mod h1:tFkWrPz0/CUCLEF4ri4UkHekCIcdnkqXw9VduqpJh0k=
github.com/bytedance/sonic/loader v0.5.0 h1:gXH3KVnatgY7loH5/TkeVyXPfESoqSBSBEiDd5VjlgE=
github.com/bytedance/sonic/loader v0.5.0/go.mod h1:AR4NYCk5DdzZizZ5djGqQ92eEhCCcdf5x77udYiSJRo=
github.com/casbin/casbin/v2 v2.37.0/go.mod h1:vByNa/Fchek0KZUgG5wEsl7iFsiviAYKRtgrQfcJqHg=
github.com/cenk/backoff v2.2.1+incompatible h1:djdFT7f4gF2ttuzRKPbMOWgZajgesItGLwG5FTQKmmE=
github.com/cenk/backoff v2.2.1+incompatible/go.mod h1:7FtoeaSnHoZnmZzz47cM35Y9nSW7tNyaidugnHTaFDE=
Expand All @@ -198,8 +198,8 @@ github.com/cloudwego/base64x v0.1.6 h1:t11wG9AECkCDk5fMSoxmufanudBtJ+/HemLstXDLI
github.com/cloudwego/base64x v0.1.6/go.mod h1:OFcloc187FXDaYHvrNIjxSe8ncn0OOM8gEHfghB2IPU=
github.com/cloudwego/configmanager v0.2.3 h1:P0YTBgqDBnKeI/VARvut/Dc9Rfxt9Bw1Nv7sk0Ru4u8=
github.com/cloudwego/configmanager v0.2.3/go.mod h1:4GeSKjH6JLvKx4/Hrbh5dse8fDqj1n/Up8HfU4wHJ+w=
github.com/cloudwego/dynamicgo v0.7.0 h1:Z97rJ/FcccgZ16lzQaZU5X1yzg7yUy42uLRXafqpPXE=
github.com/cloudwego/dynamicgo v0.7.0/go.mod h1:f9le2ULWbFFkQ8WoP+7pGl1zEI2xRLZhaaif6ROLwDw=
github.com/cloudwego/dynamicgo v0.8.0 h1:G5rjZlmXGgORR6jGe6MXQ6JjlGSI+e3eo9a4aCJGjsQ=
github.com/cloudwego/dynamicgo v0.8.0/go.mod h1:otlgzHhn68GH0vlmCGE0EAwcLEV8+n4yrbpocJ8hk+s=
github.com/cloudwego/eino v0.3.55 h1:lMZrGtEh0k3qykQTLNXSXuAa98OtF2tS43GMHyvN7nA=
github.com/cloudwego/eino v0.3.55/go.mod h1:wUjz990apdsaOraOXdh6CdhVXq8DJsOvLsVlxNTcNfY=
github.com/cloudwego/eino-ext/components/model/ark v0.1.8 h1:QU0M01WNTVf/63cUjD6S/D1lB+ggvcVH4ntZ+XKg5Lo=
Expand Down
8 changes: 8 additions & 0 deletions backend/infra/redis/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ type SimpleCmdable interface {
StringCmdable
HashCmdable
SortedSetCmdable
ListCmdable

Del(ctx context.Context, keys ...string) *redis.IntCmd
Eval(ctx context.Context, script string, keys []string, args ...any) *redis.Cmd
Expand Down Expand Up @@ -69,6 +70,13 @@ type SortedSetCmdable interface {
ZRange(ctx context.Context, key string, start, stop int64) *redis.StringSliceCmd
}

// ListCmdable copy methods we need in [redis.ListCmdable]
type ListCmdable interface {
RPush(ctx context.Context, key string, values ...any) *redis.IntCmd
LRange(ctx context.Context, key string, start int64, stop int64) *redis.StringSliceCmd
LTrim(ctx context.Context, key string, start int64, stop int64) *redis.StatusCmd
}

type Pipeliner interface {
SimpleCmdable

Expand Down
19 changes: 19 additions & 0 deletions backend/infra/redis/mocks/persist_redis.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions backend/infra/redis/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,15 @@ func (p *provider) Pipeline() Pipeliner {
pipe := p.cli.Pipeline()
return pipe
}

func (p *provider) RPush(ctx context.Context, key string, values ...any) *redis.IntCmd {
return p.cli.RPush(ctx, key, values...)
}

func (p *provider) LRange(ctx context.Context, key string, start int64, stop int64) *redis.StringSliceCmd {
return p.cli.LRange(ctx, key, start, stop)
}

func (p *provider) LTrim(ctx context.Context, key string, start int64, stop int64) *redis.StatusCmd {
return p.cli.LTrim(ctx, key, start, stop)
}
6 changes: 6 additions & 0 deletions backend/kitex_gen/coze/loop/apis/evalopenapiservice/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading