diff --git a/LLama/Native/DecodeResult.cs b/LLama/Native/DecodeResult.cs index 61056dd9d..8bf72c046 100644 --- a/LLama/Native/DecodeResult.cs +++ b/LLama/Native/DecodeResult.cs @@ -19,4 +19,19 @@ public enum DecodeResult /// Could not find a KV slot for the batch (try reducing the size of the batch or increase the context) /// NoKvSlot = 1, + + /// + /// Compute was aborted (e.g. due to callback request or timeout) + /// + ComputeAborted = 2, + + /// + /// Failed to allocate memory or reserve output space + /// + AllocationFailed = -2, + + /// + /// General failure during decode (e.g. internal error, slot failure) + /// + DecodeFailed = -3, } \ No newline at end of file