Expand description
Canonical InferenceRequest union discriminants.
The values are the Cap’n Proto union discriminants: 0-based DECLARATION
order of the members in hyprstream-rpc-std/schema/inference.capnp — NOT
the members’ explicit @N field ordinals (generateStream is @1 on the
wire-field axis but carries union discriminant 0). Every member declares
$dispatchMac("internal:pq-hybrid"), so every row these constants index
carries the schema-declared hybrid label. The drift test in this module
decodes real serialized requests and pins representative values to the
schema; changing the union order fails CI rather than silently relabeling
the dispatch plane.
Constants§
- APPLY_
CHAT_ TEMPLATE - CLEAR_
SESSION - CREATE_
LORA - CREATE_
LORA_ STREAM - EMBED
- EXPORT_
PEFT_ ADAPTER - EXPORT_
PEFT_ ADAPTER_ STREAM - GENERATE_
STREAM generateStream— tenant-authorized streaming generation.- GET_
DELTA_ STATUS - GET_
LAYER_ PROFILE - HAS_
LORA - HEALTH_
CHECK - IS_
READY - LOAD_
LORA - LOAD_
LORA_ STREAM - MERGE_
LORA - MERGE_
LORA_ STREAM - MODEL_
INFO - RELEASE_
SESSION - SAVE_
ADAPTATION - SAVE_
ADAPTATION_ STREAM - SAVE_
LORA - SAVE_
LORA_ STREAM - SET_
SESSION - SHUTDOWN
shutdown— engine lifecycle management ($scope(manage)).- SNAPSHOT_
DELTA - SNAPSHOT_
DELTA_ STREAM - TRAIN_
STEP - TRAIN_
STEP_ STREAM - TTT_
EVICT - TTT_
WRITEBACK - TTT_
ZERO - UNLOAD_
LORA