mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-09 04:08:10 +00:00
fix: Fix knowledge api report error when call create space api (#1784)
Co-authored-by: 张伟 <zhangwei01@xunfeng.cn>
This commit is contained in:
parent
9fe060a771
commit
5e85fd9077
@ -222,7 +222,7 @@ class AppModel(BaseModel):
|
|||||||
class SpaceModel(BaseModel):
|
class SpaceModel(BaseModel):
|
||||||
"""Space model."""
|
"""Space model."""
|
||||||
|
|
||||||
id: str = Field(
|
id: int = Field(
|
||||||
default=None,
|
default=None,
|
||||||
description="space id",
|
description="space id",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user