Skip to content

Commit 60aa9f6

Browse files
authored
fix: resolve Python 3.11 CI lint blockers
1 parent 7bd63c7 commit 60aa9f6

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

epistemic_forge/cli.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,9 @@ def main():
100100

101101
if hasattr(result, "claims"):
102102
display_claim_lattice(result.claims)
103-
104-
console.print(f"
105-
[bold yellow]💰 {budget_manager.get_report()}[/bold yellow]")
106103
else:
107104
console.print("[yellow]Notice: No claims extracted in the final result.[/yellow]")
105+
console.print(f"\n[bold yellow]💰 {budget_manager.get_report()}[/bold yellow]")
108106

109107
except Exception as e:
110108
console.print_exception(show_locals=True)

epistemic_forge/pipeline/l2_conductor.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ def __init__(self):
2222
# Register available experts
2323
self.experts: list[EpistemicExpert] = []
2424

25-
def _route_experts(self, domain: str) -> list[EpistemicExpert]:
25+
def _route_experts(self, spec: ProjectSpec) -> list[EpistemicExpert]:
2626
"""Determines which experts are required based on the domain."""
27+
domain = spec.domain
2728
active_experts = [ClaimLatticeExpert()]
2829

2930
# 🧬 ADAS: Inject a dynamically generated expert specific to this domain!
@@ -48,7 +49,7 @@ def conduct(self, spec: ProjectSpec, context: Dict[str, Any]) -> Dict[str, Any]:
4849
"""
4950
logger.info(f"L2 Conductor: Routing inquiry for domain [{spec.domain}]")
5051

51-
active_experts = self._route_experts(spec.domain)
52+
active_experts = self._route_experts(spec)
5253
results = {}
5354

5455
for expert in active_experts:

0 commit comments

Comments
 (0)