Chore: remove unused fields (#15764)

This commit is contained in:
Yongtao Huang 2025-03-14 18:13:25 +08:00 committed by GitHub
parent 23ed3a520b
commit 433374abea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 17 deletions

View File

@ -1,11 +0,0 @@
from flask_restful import fields # type: ignore
from libs.helper import TimestampField
external_knowledge_api_query_detail_fields = {
"id": fields.String,
"name": fields.String,
"setting": fields.String,
"created_by": fields.String,
"created_at": TimestampField,
}

View File

@ -40,9 +40,3 @@ segment_fields = {
"stopped_at": TimestampField,
"child_chunks": fields.List(fields.Nested(child_chunk_fields)),
}
segment_list_response = {
"data": fields.List(fields.Nested(segment_fields)),
"has_more": fields.Boolean,
"limit": fields.Integer,
}