Files
Strata/strata_cli
Niko1221 bbb6e183ac drafting: every other drafter decision takes the config's card family on a mixed NVIDIA + AMD computer (#5109)
Follow-up of 188aaf7bf: the places that still read detect_hardware() alone took the idle NVIDIA
card on a computer whose engine serves from the AMD card. Each call site now goes through
drafting.hardware_for(<the config's backend>) (one edit each):
- strata_cli/launch/runner.py: auto_signals (it also hands the family to resolved_drafting as
  engine_backend) and Runner.drafting_inputs;
- strata_cli/launch/modelstate.py: resolved_drafting(engine_backend=...);
- strata_cli/launch/screens.py: drafting_choice_available (the installed engine's family);
- strata_control/doctor.py: _drafter_is_dflash2;
- strata_cli/drafting_cmd.py: _hardware(cfg backend), and installed_engine_exe(want backend);
- strata_control/drafting.py: installed_engine_exe(backend=None).
Without a known family each answers as before; one-vendor computers are unchanged.

Tests: tests/terminal/test_drafting_mixed_vendor.py OtherCallers (a mixed-computer fixture per
caller); the drafting, doctor and first-load suites: 371 passed.
2026-11-16 17:55:18 +01:00
..