feat(harness): hybrid mode for DeepSeek and Hermes

SI
2d ago
+13995-58

What

--hybrid on DeepSeek or Hermes keeps the parent on the cloud and the subagent on a local model. Privacy replaces personal values with tokens. A private subagent answer stays on the device.

Use

wally models pull pplx-coder
wally models pull pplx-pii
wally deepseek --hybrid --policy privacy -m pplx-coder --cloud-model

Hermes is wally hermes --hybrid with the same flags. -m also takes a directory.

Why

The parent must not see raw personal data, and the local model should be a catalog id.

Test

226 PLS tests, catalog lookup, and CI now runs the PLS tests.

Summary by CodeRabbit

  • New Features
    • Added hybrid mode for DeepSeek and Hermes, routing main conversations to a cloud model and subagents to a local model. Choose a cloud model and privacy or cost policy.
    • Added local model serving and PII masking to help protect sensitive text.
    • Added Pplx Coder 35B and Pplx PII Masking to the model catalog.
    • Added an indeterminate spinner for longer operations.
  • Improvements
    • Improved interruption handling and gateway cleanup during agent launches.
    • Added clearer errors when requests exceed the model’s context limit.
  • Documentation
    • Updated hybrid-mode help and setup documentation.
  • Tests
    • Added coverage for routing, privacy masking, model limits, and related workflows.