We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df45a4b commit 91d05abCopy full SHA for 91d05ab
llama_cpp/llama_cpp.py
@@ -613,17 +613,17 @@ class llama_batch(ctypes.Structure):
613
# };
614
class llama_model_kv_override_value(ctypes.Union):
615
_fields_ = [
616
- ("int_value", ctypes.c_int64),
617
- ("float_value", ctypes.c_double),
618
- ("bool_value", ctypes.c_bool),
619
- ("str_value", ctypes.c_char * 128),
+ ("val_i64", ctypes.c_int64),
+ ("val_f64", ctypes.c_double),
+ ("val_bool", ctypes.c_bool),
+ ("val_str", ctypes.c_char * 128),
620
]
621
622
if TYPE_CHECKING:
623
- int_value: int
624
- float_value: float
625
- bool_value: bool
626
- str_value: bytes
+ val_i64: int
+ val_f64: float
+ val_bool: bool
+ val_str: bytes
627
628
629
class llama_model_kv_override(ctypes.Structure):
0 commit comments