char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Adrien Gallouëtui : embed assets directly with CMake (#28445)c457e3bf7

char/aliceai-t5-moe
576 B21 linesraw
1// Generated by scripts/ui-assets.cmake - do not edit.
2
3#pragma once
4
5#include <array>
6#include <string>
7
8// Defined as 1 only when assets were embedded (tools/server checks defined()).
9#cmakedefine LLAMA_UI_HAS_ASSETS 1
10
11struct llama_ui_asset {
12    std::string           name;
13    const unsigned char * data;
14    std::size_t           size;
15    std::string           etag;
16    std::string           type;
17};
18
19const llama_ui_asset * llama_ui_find_asset(const std::string & name);
20bool llama_ui_use_gzip();
21const std::array<llama_ui_asset, @N_ASSETS@> & llama_ui_get_assets();