mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-12 20:53:48 +00:00
fix(core): Fix param cache error
This commit is contained in:
@@ -814,7 +814,7 @@ def _parse_domain_type(dialogue: ConversationVo) -> Optional[str]:
|
||||
)
|
||||
else:
|
||||
spaces = knowledge_service.get_knowledge_space(
|
||||
KnowledgeSpaceRequest(id=dialogue.select_param)
|
||||
KnowledgeSpaceRequest(name=dialogue.select_param)
|
||||
)
|
||||
if len(spaces) == 0:
|
||||
raise ValueError(f"Knowledge space {dialogue.select_param} not found")
|
||||
|
Reference in New Issue
Block a user