Skip to content

Commit a5b8b47

Browse files
committed
fix: fix collection type
1 parent ba268aa commit a5b8b47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskingai/client/models/schemas/collection_create_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
class CollectionCreateRequest(BaseModel):
2424
name: str = Field("")
25-
type: CollectionType = Field("text")
25+
type: CollectionType = Field(CollectionType.TEXT)
2626
description: str = Field("")
2727
capacity: int = Field(1000)
2828
embedding_model_id: str = Field(...)

0 commit comments

Comments
 (0)