refactor: update provisioning service references to use OpenClawGatewayProvisioner

This commit is contained in:
Abhimanyu Saharan
2026-02-10 23:31:14 +05:30
parent ad75871e61
commit 997d21c913
12 changed files with 985 additions and 978 deletions

View File

@@ -36,7 +36,7 @@ from app.services.openclaw.exceptions import (
)
from app.services.openclaw.internal import agent_key, with_coordination_gateway_retry
from app.services.openclaw.policies import OpenClawAuthorizationPolicy
from app.services.openclaw.provisioning import (
from app.services.openclaw.provisioning_db import (
LeadAgentOptions,
LeadAgentRequest,
OpenClawProvisioningService,
@@ -542,7 +542,9 @@ class GatewayCoordinationService(AbstractGatewayMessagingService):
board: Board,
message: str,
) -> tuple[Agent, bool]:
lead, lead_created = await OpenClawProvisioningService(self.session).ensure_board_lead_agent(
lead, lead_created = await OpenClawProvisioningService(
self.session
).ensure_board_lead_agent(
request=LeadAgentRequest(
board=board,
gateway=gateway,