Skip to content

Commit 3c969bb

Browse files
authored
[feat][backend]: add pe call type (#146)
feat(background): add pe call type
1 parent 12fdff8 commit 3c969bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/modules/observability/domain/trace/service/trace/span_filter/prompt_filter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (p *PromptFilter) BuildBasicSpanFilter(ctx context.Context, env *SpanEnv) (
2828
{
2929
FieldName: loop_span.SpanFieldCallType,
3030
FieldType: loop_span.FieldTypeString,
31-
Values: []string{"PromptPlayground", "PromptDebug"},
31+
Values: []string{"PromptPlayground", "PromptDebug", "PTaaS"},
3232
QueryType: ptr.Of(loop_span.QueryTypeEnumIn),
3333
},
3434
}, false, nil

backend/modules/observability/domain/trace/service/trace/span_filter/prompt_filter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func TestPromptFilter_BuildBasicSpanFilter(t *testing.T) {
3535
{
3636
FieldName: loop_span.SpanFieldCallType,
3737
FieldType: loop_span.FieldTypeString,
38-
Values: []string{"PromptPlayground", "PromptDebug"},
38+
Values: []string{"PromptPlayground", "PromptDebug", "PTaaS"},
3939
QueryType: ptr.Of(loop_span.QueryTypeEnumIn),
4040
},
4141
},

0 commit comments

Comments
 (0)