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 { inspectList, inspectProperty, truncate } from './helpers.js';2const errorKeys = [3 'stack',4 'line',5 'column',6 'name',7 'message',8 'fileName',9 'lineNumber',10 'columnNumber',11 'number',12 'description',13 'cause',14];15export default function inspectObject(error, options) {16 const properties = Object.getOwnPropertyNames(error).filter(key => errorKeys.indexOf(key) === -1);17 const name = error.name;18 options.truncate -= name.length;19 let message = '';20 if (typeof error.message === 'string') {21 message = truncate(error.message, options.truncate);22 }23 else {24 properties.unshift('message');25 }26 message = message ? `: ${message}` : '';27 options.truncate -= message.length + 5;28 options.seen = options.seen || [];29 if (options.seen.includes(error)) {30 return '[Circular]';31 }32 options.seen.push(error);33 const propertyContents = inspectList(properties.map(key => [key, error[key]]), options, inspectProperty);34 return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ''}`;35}36 