Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1import * as core from "../core/index.js";2import { $ZodError } from "../core/index.js";3import * as util from "../core/util.js";4 5/** @deprecated Use `z.core.$ZodIssue` from `@zod/core` instead, especially if you are building a library on top of Zod. */6export type ZodIssue = core.$ZodIssue;7 8/** An Error-like class used to store Zod validation issues. */9export interface ZodError<T = unknown> extends $ZodError<T> {10 /** @deprecated Use the `z.treeifyError(err)` function instead. */11 format(): core.$ZodFormattedError<T>;12 format<U>(mapper: (issue: core.$ZodIssue) => U): core.$ZodFormattedError<T, U>;13 /** @deprecated Use the `z.treeifyError(err)` function instead. */14 flatten(): core.$ZodFlattenedError<T>;15 flatten<U>(mapper: (issue: core.$ZodIssue) => U): core.$ZodFlattenedError<T, U>;16 /** @deprecated Push directly to `.issues` instead. */17 addIssue(issue: core.$ZodIssue): void;18 /** @deprecated Push directly to `.issues` instead. */19 addIssues(issues: core.$ZodIssue[]): void;20 21 /** @deprecated Check `err.issues.length === 0` instead. */22 isEmpty: boolean;23}24 25const initializer = (inst: ZodError, issues: core.$ZodIssue[]) => {26 $ZodError.init(inst, issues);27 inst.name = "ZodError";28 Object.defineProperties(inst, {29 format: {30 value: (mapper: any) => core.formatError(inst, mapper),31 // enumerable: false,32 },33 flatten: {34 value: (mapper: any) => core.flattenError(inst, mapper),35 // enumerable: false,36 },37 addIssue: {38 value: (issue: any) => {39 inst.issues.push(issue);40 inst.message = JSON.stringify(inst.issues, util.jsonStringifyReplacer, 2);41 },42 // enumerable: false,43 },44 addIssues: {45 value: (issues: any) => {46 inst.issues.push(...issues);47 inst.message = JSON.stringify(inst.issues, util.jsonStringifyReplacer, 2);48 },49 // enumerable: false,50 },51 isEmpty: {52 get() {53 return inst.issues.length === 0;54 },55 // enumerable: false,56 },57 });58 // Object.defineProperty(inst, "isEmpty", {59 // get() {60 // return inst.issues.length === 0;61 // },62 // });63};64export const ZodError: core.$constructor<ZodError> = /*@__PURE__*/ core.$constructor("ZodError", initializer);65export const ZodRealError: core.$constructor<ZodError> = /*@__PURE__*/ core.$constructor("ZodError", initializer, {66 Parent: Error,67});68 69export type {70 /** @deprecated Use `z.core.$ZodFlattenedError` instead. */71 $ZodFlattenedError as ZodFlattenedError,72 /** @deprecated Use `z.core.$ZodFormattedError` instead. */73 $ZodFormattedError as ZodFormattedError,74 /** @deprecated Use `z.core.$ZodErrorMap` instead. */75 $ZodErrorMap as ZodErrorMap,76} from "../core/index.js";77 78/** @deprecated Use `z.core.$ZodRawIssue` instead. */79export type IssueData = core.$ZodRawIssue;80 81// /** @deprecated Use `z.core.$ZodErrorMapCtx` instead. */82// export type ErrorMapCtx = core.$ZodErrorMapCtx;83 