Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions cartridges/ml-mcp/ffi/ml_ffi.zig
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ pub const MlProvider = enum(c_int) {
custom = 99,
};

/// Hugging Face resource types — mirrors `MlMcp.SafeMl.HuggingFaceResource`
/// + `hfResourceToInt` encoding. Declared here so `iseriser abi-verify`
/// can structurally check the encoding against the Idris2 source.
pub const HuggingFaceResource = enum(c_int) {
hf_model = 1,
hf_space = 2,
hf_dataset = 3,
hf_inference = 4,
};

// ═══════════════════════════════════════════════════════════════════════
// Session State Machine
// ═══════════════════════════════════════════════════════════════════════
Expand Down
Loading