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
1"use strict";2Object.defineProperty(exports, "__esModule", { value: true });3exports.getDisplayName = getDisplayName;4/**5 * Utilities for working with BaseMetadata objects.6 */7/**8 * Gets the display name for an object with BaseMetadata.9 * For tools, the precedence is: title → annotations.title → name10 * For other objects: title → name11 * This implements the spec requirement: "if no title is provided, name should be used for display purposes"12 */13function getDisplayName(metadata) {14 // First check for title (not undefined and not empty string)15 if (metadata.title !== undefined && metadata.title !== '') {16 return metadata.title;17 }18 // Then check for annotations.title (only present in Tool objects)19 if ('annotations' in metadata && metadata.annotations?.title) {20 return metadata.annotations.title;21 }22 // Finally fall back to name23 return metadata.name;24}25//# sourceMappingURL=metadataUtils.js.map