fix: register Linear tools in TOOLS_WITH_UI and make GraphQL calls async

- Add create_linear_issue, update_linear_issue, delete_linear_issue to
  TOOLS_WITH_UI so the HIL approval cards are correctly dispatched to
  the Linear tool-ui components (without this the interrupt cards were
  never rendered)
- Replace blocking requests.post with httpx.AsyncClient in
  LinearConnector.execute_graphql_query to avoid stalling the asyncio
  event loop during live streaming; remove now-unused requests import
This commit is contained in:
CREDO23 2026-02-19 15:53:59 +02:00
parent 9b838ec015
commit 2f9768b371
2 changed files with 7 additions and 2 deletions

View file

@ -148,6 +148,9 @@ const TOOLS_WITH_UI = new Set([
"scrape_webpage",
"create_notion_page",
"update_notion_page",
"create_linear_issue",
"update_linear_issue",
"delete_linear_issue",
// "write_todos", // Disabled for now
]);