mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-17 18:35:19 +02:00
chore: linting
This commit is contained in:
parent
cea8618aed
commit
bdb97a0888
4 changed files with 16 additions and 3 deletions
|
|
@ -98,6 +98,7 @@ def _compute_turn_cancelling_retry_delay(attempt: int) -> int:
|
|||
|
||||
def _first_interrupt_value(state: Any) -> dict[str, Any] | None:
|
||||
"""Return the first LangGraph interrupt payload across all snapshot tasks."""
|
||||
|
||||
def _extract_interrupt_value(candidate: Any) -> dict[str, Any] | None:
|
||||
if isinstance(candidate, dict):
|
||||
value = candidate.get("value", candidate)
|
||||
|
|
|
|||
|
|
@ -564,4 +564,6 @@ async def test_interrupt_request_uses_task_that_contains_interrupt(
|
|||
|
||||
interrupts = _of_type(payloads, "data-interrupt-request")
|
||||
assert len(interrupts) == 1
|
||||
assert interrupts[0]["data"]["action_requests"][0]["name"] == "create_calendar_event"
|
||||
assert (
|
||||
interrupts[0]["data"]["action_requests"][0]["name"] == "create_calendar_event"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -9,6 +9,16 @@
|
|||
"enabled": true,
|
||||
"status": "warning",
|
||||
"statusMessage": "Some requests may be blocked if not using Firecrawl."
|
||||
},
|
||||
"JIRA_CONNECTOR": {
|
||||
"enabled": false,
|
||||
"status": "maintenance",
|
||||
"statusMessage": "Rework in progress."
|
||||
},
|
||||
"CONFLUENCE_CONNECTOR": {
|
||||
"enabled": false,
|
||||
"status": "maintenance",
|
||||
"statusMessage": "Rework in progress."
|
||||
}
|
||||
},
|
||||
"globalSettings": {
|
||||
|
|
|
|||
|
|
@ -105,14 +105,14 @@ export const OAUTH_CONNECTORS = [
|
|||
{
|
||||
id: "jira-connector",
|
||||
title: "Jira",
|
||||
description: "Search, read, and manage issues",
|
||||
description: "Rework in progress.",
|
||||
connectorType: EnumConnectorName.JIRA_CONNECTOR,
|
||||
authEndpoint: "/api/v1/auth/mcp/jira/connector/add/",
|
||||
},
|
||||
{
|
||||
id: "confluence-connector",
|
||||
title: "Confluence",
|
||||
description: "Search documentation",
|
||||
description: "Rework in progress.",
|
||||
connectorType: EnumConnectorName.CONFLUENCE_CONNECTOR,
|
||||
authEndpoint: "/api/v1/auth/confluence/connector/add/",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue