petter2025 commited on
Commit
f51f76a
·
verified ·
1 Parent(s): 0fedfbd

Update core/true_arf_orchestrator.py

Browse files
Files changed (1) hide show
  1. core/true_arf_orchestrator.py +9 -9
core/true_arf_orchestrator.py CHANGED
@@ -1,6 +1,6 @@
1
  """
2
  Updated orchestrator that combines:
3
- 1. True ARF OSS v3.3.7 for real advisory analysis
4
  2. Enterprise simulation to show value proposition
5
  """
6
  import logging
@@ -10,9 +10,9 @@ from datetime import datetime, timedelta
10
 
11
  logger = logging.getLogger(__name__)
12
 
13
- class TrueARF337Orchestrator:
14
  """
15
- True ARF v3.3.7 orchestrator with:
16
  - Real OSS package for advisory analysis
17
  - Enterprise simulation to show upgrade value
18
  """
@@ -29,7 +29,7 @@ class TrueARF337Orchestrator:
29
  try:
30
  from core.true_arf_oss import get_true_arf_oss
31
  self.true_oss = get_true_arf_oss
32
- logger.info("✅ True ARF OSS v3.3.7 component available")
33
  except ImportError as e:
34
  logger.warning(f"True ARF OSS not available: {e}")
35
  self.true_oss = None
@@ -51,10 +51,10 @@ class TrueARF337Orchestrator:
51
  async def analyze_incident(self, scenario_name: str, scenario_data: Dict[str, Any]) -> Dict[str, Any]:
52
  """
53
  Complete analysis using:
54
- 1. True ARF OSS v3.3.7 for real advisory analysis
55
  2. Enterprise simulation to show upgrade value
56
  """
57
- logger.info(f"Running true ARF v3.3.7 analysis for: {scenario_name}")
58
 
59
  try:
60
  # Step 1: Run true OSS analysis
@@ -97,7 +97,7 @@ class TrueARF337Orchestrator:
97
  result = {
98
  "status": "success",
99
  "scenario": scenario_name,
100
- "arf_version": "3.3.7",
101
  "true_oss_used": self.true_oss is not None,
102
  "enterprise_simulated": self.enterprise_sim is not None,
103
  "oss_analysis": oss_analysis,
@@ -272,11 +272,11 @@ class TrueARF337Orchestrator:
272
  return "Analysis failed. Check logs."
273
 
274
  if enterprise_enhancements and enterprise_enhancements.get("enterprise_available"):
275
- return "✅ Both OSS and Enterprise features available. Full ARF v3.3.7 capabilities enabled."
276
  elif enterprise_enhancements:
277
  return "✅ OSS analysis complete. ⚡ Enterprise features simulated - shows upgrade value. Contact sales@arf.dev for Enterprise trial."
278
  else:
279
- return "✅ OSS analysis complete. Install agentic-reliability-framework==3.3.7 for real advisory capabilities."
280
 
281
  def set_audit_trail_manager(self, manager):
282
  """Set audit trail manager for recording executions."""
 
1
  """
2
  Updated orchestrator that combines:
3
+ 1. True ARF OSS v3.3.9 for real advisory analysis
4
  2. Enterprise simulation to show value proposition
5
  """
6
  import logging
 
10
 
11
  logger = logging.getLogger(__name__)
12
 
13
+ class TrueARFOrchestrator:
14
  """
15
+ True ARF v3.3.9 orchestrator with:
16
  - Real OSS package for advisory analysis
17
  - Enterprise simulation to show upgrade value
18
  """
 
29
  try:
30
  from core.true_arf_oss import get_true_arf_oss
31
  self.true_oss = get_true_arf_oss
32
+ logger.info("✅ True ARF OSS v3.3.9 component available")
33
  except ImportError as e:
34
  logger.warning(f"True ARF OSS not available: {e}")
35
  self.true_oss = None
 
51
  async def analyze_incident(self, scenario_name: str, scenario_data: Dict[str, Any]) -> Dict[str, Any]:
52
  """
53
  Complete analysis using:
54
+ 1. True ARF OSS v3.3.9 for real advisory analysis
55
  2. Enterprise simulation to show upgrade value
56
  """
57
+ logger.info(f"Running true ARF v3.3.9 analysis for: {scenario_name}")
58
 
59
  try:
60
  # Step 1: Run true OSS analysis
 
97
  result = {
98
  "status": "success",
99
  "scenario": scenario_name,
100
+ "arf_version": "3.3.9",
101
  "true_oss_used": self.true_oss is not None,
102
  "enterprise_simulated": self.enterprise_sim is not None,
103
  "oss_analysis": oss_analysis,
 
272
  return "Analysis failed. Check logs."
273
 
274
  if enterprise_enhancements and enterprise_enhancements.get("enterprise_available"):
275
+ return "✅ Both OSS and Enterprise features available. Full ARF v3.3.9 capabilities enabled."
276
  elif enterprise_enhancements:
277
  return "✅ OSS analysis complete. ⚡ Enterprise features simulated - shows upgrade value. Contact sales@arf.dev for Enterprise trial."
278
  else:
279
+ return "✅ OSS analysis complete. Install agentic-reliability-framework==3.3.9 for real advisory capabilities."
280
 
281
  def set_audit_trail_manager(self, manager):
282
  """Set audit trail manager for recording executions."""