Skip to content

[BUG] cortex demo crashes with "'SystemInfo' object has no attribute 'get'" #353

@jaysurse

Description

@jaysurse

What happened?
Running cortex demo crashes during the hardware scan step. The code attempts to call .get() on a SystemInfo dataclass object, which doesn't have that method.

How to reproduce

  1. Command run: cortex demo
  2. What you expected: The demo should display hardware information (CPU, RAM, GPU) and complete with "Your system is READY for AI workloads"
  3. What actually happened: The command crashes immediately after "🔍 Scanning system hardware..."

Environment

  • OS: Ubuntu 24.04
  • Python: 3.10
  • LLM Provider: N/A (demo doesn't require LLM)

Error output :-
🚀 Cortex One-Command Investor Demo

🔍 Scanning system hardware...
❌ Unexpected error: 'SystemInfo' object has no attribute 'get'

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions