|
|
@@ -107,7 +107,7 @@ public class AgentActionOrchestrator {
|
|
|
String idempotencyKey = "lock_" + taskId + "_" + slotId;
|
|
|
|
|
|
// Lock the slot for real (5-min expiry, remaining count decrement)
|
|
|
- HisSlotLockResult lockResult = mcpToolService.lockSchedule(slotId, traceId, idempotencyKey);
|
|
|
+ HisSlotLockResult lockResult = mcpToolService.lockSlot(slotId, traceId, idempotencyKey);
|
|
|
if (lockResult.getLockId() == null) {
|
|
|
return new OrchestrationResult(null, Map.of("message", lockResult.getMessage()));
|
|
|
}
|