Download tools/server/webui/src/lib/enums/attachment.ts from echodict/llama.cpp: direct link, hf CLI and curl.
- Browser
- Download file 298 Bytes
-
https://huggingface.co/datasets/echodict/llama.cpp/resolve/main/tools/server/webui/src/lib/enums/attachment.ts
- Command line
-
hf download hf://datasets/echodict/llama.cpp/tools/server/webui/src/lib/enums/attachment.ts
-
curl -L -o attachment.ts https://huggingface.co/datasets/echodict/llama.cpp/resolve/main/tools/server/webui/src/lib/enums/attachment.ts
298 Bytes
| /** | |
| * Attachment type enum for database message extras | |
| */ | |
| export enum AttachmentType { | |
| AUDIO = 'AUDIO', | |
| IMAGE = 'IMAGE', | |
| MCP_PROMPT = 'MCP_PROMPT', | |
| MCP_RESOURCE = 'MCP_RESOURCE', | |
| PDF = 'PDF', | |
| TEXT = 'TEXT', | |
| LEGACY_CONTEXT = 'context' // Legacy attachment type for backward compatibility | |
| } | |