fix(kanban): reject toolset names in task skills

This commit is contained in:
LeonSGP43 2026-05-10 10:16:25 +08:00 committed by Teknium
parent a91e5a8759
commit 673418dfa1
4 changed files with 39 additions and 0 deletions

View file

@ -611,6 +611,8 @@ def _handle_create(args: dict, **kw) -> str:
)
finally:
conn.close()
except ValueError as e:
return tool_error(f"kanban_create: {e}")
except Exception as e:
logger.exception("kanban_create failed")
return tool_error(f"kanban_create: {e}")