File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11## 0.0.48
2- * INCOMPLETE *
2+ + Fixed ` muna.predictions.create ` error when an input value is a ` boolean ` , ` boolean[] ` or ` BoolArray ` .
33
44## 0.0.47
55+ Added ` muna.beta.chat.completions.create ` method to create chat completions mirroring the OpenAI client.
Original file line number Diff line number Diff line change @@ -35,11 +35,17 @@ export type Dtype =
3535 */
3636export class BoolArray extends Uint8Array {
3737
38- constructor ( values : ArrayBuffer | boolean [ ] ) {
38+ constructor ( values : ArrayBuffer | boolean [ ] ) {
3939 super ( Array . isArray ( values ) ? values . map ( v => + v ) : values ) ;
4040 }
4141}
4242
43+ Object . defineProperty (
44+ BoolArray ,
45+ "name" ,
46+ { value : "BoolArray" , writable : false }
47+ ) ;
48+
4349/**
4450 * A `TypedArray` instance.
4551 */
You can’t perform that action at this time.
0 commit comments