From 5e85fd90778f9d539d28dd616961abb7a844259f Mon Sep 17 00:00:00 2001 From: Wei Zhang Date: Wed, 7 Aug 2024 14:18:23 +0800 Subject: [PATCH] fix: Fix knowledge api report error when call create space api (#1784) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 张伟 --- dbgpt/client/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbgpt/client/schema.py b/dbgpt/client/schema.py index cbdca9cfd..8c374d926 100644 --- a/dbgpt/client/schema.py +++ b/dbgpt/client/schema.py @@ -222,7 +222,7 @@ class AppModel(BaseModel): class SpaceModel(BaseModel): """Space model.""" - id: str = Field( + id: int = Field( default=None, description="space id", )