SYMBOL INDEX (6071 symbols across 522 files) FILE: .github/check_and_update.py function parse_uri (line 11) | def parse_uri(uri): function calculate_sha256 (line 22) | def calculate_sha256(file_path): function manual_safety_check_hf (line 29) | def manual_safety_check_hf(repo_id): FILE: .github/ci/modelslist.go type GalleryModel (line 259) | type GalleryModel struct function main (line 266) | func main() { FILE: .github/gallery-agent/agent.go function cleanTextContent (line 33) | func cleanTextContent(text string) string { type galleryModel (line 56) | type galleryModel struct function isModelExisting (line 62) | func isModelExisting(modelID string) (bool, error) { function filterExistingModels (line 86) | func filterExistingModels(models []ProcessedModel) ([]ProcessedModel, er... function getGalleryIndexPath (line 109) | func getGalleryIndexPath() string { function stripThinkingTags (line 116) | func stripThinkingTags(content string) string { function getRealReadme (line 126) | func getRealReadme(ctx context.Context, repository string) (string, erro... function selectMostInterestingModels (line 153) | func selectMostInterestingModels(ctx context.Context, searchResult *Sear... type ModelMetadata (line 258) | type ModelMetadata struct function extractModelMetadata (line 264) | func extractModelMetadata(ctx context.Context, model ProcessedModel) ([]... function extractIconFromReadme (line 337) | func extractIconFromReadme(readmeContent string) string { function getHuggingFaceAvatarURL (line 382) | func getHuggingFaceAvatarURL(author string) string { function extractModelIcon (line 431) | func extractModelIcon(model ProcessedModel) string { FILE: .github/gallery-agent/gallery.go function formatTextContent (line 14) | func formatTextContent(text string) string { function formatTextContentWithIndent (line 19) | func formatTextContentWithIndent(text string, baseIndent int, listItemIn... function generateYAMLEntry (line 54) | func generateYAMLEntry(model ProcessedModel, quantization string) string { function generateYAMLForModels (line 146) | func generateYAMLForModels(ctx context.Context, models []ProcessedModel,... FILE: .github/gallery-agent/main.go type ProcessedModelFile (line 16) | type ProcessedModelFile struct type ProcessedModel (line 25) | type ProcessedModel struct type SearchResult (line 43) | type SearchResult struct type AddedModelSummary (line 53) | type AddedModelSummary struct function main (line 63) | func main() { function searchAndProcessModels (line 205) | func searchAndProcessModels(searchTerm string, limit int, quantization s... function truncateString (line 378) | func truncateString(s string, maxLen int) string { FILE: .github/gallery-agent/testing.go function runSyntheticMode (line 12) | func runSyntheticMode() error { type SyntheticDataGenerator (line 38) | type SyntheticDataGenerator struct method GenerateProcessedModelFile (line 50) | func (g *SyntheticDataGenerator) GenerateProcessedModelFile() Processe... method GenerateProcessedModel (line 79) | func (g *SyntheticDataGenerator) GenerateProcessedModel() ProcessedMod... method randomString (line 179) | func (g *SyntheticDataGenerator) randomString(length int) string { method randomSHA256 (line 188) | func (g *SyntheticDataGenerator) randomSHA256() string { method randomDate (line 197) | func (g *SyntheticDataGenerator) randomDate() string { method removeDuplicates (line 204) | func (g *SyntheticDataGenerator) removeDuplicates(slice []string) []st... method generateReadmeContent (line 216) | func (g *SyntheticDataGenerator) generateReadmeContent(modelName, auth... function NewSyntheticDataGenerator (line 43) | func NewSyntheticDataGenerator() *SyntheticDataGenerator { FILE: .github/gallery-agent/tools.go type HFReadmeTool (line 12) | type HFReadmeTool struct method Execute (line 16) | func (s *HFReadmeTool) Execute(args map[string]any) (string, any, erro... method Tool (line 28) | func (s *HFReadmeTool) Tool() openai.Tool { FILE: backend/cpp/llama-cpp/grpc-server.cpp function signal_handler (line 54) | static inline void signal_handler(int signal) { function start_llama_server (line 73) | static void start_llama_server(server_context& ctx_server) { function json (line 117) | json parse_options(bool streaming, const backend::PredictOptions* predic... function ggml_type (line 311) | static ggml_type kv_cache_type_from_str(const std::string & s) { function get_all_kv_cache_types (line 320) | static std::string get_all_kv_cache_types() { function add_rpc_devices (line 330) | static void add_rpc_devices(std::string servers) { function params_parse (line 356) | static void params_parse(server_context& /*ctx_server*/, const backend::... class BackendServiceImpl (line 708) | class BackendServiceImpl final : public backend::Backend::Service { method BackendServiceImpl (line 714) | BackendServiceImpl(server_context& ctx) : ctx_server(ctx) {} method Health (line 716) | grpc::Status Health(ServerContext* /*context*/, const backend::HealthM... method LoadModel (line 722) | grpc::Status LoadModel(ServerContext* /*context*/, const backend::Mode... method json (line 849) | static json extract_logprobs_from_json(const json& res_json) { method populate_chat_deltas_from_diffs (line 871) | static void populate_chat_deltas_from_diffs(backend::Reply & reply, method populate_chat_deltas_from_final (line 898) | static void populate_chat_deltas_from_final(backend::Reply & reply, method PredictStream (line 920) | grpc::Status PredictStream(grpc::ServerContext* context, const backend... method Predict (line 1623) | grpc::Status Predict(ServerContext* context, const backend::PredictOpt... method Embedding (line 2341) | grpc::Status Embedding(ServerContext* context, const backend::PredictO... method Rerank (line 2436) | grpc::Status Rerank(ServerContext* context, const backend::RerankReque... method TokenizeString (line 2522) | grpc::Status TokenizeString(ServerContext* /*context*/, const backend:... method GetMetrics (line 2545) | grpc::Status GetMetrics(ServerContext* /*context*/, const backend::Met... method ModelMetadata (line 2586) | grpc::Status ModelMetadata(ServerContext* /*context*/, const backend::... function main (line 2736) | int main(int argc, char** argv) { FILE: backend/go/acestep-cpp/acestepcpp_test.go constant testAddr (line 17) | testAddr = "localhost:50051" constant startupWait (line 18) | startupWait = 5 * time.Second function skipIfNoModel (line 21) | func skipIfNoModel(t *testing.T) string { function startServer (line 42) | func startServer(t *testing.T) *exec.Cmd { function stopServer (line 61) | func stopServer(cmd *exec.Cmd) { function dialGRPC (line 68) | func dialGRPC(t *testing.T) *grpc.ClientConn { function TestServerHealth (line 83) | func TestServerHealth(t *testing.T) { function TestLoadModel (line 100) | func TestLoadModel(t *testing.T) { function TestSoundGeneration (line 130) | func TestSoundGeneration(t *testing.T) { FILE: backend/go/acestep-cpp/cpp/goacestepcpp.cpp function ggml_log_cb (line 40) | static void ggml_log_cb(enum ggml_log_level level, const char * log, voi... function load_model (line 66) | int load_model(const char * lm_model_path, const char * text_encoder_path, function generate_music (line 115) | int generate_music(const char * caption, const char * lyrics, int bpm, FILE: backend/go/acestep-cpp/goacestepcpp.go type AceStepCpp (line 18) | type AceStepCpp struct method Load (line 22) | func (a *AceStepCpp) Load(opts *pb.ModelOptions) error { method SoundGeneration (line 89) | func (a *AceStepCpp) SoundGeneration(req *pb.SoundGenerationRequest) e... FILE: backend/go/acestep-cpp/main.go type LibFuncs (line 16) | type LibFuncs struct function main (line 21) | func main() { FILE: backend/go/llm/llama/llama.go type LLM (line 14) | type LLM struct method Free (line 24) | func (llm *LLM) Free() error { method Load (line 35) | func (llm *LLM) Load(opts *pb.ModelOptions) error { method Predict (line 218) | func (llm *LLM) Predict(opts *pb.PredictOptions) (string, error) { method PredictStream (line 225) | func (llm *LLM) PredictStream(opts *pb.PredictOptions, results chan st... method Embeddings (line 250) | func (llm *LLM) Embeddings(opts *pb.PredictOptions) ([]float32, error) { method TokenizeString (line 264) | func (llm *LLM) TokenizeString(opts *pb.PredictOptions) (pb.Tokenizati... function buildPredictOptions (line 125) | func buildPredictOptions(opts *pb.PredictOptions) []llama.PredictOption { FILE: backend/go/llm/llama/main.go function main (line 17) | func main() { FILE: backend/go/local-store/debug.go function assert (line 10) | func assert(cond bool, msg string) { FILE: backend/go/local-store/main.go function main (line 17) | func main() { FILE: backend/go/local-store/production.go function assert (line 6) | func assert(cond bool, msg string) { FILE: backend/go/local-store/store.go type Store (line 18) | type Store struct method Load (line 102) | func (s *Store) Load(opts *pb.ModelOptions) error { method StoresSet (line 110) | func (s *Store) StoresSet(opts *pb.StoresSetOptions) error { method StoresDelete (line 204) | func (s *Store) StoresDelete(opts *pb.StoresDeleteOptions) error { method StoresGet (line 270) | func (s *Store) StoresGet(opts *pb.StoresGetOptions) (pb.StoresGetResu... method StoresFindNormalized (line 377) | func (s *Store) StoresFindNormalized(opts *pb.StoresFindOptions) (pb.S... method StoresFindFallback (line 434) | func (s *Store) StoresFindFallback(opts *pb.StoresFindOptions) (pb.Sto... method StoresFind (line 481) | func (s *Store) StoresFind(opts *pb.StoresFindOptions) (pb.StoresFindR... type Pair (line 35) | type Pair struct function NewStore (line 40) | func NewStore() *Store { function compareSlices (line 49) | func compareSlices(k1, k2 []float32) int { function hasKey (line 55) | func hasKey(unsortedSlice [][]float32, target []float32) bool { function findInSortedSlice (line 61) | func findInSortedSlice(sortedSlice [][]float32, target []float32) (int, ... function isSortedPairs (line 67) | func isSortedPairs(kvs []Pair) bool { function isSortedKeys (line 77) | func isSortedKeys(keys [][]float32) bool { function sortIntoKeySlicese (line 87) | func sortIntoKeySlicese(keys []*pb.StoresKey) [][]float32 { function isNormalized (line 317) | func isNormalized(k []float32) bool { function normalizedCosineSimilarity (line 331) | func normalizedCosineSimilarity(k1, k2 []float32) float32 { type PriorityItem (line 345) | type PriorityItem struct type PriorityQueue (line 351) | type PriorityQueue method Len (line 353) | func (pq PriorityQueue) Len() int { return len(pq) } method Less (line 355) | func (pq PriorityQueue) Less(i, j int) bool { method Swap (line 360) | func (pq PriorityQueue) Swap(i, j int) { method Push (line 364) | func (pq *PriorityQueue) Push(x any) { method Pop (line 369) | func (pq *PriorityQueue) Pop() any { function cosineSimilarity (line 418) | func cosineSimilarity(k1, k2 []float32, mag1 float64) float32 { FILE: backend/go/opus/codec.go constant ApplicationVoIP (line 15) | ApplicationVoIP = 2048 constant ApplicationAudio (line 16) | ApplicationAudio = 2049 constant ApplicationRestrictedLowDelay (line 17) | ApplicationRestrictedLowDelay = 2051 function loadLib (line 41) | func loadLib(names []string) (uintptr, error) { function ensureInit (line 55) | func ensureInit() error { constant shimHint (line 62) | shimHint = "ensure libopus-dev is installed and rebuild, or set OPUS_LIB... function doInit (line 64) | func doInit() error { function opusSearchPaths (line 91) | func opusSearchPaths() []string { function shimSearchPaths (line 118) | func shimSearchPaths() []string { type Encoder (line 141) | type Encoder struct method Encode (line 160) | func (e *Encoder) Encode(pcm []int16, frameSize int, out []byte) (int,... method SetBitrate (line 171) | func (e *Encoder) SetBitrate(bitrate int) error { method SetComplexity (line 178) | func (e *Encoder) SetComplexity(complexity int) error { method Close (line 185) | func (e *Encoder) Close() { function NewEncoder (line 145) | func NewEncoder(sampleRate, channels, application int) (*Encoder, error) { type Decoder (line 193) | type Decoder struct method Decode (line 213) | func (d *Decoder) Decode(data []byte, pcm []int16, frameSize int, fec ... method Close (line 237) | func (d *Decoder) Close() { function NewDecoder (line 197) | func NewDecoder(sampleRate, channels int) (*Decoder, error) { function Init (line 246) | func Init() error { function Reset (line 251) | func Reset() { FILE: backend/go/opus/csrc/opus_shim.c function opus_shim_encoder_set_bitrate (line 3) | int opus_shim_encoder_set_bitrate(OpusEncoder *st, opus_int32 bitrate) { function opus_shim_encoder_set_complexity (line 7) | int opus_shim_encoder_set_complexity(OpusEncoder *st, opus_int32 complex... FILE: backend/go/opus/main.go function main (line 11) | func main() { FILE: backend/go/opus/opus.go constant opusSampleRate (line 14) | opusSampleRate = 48000 constant opusChannels (line 15) | opusChannels = 1 constant opusFrameSize (line 16) | opusFrameSize = 960 constant opusMaxPacketSize (line 17) | opusMaxPacketSize = 4000 constant opusMaxFrameSize (line 18) | opusMaxFrameSize = 5760 constant decoderIdleTTL (line 20) | decoderIdleTTL = 60 * time.Second constant decoderEvictTick (line 21) | decoderEvictTick = 30 * time.Second type cachedDecoder (line 24) | type cachedDecoder struct type Opus (line 30) | type Opus struct method Load (line 37) | func (o *Opus) Load(opts *pb.ModelOptions) error { method evictLoop (line 43) | func (o *Opus) evictLoop() { method getOrCreateDecoder (line 61) | func (o *Opus) getOrCreateDecoder(sessionID string) (*cachedDecoder, e... method AudioEncode (line 79) | func (o *Opus) AudioEncode(req *pb.AudioEncodeRequest) (*pb.AudioEncod... method AudioDecode (line 126) | func (o *Opus) AudioDecode(req *pb.AudioDecodeRequest) (*pb.AudioDecod... FILE: backend/go/opus/opus_test.go function TestOpusBackend (line 24) | func TestOpusBackend(t *testing.T) { function generateSineWave (line 31) | func generateSineWave(freq float64, sampleRate, numSamples int) []int16 { function computeRMS (line 40) | func computeRMS(samples []int16) float64 { function estimateFrequency (line 52) | func estimateFrequency(samples []int16, sampleRate int) float64 { function encodeDecodeRoundtrip (line 68) | func encodeDecodeRoundtrip(o *Opus, pcmBytes []byte, sampleRate int) []i... function extractOpusFramesFromOgg (line 88) | func extractOpusFramesFromOgg(data []byte) [][]byte { function parseTestWAV (line 143) | func parseTestWAV(data []byte) (pcm []byte, sampleRate int) { function writeOggOpus (line 167) | func writeOggOpus(path string, frames [][]byte, sampleRate, channels int... function writeOggPage (line 216) | func writeOggPage(w io.Writer, serial, pageSeq uint32, granulePos uint64... function oggCRC32 (line 249) | func oggCRC32(header, data []byte) uint32 { function goertzel (line 276) | func goertzel(samples []int16, targetFreq float64, sampleRate int) float... function computeTHD (line 293) | func computeTHD(samples []int16, fundamentalHz float64, sampleRate, numH... FILE: backend/go/piper/main.go function main (line 15) | func main() { FILE: backend/go/piper/piper.go type Piper (line 15) | type Piper struct method Load (line 20) | func (sd *Piper) Load(opts *pb.ModelOptions) error { method TTS (line 30) | func (sd *Piper) TTS(opts *pb.TTSRequest) error { type PiperB (line 34) | type PiperB struct method TTS (line 47) | func (s *PiperB) TTS(text, model, dst string) error { function New (line 38) | func New(assetDir string) (*PiperB, error) { FILE: backend/go/silero-vad/main.go function main (line 15) | func main() { FILE: backend/go/silero-vad/vad.go type VAD (line 13) | type VAD struct method Load (line 18) | func (vad *VAD) Load(opts *pb.ModelOptions) error { method VAD (line 35) | func (vad *VAD) VAD(req *pb.VADRequest) (pb.VADResponse, error) { FILE: backend/python/ace-step/backend.py function _is_float (line 51) | def _is_float(s): function _is_int (line 59) | def _is_int(s): function _parse_timesteps (line 67) | def _parse_timesteps(s): function _parse_options (line 78) | def _parse_options(opts_list): function _generate_audio_sync (line 98) | def _generate_audio_sync(servicer, payload, dst_path): class BackendServicer (line 291) | class BackendServicer(backend_pb2_grpc.BackendServicer): method __init__ (line 292) | def __init__(self): method Health (line 301) | def Health(self, request, context): method LoadModel (line 304) | def LoadModel(self, request, context): method SoundGeneration (line 390) | def SoundGeneration(self, request, context): method TTS (line 425) | def TTS(self, request, context): function serve (line 439) | def serve(address): FILE: backend/python/ace-step/test.py class TestACEStepBackend (line 13) | class TestACEStepBackend(unittest.TestCase): method setUpClass (line 17) | def setUpClass(cls): method tearDownClass (line 23) | def tearDownClass(cls): method test_health (line 26) | def test_health(self): method test_load_model (line 30) | def test_load_model(self): method test_sound_generation_minimal (line 34) | def test_sound_generation_minimal(self): FILE: backend/python/chatterbox/backend.py function is_float (line 21) | def is_float(s): function is_int (line 28) | def is_int(s): function split_text_at_word_boundary (line 36) | def split_text_at_word_boundary(text, max_length=250): function merge_audio_files (line 71) | def merge_audio_files(audio_files, output_path, sample_rate): class BackendServicer (line 111) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 115) | def Health(self, request, context): method LoadModel (line 117) | def LoadModel(self, request, context): method TTS (line 178) | def TTS(self, request, context): function serve (line 222) | def serve(address): FILE: backend/python/chatterbox/test.py class TestBackendServicer (line 13) | class TestBackendServicer(unittest.TestCase): method setUp (line 17) | def setUp(self): method tearDown (line 24) | def tearDown(self) -> None: method test_server_startup (line 31) | def test_server_startup(self): method test_load_model (line 47) | def test_load_model(self): method test_tts (line 65) | def test_tts(self): FILE: backend/python/coqui/backend.py class BackendServicer (line 27) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 31) | def Health(self, request, context): method LoadModel (line 33) | def LoadModel(self, request, context): method TTS (line 69) | def TTS(self, request, context): function serve (line 90) | def serve(address): FILE: backend/python/coqui/test.py class TestBackendServicer (line 13) | class TestBackendServicer(unittest.TestCase): method setUp (line 17) | def setUp(self): method tearDown (line 24) | def tearDown(self) -> None: method test_server_startup (line 31) | def test_server_startup(self): method test_load_model (line 47) | def test_load_model(self): method test_tts (line 65) | def test_tts(self): FILE: backend/python/diffusers/backend.py function sc (line 85) | def sc(self, clip_input, images): return images, [False for i in images] function is_float (line 105) | def is_float(s): function is_int (line 112) | def is_int(s): class DiffusionScheduler (line 124) | class DiffusionScheduler(str, Enum): function get_scheduler (line 151) | def get_scheduler(name: str, config: dict = {}): class BackendServicer (line 197) | class BackendServicer(backend_pb2_grpc.BackendServicer): method _load_pipeline (line 199) | def _load_pipeline(self, request, modelFile, fromSingleFile, torchType... method Health (line 475) | def Health(self, request, context): method LoadModel (line 478) | def LoadModel(self, request, context): method load_lora_weights (line 645) | def load_lora_weights(self, checkpoint_path, multiplier, device, dtype): method GenerateImage (line 699) | def GenerateImage(self, request, context): method GenerateVideo (line 853) | def GenerateVideo(self, request, context): function serve (line 1039) | def serve(address): FILE: backend/python/diffusers/diffusers_dynamic_loader.py function _camel_to_kebab (line 45) | def _camel_to_kebab(name: str) -> str: function _extract_task_keywords (line 60) | def _extract_task_keywords(class_name: str) -> List[str]: function discover_diffusers_classes (line 124) | def discover_diffusers_classes( function get_available_classes (line 204) | def get_available_classes(base_class_name: str) -> List[str]: function _discover_pipelines (line 217) | def _discover_pipelines() -> Tuple[Dict[str, Type], Dict[str, List[str]]]: function get_pipeline_registry (line 267) | def get_pipeline_registry() -> Dict[str, Type]: function get_task_aliases (line 280) | def get_task_aliases() -> Dict[str, List[str]]: function get_available_pipelines (line 293) | def get_available_pipelines() -> List[str]: function get_available_tasks (line 303) | def get_available_tasks() -> List[str]: function resolve_pipeline_class (line 313) | def resolve_pipeline_class( function load_diffusers_pipeline (line 421) | def load_diffusers_pipeline( function get_pipeline_info (line 505) | def get_pipeline_info(class_name: str) -> Dict[str, Any]: FILE: backend/python/diffusers/test.py class TestBackendServicer (line 24) | class TestBackendServicer(unittest.TestCase): method setUp (line 28) | def setUp(self): method tearDown (line 34) | def tearDown(self) -> None: method test_server_startup (line 41) | def test_server_startup(self): method test_load_model (line 58) | def test_load_model(self): method test (line 76) | def test(self): class TestDiffusersDynamicLoader (line 98) | class TestDiffusersDynamicLoader(unittest.TestCase): method setUpClass (line 102) | def setUpClass(cls): method test_camel_to_kebab_conversion (line 108) | def test_camel_to_kebab_conversion(self): method test_extract_task_keywords (line 121) | def test_extract_task_keywords(self): method test_discover_pipelines_finds_known_classes (line 141) | def test_discover_pipelines_finds_known_classes(self): method test_discover_pipelines_caches_results (line 162) | def test_discover_pipelines_caches_results(self): method test_get_available_pipelines (line 171) | def test_get_available_pipelines(self): method test_get_available_tasks (line 185) | def test_get_available_tasks(self): method test_resolve_pipeline_class_by_name (line 195) | def test_resolve_pipeline_class_by_name(self): method test_resolve_pipeline_class_by_name_case_insensitive (line 200) | def test_resolve_pipeline_class_by_name_case_insensitive(self): method test_resolve_pipeline_class_by_task (line 206) | def test_resolve_pipeline_class_by_task(self): method test_resolve_pipeline_class_unknown_name_raises (line 216) | def test_resolve_pipeline_class_unknown_name_raises(self): method test_resolve_pipeline_class_unknown_task_raises (line 226) | def test_resolve_pipeline_class_unknown_task_raises(self): method test_resolve_pipeline_class_no_params_raises (line 236) | def test_resolve_pipeline_class_no_params_raises(self): method test_get_pipeline_info (line 244) | def test_get_pipeline_info(self): method test_get_pipeline_info_unknown_raises (line 252) | def test_get_pipeline_info_unknown_raises(self): method test_discover_diffusers_classes_pipelines (line 259) | def test_discover_diffusers_classes_pipelines(self): method test_discover_diffusers_classes_caches_results (line 270) | def test_discover_diffusers_classes_caches_results(self): method test_discover_diffusers_classes_exclude_base (line 278) | def test_discover_diffusers_classes_exclude_base(self): method test_get_available_classes (line 285) | def test_get_available_classes(self): class TestDiffusersDynamicLoaderWithMocks (line 297) | class TestDiffusersDynamicLoaderWithMocks(unittest.TestCase): method test_load_pipeline_requires_model_id (line 300) | def test_load_pipeline_requires_model_id(self): method test_resolve_with_model_id_uses_diffusion_pipeline_fallback (line 307) | def test_resolve_with_model_id_uses_diffusion_pipeline_fallback(self): class TestGenerateImageOptionsKwargsMerge (line 318) | class TestGenerateImageOptionsKwargsMerge(unittest.TestCase): method test_options_merged_into_pipeline_kwargs (line 326) | def test_options_merged_into_pipeline_kwargs(self): FILE: backend/python/faster-qwen3-tts/backend.py function is_float (line 20) | def is_float(s): function is_int (line 28) | def is_int(s): class BackendServicer (line 40) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 41) | def Health(self, request, context): method LoadModel (line 44) | def LoadModel(self, request, context): method _get_ref_audio_path (line 81) | def _get_ref_audio_path(self, request): method TTS (line 97) | def TTS(self, request, context): function serve (line 160) | def serve(address): FILE: backend/python/faster-qwen3-tts/test.py class TestBackendServicer (line 15) | class TestBackendServicer(unittest.TestCase): method setUp (line 16) | def setUp(self): method tearDown (line 26) | def tearDown(self): method test_health (line 34) | def test_health(self): method test_load_model_requires_cuda (line 40) | def test_load_model_requires_cuda(self): method test_tts (line 56) | def test_tts(self): FILE: backend/python/faster-whisper/backend.py class BackendServicer (line 26) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 30) | def Health(self, request, context): method LoadModel (line 32) | def LoadModel(self, request, context): method AudioTranscription (line 50) | def AudioTranscription(self, request, context): function serve (line 67) | def serve(address): FILE: backend/python/fish-speech/backend.py function is_float (line 24) | def is_float(s): function is_int (line 33) | def is_int(s): class BackendServicer (line 49) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 54) | def Health(self, request, context): method LoadModel (line 57) | def LoadModel(self, request, context): method _get_ref_audio_path (line 264) | def _get_ref_audio_path(self, voice_name=None): method TTS (line 307) | def TTS(self, request, context): function serve (line 419) | def serve(address): FILE: backend/python/fish-speech/test.py function _dump_backend_log (line 20) | def _dump_backend_log(): function _sigterm_handler (line 30) | def _sigterm_handler(signum, frame): function _tail_log (line 41) | def _tail_log(path, stop_event, interval=10): class TestBackendServicer (line 57) | class TestBackendServicer(unittest.TestCase): method setUp (line 61) | def setUp(self): method tearDown (line 105) | def tearDown(self) -> None: method test_tts (line 120) | def test_tts(self): FILE: backend/python/kitten-tts/backend.py class BackendServicer (line 28) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 32) | def Health(self, request, context): method LoadModel (line 34) | def LoadModel(self, request, context): method TTS (line 58) | def TTS(self, request, context): function serve (line 74) | def serve(address): FILE: backend/python/kitten-tts/test.py class TestBackendServicer (line 13) | class TestBackendServicer(unittest.TestCase): method setUp (line 17) | def setUp(self): method tearDown (line 24) | def tearDown(self) -> None: method test_server_startup (line 31) | def test_server_startup(self): method test_load_model (line 47) | def test_load_model(self): method test_tts (line 65) | def test_tts(self): FILE: backend/python/kokoro/backend.py class BackendServicer (line 28) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 32) | def Health(self, request, context): method LoadModel (line 35) | def LoadModel(self, request, context): method TTS (line 59) | def TTS(self, request, context): function serve (line 81) | def serve(address): FILE: backend/python/kokoro/test.py class TestBackendServicer (line 13) | class TestBackendServicer(unittest.TestCase): method setUp (line 17) | def setUp(self): method tearDown (line 24) | def tearDown(self) -> None: method test_server_startup (line 31) | def test_server_startup(self): method test_load_model (line 47) | def test_load_model(self): method test_tts (line 65) | def test_tts(self): FILE: backend/python/mlx-audio/backend.py function is_float (line 23) | def is_float(s): function is_int (line 30) | def is_int(s): class BackendServicer (line 44) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 50) | def Health(self, request, context): method LoadModel (line 63) | async def LoadModel(self, request, context): method TTS (line 117) | def TTS(self, request, context): method Predict (line 218) | async def Predict(self, request, context): method _handle_speed_parameter (line 299) | def _handle_speed_parameter(self, request, model_path): method _map_language_code (line 346) | def _map_language_code(self, language, voice): method _build_generation_params (line 378) | def _build_generation_params(self, request, default_speed=1.0): function serve (line 432) | async def serve(address): FILE: backend/python/mlx-audio/test.py class TestBackendServicer (line 16) | class TestBackendServicer(unittest.TestCase): method setUp (line 22) | def setUp(self): method tearDown (line 26) | def tearDown(self) -> None: method test_server_startup (line 30) | def test_server_startup(self): method test_load_model (line 42) | def test_load_model(self): method test_tts_generation (line 59) | def test_tts_generation(self): method test_tts_with_options (line 86) | def test_tts_with_options(self): method test_tts_multilingual (line 117) | def test_tts_multilingual(self): FILE: backend/python/mlx-distributed/backend.py function mlx_distributed_init (line 33) | def mlx_distributed_init(rank, hostfile, backend="ring", coordinator=None): function is_float (line 61) | def is_float(s): function is_int (line 69) | def is_int(s): function parse_options (line 77) | def parse_options(options): class BackendServicer (line 94) | class BackendServicer(backend_pb2_grpc.BackendServicer): method __init__ (line 101) | def __init__(self): method Health (line 112) | def Health(self, request, context): method LoadModel (line 115) | async def LoadModel(self, request, context): method Predict (line 193) | async def Predict(self, request, context): method PredictStream (line 260) | async def PredictStream(self, request, context): method Embedding (line 328) | def Embedding(self, request, context): method _prepare_prompt (line 334) | def _prepare_prompt(self, request): method _get_tokens_from_prompt (line 342) | def _get_tokens_from_prompt(self, prompt_text: str) -> List[int]: method _build_generation_params (line 348) | def _build_generation_params(self, request, default_max_tokens=200): function run_worker (line 410) | def run_worker(group): function serve (line 463) | async def serve(address): FILE: backend/python/mlx-distributed/coordinator.py class DistributedCoordinator (line 19) | class DistributedCoordinator: method __init__ (line 20) | def __init__(self, group): method broadcast_command (line 25) | def broadcast_command(self, cmd, payload_size=0): method broadcast_tokens (line 39) | def broadcast_tokens(self, tokens): method broadcast_token_count (line 53) | def broadcast_token_count(self, count): method broadcast_generation_params (line 63) | def broadcast_generation_params(self, max_tokens=200, temperature=0.6,... method wait_for_command (line 77) | def wait_for_command(self): method broadcast_model_name (line 81) | def broadcast_model_name(self, model_name=""): FILE: backend/python/mlx-distributed/mlx_cache.py class CacheEntry (line 26) | class CacheEntry: class SearchResult (line 33) | class SearchResult: class ThreadSafeLRUPromptCache (line 42) | class ThreadSafeLRUPromptCache: method __init__ (line 61) | def __init__( method _search (line 76) | def _search(self, model, tokens: List[int]) -> SearchResult: method _get (line 129) | def _get(self, model, tokens: Tuple[int, ...]) -> CacheEntry: method _delete (line 136) | def _delete(self, model, tokens: Tuple[int, ...]) -> None: method _extract (line 150) | def _extract(self, model, tokens: Tuple[int, ...]) -> CacheEntry: method fetch_nearest_cache (line 169) | def fetch_nearest_cache( method insert_cache (line 216) | def insert_cache( method clear (line 257) | def clear(self) -> None: method __len__ (line 263) | def __len__(self) -> int: FILE: backend/python/mlx-distributed/sharding.py class PipelineFirstLayer (line 12) | class PipelineFirstLayer(nn.Module): method __init__ (line 15) | def __init__(self, original_layer, rank, group): method original_layer (line 22) | def original_layer(self): method __getattr__ (line 25) | def __getattr__(self, name): method __call__ (line 31) | def __call__(self, x, *args, **kwargs): class PipelineLastLayer (line 39) | class PipelineLastLayer(nn.Module): method __init__ (line 42) | def __init__(self, original_layer, rank, world_size, group): method original_layer (line 50) | def original_layer(self): method __getattr__ (line 53) | def __getattr__(self, name): method __call__ (line 59) | def __call__(self, x, *args, **kwargs): function get_inner_model (line 75) | def get_inner_model(model): function get_layers (line 88) | def get_layers(inner_model): function pipeline_auto_parallel (line 97) | def pipeline_auto_parallel(model, group, start_layer=None, end_layer=None): FILE: backend/python/mlx-distributed/test.py class TestBackendServicer (line 10) | class TestBackendServicer(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 17) | def tearDown(self) -> None: method test_server_startup (line 21) | def test_server_startup(self): method test_load_model (line 34) | def test_load_model(self): method test_text (line 48) | def test_text(self): method test_sampling_params (line 64) | def test_sampling_params(self): FILE: backend/python/mlx-vlm/backend.py function is_float (line 24) | def is_float(s): function is_int (line 31) | def is_int(s): class BackendServicer (line 45) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 50) | def Health(self, request, context): method LoadModel (line 63) | async def LoadModel(self, request, context): method Predict (line 114) | async def Predict(self, request, context): method Embedding (line 180) | def Embedding(self, request, context): method PredictStream (line 198) | async def PredictStream(self, request, context): method _prepare_prompt (line 262) | def _prepare_prompt(self, request, num_images=0, num_audios=0): method _build_generation_params (line 324) | def _build_generation_params(self, request, default_max_tokens=200): method load_image_from_base64 (line 383) | def load_image_from_base64(self, image_data: str): method load_audio_from_base64 (line 406) | def load_audio_from_base64(self, audio_data: str): method cleanup_temp_files (line 428) | def cleanup_temp_files(self, file_paths: List[str]): function serve (line 442) | async def serve(address): FILE: backend/python/mlx-vlm/test.py class TestBackendServicer (line 16) | class TestBackendServicer(unittest.TestCase): method setUp (line 22) | def setUp(self): method tearDown (line 26) | def tearDown(self) -> None: method test_server_startup (line 30) | def test_server_startup(self): method test_load_model (line 42) | def test_load_model(self): method test_text (line 59) | def test_text(self): method test_sampling_params (line 78) | def test_sampling_params(self): method test_embedding (line 125) | def test_embedding(self): FILE: backend/python/mlx/backend.py function is_float (line 29) | def is_float(s): function is_int (line 36) | def is_int(s): class BackendServicer (line 45) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 50) | def Health(self, request, context): method LoadModel (line 63) | async def LoadModel(self, request, context): method Predict (line 141) | async def Predict(self, request, context): method Embedding (line 202) | def Embedding(self, request, context): method PredictStream (line 220) | async def PredictStream(self, request, context): method _prepare_prompt (line 283) | def _prepare_prompt(self, request): method _get_tokens_from_prompt (line 309) | def _get_tokens_from_prompt(self, prompt_text: str) -> List[int]: method _build_generation_params (line 328) | def _build_generation_params(self, request, default_max_tokens=200): function serve (line 417) | async def serve(address): FILE: backend/python/mlx/mlx_cache.py class CacheEntry (line 26) | class CacheEntry: class SearchResult (line 33) | class SearchResult: class ThreadSafeLRUPromptCache (line 42) | class ThreadSafeLRUPromptCache: method __init__ (line 61) | def __init__( method _search (line 76) | def _search(self, model, tokens: List[int]) -> SearchResult: method _get (line 129) | def _get(self, model, tokens: Tuple[int, ...]) -> CacheEntry: method _delete (line 136) | def _delete(self, model, tokens: Tuple[int, ...]) -> None: method _extract (line 150) | def _extract(self, model, tokens: Tuple[int, ...]) -> CacheEntry: method fetch_nearest_cache (line 169) | def fetch_nearest_cache( method insert_cache (line 216) | def insert_cache( method clear (line 257) | def clear(self) -> None: method __len__ (line 263) | def __len__(self) -> int: FILE: backend/python/mlx/test.py class TestBackendServicer (line 9) | class TestBackendServicer(unittest.TestCase): method setUp (line 15) | def setUp(self): method tearDown (line 19) | def tearDown(self) -> None: method test_server_startup (line 23) | def test_server_startup(self): method test_load_model (line 35) | def test_load_model(self): method test_text (line 52) | def test_text(self): method test_sampling_params (line 71) | def test_sampling_params(self): method test_embedding (line 105) | def test_embedding(self): method test_concurrent_requests (line 128) | def test_concurrent_requests(self): method test_cache_reuse (line 170) | def test_cache_reuse(self): method test_prefix_cache_reuse (line 202) | def test_prefix_cache_reuse(self): FILE: backend/python/mlx/test_mlx_cache.py class TestCacheExactMatch (line 21) | class TestCacheExactMatch(unittest.TestCase): method setUp (line 24) | def setUp(self): method test_exact_match_returns_cache_and_empty_remaining (line 27) | def test_exact_match_returns_cache_and_empty_remaining(self): method test_exact_match_extracts_and_removes_from_cache (line 38) | def test_exact_match_extracts_and_removes_from_cache(self): class TestCacheShorterPrefix (line 57) | class TestCacheShorterPrefix(unittest.TestCase): method setUp (line 60) | def setUp(self): method test_shorter_prefix_returns_cache_with_remaining_tokens (line 63) | def test_shorter_prefix_returns_cache_with_remaining_tokens(self): method test_shorter_prefix_correct_remaining_calculation (line 75) | def test_shorter_prefix_correct_remaining_calculation(self): method test_single_token_prefix_not_matched (line 95) | def test_single_token_prefix_not_matched(self): class TestCacheLongerPrefix (line 112) | class TestCacheLongerPrefix(unittest.TestCase): method setUp (line 115) | def setUp(self): method test_longer_prefix_triggers_trim (line 133) | def test_longer_prefix_triggers_trim(self): method test_longer_prefix_without_trim_fn_returns_no_match (line 146) | def test_longer_prefix_without_trim_fn_returns_no_match(self): method test_longer_prefix_can_trim_false_returns_no_match (line 160) | def test_longer_prefix_can_trim_false_returns_no_match(self): class TestCacheNoMatch (line 175) | class TestCacheNoMatch(unittest.TestCase): method setUp (line 178) | def setUp(self): method test_empty_cache_returns_none (line 181) | def test_empty_cache_returns_none(self): method test_different_prefix_returns_none (line 189) | def test_different_prefix_returns_none(self): method test_partial_prefix_mismatch_returns_none (line 199) | def test_partial_prefix_mismatch_returns_none(self): method test_wrong_model_returns_none (line 209) | def test_wrong_model_returns_none(self): class TestCacheLRUEviction (line 219) | class TestCacheLRUEviction(unittest.TestCase): method setUp (line 222) | def setUp(self): method test_evicts_oldest_when_full (line 225) | def test_evicts_oldest_when_full(self): method test_access_updates_lru_order (line 250) | def test_access_updates_lru_order(self): class TestCacheReferenceCount (line 274) | class TestCacheReferenceCount(unittest.TestCase): method setUp (line 277) | def setUp(self): method test_multiple_inserts_increment_count (line 280) | def test_multiple_inserts_increment_count(self): method test_extract_with_high_count_returns_deep_copy (line 306) | def test_extract_with_high_count_returns_deep_copy(self): class TestCacheMultiModel (line 324) | class TestCacheMultiModel(unittest.TestCase): method setUp (line 327) | def setUp(self): method test_same_tokens_different_models_are_separate (line 330) | def test_same_tokens_different_models_are_separate(self): method test_eviction_across_models (line 345) | def test_eviction_across_models(self): class TestCacheThreadSafety (line 362) | class TestCacheThreadSafety(unittest.TestCase): method test_concurrent_inserts_no_data_loss (line 365) | def test_concurrent_inserts_no_data_loss(self): method test_concurrent_fetch_and_insert_no_corruption (line 384) | def test_concurrent_fetch_and_insert_no_corruption(self): method test_concurrent_operations_maintain_cache_bounds (line 420) | def test_concurrent_operations_maintain_cache_bounds(self): class TestCacheClear (line 449) | class TestCacheClear(unittest.TestCase): method setUp (line 452) | def setUp(self): method test_clear_removes_all_entries (line 455) | def test_clear_removes_all_entries(self): method test_clear_allows_new_inserts (line 467) | def test_clear_allows_new_inserts(self): FILE: backend/python/moonshine/backend.py class BackendServicer (line 28) | class BackendServicer(backend_pb2_grpc.BackendServicer): method __init__ (line 32) | def __init__(self): method Health (line 36) | def Health(self, request, context): method LoadModel (line 39) | def LoadModel(self, request, context): method AudioTranscription (line 79) | def AudioTranscription(self, request, context): function serve (line 125) | def serve(address): FILE: backend/python/moonshine/test.py class TestBackendServicer (line 16) | class TestBackendServicer(unittest.TestCase): method setUp (line 20) | def setUp(self): method tearDown (line 27) | def tearDown(self) -> None: method test_server_startup (line 34) | def test_server_startup(self): method test_load_model (line 50) | def test_load_model(self): method test_audio_transcription (line 67) | def test_audio_transcription(self): FILE: backend/python/nemo/backend.py function is_float (line 19) | def is_float(s): function is_int (line 27) | def is_int(s): class BackendServicer (line 39) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 40) | def Health(self, request, context): method LoadModel (line 43) | def LoadModel(self, request, context): method AudioTranscription (line 83) | def AudioTranscription(self, request, context): function serve (line 115) | def serve(address): FILE: backend/python/nemo/test.py class TestBackendServicer (line 19) | class TestBackendServicer(unittest.TestCase): method setUp (line 20) | def setUp(self): method tearDown (line 24) | def tearDown(self): method test_server_startup (line 28) | def test_server_startup(self): method test_load_model (line 41) | def test_load_model(self): method test_audio_transcription (line 56) | def test_audio_transcription(self): FILE: backend/python/neutts/backend.py function is_float (line 19) | def is_float(s): function is_int (line 26) | def is_int(s): class BackendServicer (line 40) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 44) | def Health(self, request, context): method LoadModel (line 46) | def LoadModel(self, request, context): method TTS (line 111) | def TTS(self, request, context): function serve (line 127) | def serve(address): FILE: backend/python/neutts/test.py class TestBackendServicer (line 13) | class TestBackendServicer(unittest.TestCase): method setUp (line 17) | def setUp(self): method tearDown (line 24) | def tearDown(self) -> None: method test_server_startup (line 31) | def test_server_startup(self): method test_load_model (line 47) | def test_load_model(self): method test_tts (line 65) | def test_tts(self): FILE: backend/python/outetts/backend.py class BackendServicer (line 24) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 25) | def Health(self, request, context): method LoadModel (line 28) | def LoadModel(self, request, context): method TTS (line 92) | def TTS(self, request, context): function serve (line 112) | async def serve(address): FILE: backend/python/outetts/test.py class TestBackendServicer (line 13) | class TestBackendServicer(unittest.TestCase): method setUp (line 14) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_health (line 22) | def test_health(self): FILE: backend/python/pocket-tts/backend.py function is_float (line 20) | def is_float(s): function is_int (line 28) | def is_int(s): class BackendServicer (line 42) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 46) | def Health(self, request, context): method LoadModel (line 49) | def LoadModel(self, request, context): method _get_voice_state (line 120) | def _get_voice_state(self, voice_input): method TTS (line 149) | def TTS(self, request, context): function serve (line 222) | def serve(address): FILE: backend/python/pocket-tts/test.py class TestBackendServicer (line 15) | class TestBackendServicer(unittest.TestCase): method setUp (line 19) | def setUp(self): method tearDown (line 26) | def tearDown(self) -> None: method test_server_startup (line 33) | def test_server_startup(self): method test_load_model (line 49) | def test_load_model(self): method test_tts_with_hf_voice (line 67) | def test_tts_with_hf_voice(self): method test_tts_with_default_voice (line 104) | def test_tts_with_default_voice(self): FILE: backend/python/qwen-asr/backend.py function is_float (line 19) | def is_float(s): function is_int (line 27) | def is_int(s): class BackendServicer (line 39) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 40) | def Health(self, request, context): method LoadModel (line 43) | def LoadModel(self, request, context): method AudioTranscription (line 133) | def AudioTranscription(self, request, context): function serve (line 180) | def serve(address): FILE: backend/python/qwen-asr/test.py class TestBackendServicer (line 19) | class TestBackendServicer(unittest.TestCase): method setUp (line 20) | def setUp(self): method tearDown (line 24) | def tearDown(self): method test_server_startup (line 28) | def test_server_startup(self): method test_load_model (line 41) | def test_load_model(self): method test_audio_transcription (line 56) | def test_audio_transcription(self): FILE: backend/python/qwen-tts/backend.py function is_float (line 28) | def is_float(s): function is_int (line 37) | def is_int(s): class BackendServicer (line 53) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 58) | def Health(self, request, context): method LoadModel (line 61) | def LoadModel(self, request, context): method _detect_mode (line 321) | def _detect_mode(self, request): method _get_ref_audio_path (line 344) | def _get_ref_audio_path(self, request, voice_name=None): method _get_voice_clone_prompt (line 394) | def _get_voice_clone_prompt(self, request, ref_audio, ref_text): method _is_text_file_path (line 428) | def _is_text_file_path(self, text): method _read_text_file (line 438) | def _read_text_file(self, file_path): method _compute_file_hash (line 494) | def _compute_file_hash(self, file_path): method _compute_string_hash (line 508) | def _compute_string_hash(self, text): method _get_cached_voice_clone_prompt_from_disk (line 512) | def _get_cached_voice_clone_prompt_from_disk(self, ref_audio, ref_text... method _save_voice_clone_prompt_to_disk (line 556) | def _save_voice_clone_prompt_to_disk( method _get_voice_cache_key (line 585) | def _get_voice_cache_key(self, ref_audio, ref_text): method _preload_cached_voices (line 589) | def _preload_cached_voices(self): method TTS (line 646) | def TTS(self, request, context): function serve (line 895) | def serve(address): FILE: backend/python/qwen-tts/test.py class TestBackendServicer (line 17) | class TestBackendServicer(unittest.TestCase): method setUp (line 21) | def setUp(self): method tearDown (line 33) | def tearDown(self) -> None: method test_tts (line 57) | def test_tts(self): FILE: backend/python/rerankers/backend.py class BackendServicer (line 26) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 32) | def Health(self, request, context): method LoadModel (line 45) | def LoadModel(self, request, context): method Rerank (line 72) | def Rerank(self, request, context): function serve (line 94) | def serve(address): FILE: backend/python/rerankers/test.py class TestBackendServicer (line 13) | class TestBackendServicer(unittest.TestCase): method setUp (line 17) | def setUp(self): method tearDown (line 24) | def tearDown(self) -> None: method test_server_startup (line 31) | def test_server_startup(self): method test_load_model (line 47) | def test_load_model(self): method test_rerank (line 64) | def test_rerank(self): method test_rerank_omit_top_n (line 92) | def test_rerank_omit_top_n(self): method test_rerank_crop (line 120) | def test_rerank_crop(self): FILE: backend/python/rfdetr/backend.py class BackendServicer (line 30) | class BackendServicer(backend_pb2_grpc.BackendServicer): method __init__ (line 37) | def __init__(self): method Health (line 41) | def Health(self, request, context): method LoadModel (line 54) | def LoadModel(self, request, context): method Detect (line 76) | def Detect(self, request, context): method Status (line 122) | def Status(self, request, context): function serve (line 136) | def serve(address): FILE: backend/python/transformers/backend.py function mean_pooling (line 36) | def mean_pooling(model_output, attention_mask): class BackendServicer (line 48) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 54) | def Health(self, request, context): method LoadModel (line 67) | def LoadModel(self, request, context): method Embedding (line 282) | def Embedding(self, request, context): method _predict (line 320) | async def _predict(self, request, context, streaming=False): method Predict (line 415) | async def Predict(self, request, context): method PredictStream (line 430) | async def PredictStream(self, request, context): method SoundGeneration (line 448) | def SoundGeneration(self, request, context): method CallDiaTTS (line 505) | def CallDiaTTS(self, request, context): method TTS (line 551) | def TTS(self, request, context): function serve (line 583) | async def serve(address): FILE: backend/python/transformers/test.py class TestBackendServicer (line 13) | class TestBackendServicer(unittest.TestCase): method setUp (line 17) | def setUp(self): method tearDown (line 24) | def tearDown(self) -> None: method test_server_startup (line 31) | def test_server_startup(self): method test_load_model (line 47) | def test_load_model(self): method test_embedding (line 64) | def test_embedding(self): method test_audio_load_model (line 84) | def test_audio_load_model(self): method test_tts (line 101) | def test_tts(self): method test_sound_generation (line 120) | def test_sound_generation(self): method test_embed_load_model (line 139) | def test_embed_load_model(self): method test_sentencetransformers_embedding (line 156) | def test_sentencetransformers_embedding(self): FILE: backend/python/vibevoice/backend.py function is_float (line 24) | def is_float(s): function is_int (line 31) | def is_int(s): class BackendServicer (line 45) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 49) | def Health(self, request, context): method LoadModel (line 52) | def LoadModel(self, request, context): method _load_voice_presets (line 367) | def _load_voice_presets(self): method _determine_voice_key (line 394) | def _determine_voice_key(self, name): method _get_voice_path (line 412) | def _get_voice_path(self, speaker_name): method _ensure_voice_cached (line 438) | def _ensure_voice_cached(self, voice_path): method TTS (line 471) | def TTS(self, request, context): method AudioTranscription (line 580) | def AudioTranscription(self, request, context): function serve (line 721) | def serve(address): FILE: backend/python/vibevoice/test.py class TestBackendServicer (line 20) | class TestBackendServicer(unittest.TestCase): method setUp (line 24) | def setUp(self): method tearDown (line 31) | def tearDown(self) -> None: method test_server_startup (line 38) | def test_server_startup(self): method test_load_tts_model (line 54) | def test_load_tts_model(self): method test_load_asr_model (line 73) | def test_load_asr_model(self): method test_tts (line 98) | def test_tts(self): method test_audio_transcription (line 138) | def test_audio_transcription(self): FILE: backend/python/vllm-omni/backend.py function is_float (line 44) | def is_float(s): function is_int (line 53) | def is_int(s): class BackendServicer (line 63) | class BackendServicer(backend_pb2_grpc.BackendServicer): method _detect_model_type (line 65) | def _detect_model_type(self, model_name): method _detect_tts_task_type (line 80) | def _detect_tts_task_type(self): method _load_image (line 93) | def _load_image(self, image_path): method _load_video (line 105) | def _load_video(self, video_path): method _load_audio (line 122) | def _load_audio(self, audio_path): method Health (line 142) | def Health(self, request, context): method LoadModel (line 145) | def LoadModel(self, request, context): method GenerateImage (line 251) | def GenerateImage(self, request, context): method GenerateVideo (line 327) | def GenerateVideo(self, request, context): method Predict (line 438) | def Predict(self, request, context): method PredictStream (line 447) | def PredictStream(self, request, context): method _predict (line 451) | def _predict(self, request, context, streaming=False): method TTS (line 558) | def TTS(self, request, context): function serve (line 647) | def serve(address): FILE: backend/python/vllm-omni/test.py class TestBackendServicer (line 9) | class TestBackendServicer(unittest.TestCase): method setUp (line 15) | def setUp(self): method tearDown (line 19) | def tearDown(self) -> None: method test_server_startup (line 23) | def test_server_startup(self): method test_load_model (line 36) | def test_load_model(self): method test_generate_image (line 54) | def test_generate_image(self): FILE: backend/python/vllm/backend.py class BackendServicer (line 31) | class BackendServicer(backend_pb2_grpc.BackendServicer): method generate (line 35) | def generate(self,prompt, max_new_tokens): method Health (line 68) | def Health(self, request, context): method LoadModel (line 81) | async def LoadModel(self, request, context): method Predict (line 143) | async def Predict(self, request, context): method Embedding (line 158) | def Embedding(self, request, context): method PredictStream (line 178) | async def PredictStream(self, request, context): method _predict (line 196) | async def _predict(self, request, context, streaming=False): method load_image (line 293) | def load_image(self, image_path: str): method load_video (line 312) | def load_video(self, video_path: str): function serve (line 334) | async def serve(address): FILE: backend/python/vllm/test.py class TestBackendServicer (line 16) | class TestBackendServicer(unittest.TestCase): method setUp (line 22) | def setUp(self): method tearDown (line 26) | def tearDown(self) -> None: method test_server_startup (line 30) | def test_server_startup(self): method test_load_model (line 42) | def test_load_model(self): method test_text (line 59) | def test_text(self): method test_sampling_params (line 78) | def test_sampling_params(self): method test_embedding (line 125) | def test_embedding(self): FILE: backend/python/voxcpm/backend.py function is_float (line 22) | def is_float(s): function is_int (line 30) | def is_int(s): class BackendServicer (line 44) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 48) | def Health(self, request, context): method LoadModel (line 51) | def LoadModel(self, request, context): method TTS (line 112) | def TTS(self, request, context): method TTSStream (line 210) | def TTSStream(self, request, context): function serve (line 294) | def serve(address): FILE: backend/python/voxcpm/test.py class TestBackendServicer (line 13) | class TestBackendServicer(unittest.TestCase): method setUp (line 17) | def setUp(self): method tearDown (line 24) | def tearDown(self) -> None: method test_load_model (line 31) | def test_load_model(self): method test_tts_stream (line 53) | def test_tts_stream(self): FILE: backend/python/whisperx/backend.py class BackendServicer (line 24) | class BackendServicer(backend_pb2_grpc.BackendServicer): method Health (line 28) | def Health(self, request, context): method LoadModel (line 31) | def LoadModel(self, request, context): method _get_align_model (line 65) | def _get_align_model(self, language_code): method AudioTranscription (line 76) | def AudioTranscription(self, request, context): function serve (line 134) | def serve(address): FILE: backend/python/whisperx/test.py class TestBackendServicer (line 16) | class TestBackendServicer(unittest.TestCase): method setUp (line 20) | def setUp(self): method tearDown (line 27) | def tearDown(self) -> None: method test_server_startup (line 34) | def test_server_startup(self): method test_load_model (line 50) | def test_load_model(self): method test_audio_transcription (line 67) | def test_audio_transcription(self): FILE: cmd/launcher/internal/launcher.go type Config (line 26) | type Config struct type Launcher (line 38) | type Launcher struct method setupLogging (line 78) | func (l *Launcher) setupLogging() error { method Initialize (line 100) | func (l *Launcher) Initialize() error { method StartLocalAI (line 189) | func (l *Launcher) StartLocalAI() error { method StopLocalAI (line 293) | func (l *Launcher) StopLocalAI() error { method IsRunning (line 315) | func (l *Launcher) IsRunning() bool { method Shutdown (line 320) | func (l *Launcher) Shutdown() error { method GetLogs (line 343) | func (l *Launcher) GetLogs() string { method GetRecentLogs (line 350) | func (l *Launcher) GetRecentLogs() string { method GetConfig (line 366) | func (l *Launcher) GetConfig() *Config { method SetConfig (line 371) | func (l *Launcher) SetConfig(config *Config) error { method GetUI (line 376) | func (l *Launcher) GetUI() *LauncherUI { method SetSystray (line 380) | func (l *Launcher) SetSystray(systray *SystrayManager) { method GetReleaseManager (line 385) | func (l *Launcher) GetReleaseManager() *ReleaseManager { method GetWebUIURL (line 390) | func (l *Launcher) GetWebUIURL() string { method GetDataPath (line 402) | func (l *Launcher) GetDataPath() string { method CheckForUpdates (line 419) | func (l *Launcher) CheckForUpdates() (bool, string, error) { method DownloadUpdate (line 432) | func (l *Launcher) DownloadUpdate(version string, progressCallback fun... method GetCurrentVersion (line 437) | func (l *Launcher) GetCurrentVersion() string { method GetCurrentStatus (line 442) | func (l *Launcher) GetCurrentStatus() string { method GetLastStatus (line 455) | func (l *Launcher) GetLastStatus() string { method githubReleaseNotesURL (line 468) | func (l *Launcher) githubReleaseNotesURL(version string) (*url.URL, er... method showDownloadLocalAIDialog (line 480) | func (l *Launcher) showDownloadLocalAIDialog() { method downloadAndInstallLocalAI (line 556) | func (l *Launcher) downloadAndInstallLocalAI() { method showDownloadError (line 585) | func (l *Launcher) showDownloadError(title, message string) { method showDownloadProgress (line 624) | func (l *Launcher) showDownloadProgress(version, title string) { method monitorLogs (line 704) | func (l *Launcher) monitorLogs(reader io.Reader, prefix string) { method updateStatus (line 746) | func (l *Launcher) updateStatus(status string) { method updateRunningState (line 763) | func (l *Launcher) updateRunningState(isRunning bool) { method periodicUpdateCheck (line 774) | func (l *Launcher) periodicUpdateCheck() { method loadConfig (line 800) | func (l *Launcher) loadConfig() error { method saveConfig (line 837) | func (l *Launcher) saveConfig() error { function NewLauncher (line 64) | func NewLauncher(ui *LauncherUI, window fyne.Window, app fyne.App) *Laun... FILE: cmd/launcher/internal/launcher_suite_test.go function TestLauncher (line 10) | func TestLauncher(t *testing.T) { FILE: cmd/launcher/internal/release_manager.go type Release (line 23) | type Release struct type Asset (line 32) | type Asset struct type ReleaseManager (line 39) | type ReleaseManager struct method GetLatestRelease (line 77) | func (rm *ReleaseManager) GetLatestRelease() (*Release, error) { method DownloadRelease (line 110) | func (rm *ReleaseManager) DownloadRelease(version string, progressCall... method GetBinaryName (line 181) | func (rm *ReleaseManager) GetBinaryName(version string) string { method downloadFile (line 200) | func (rm *ReleaseManager) downloadFile(url, filepath string, progressC... method downloadFileWithRetry (line 205) | func (rm *ReleaseManager) downloadFileWithRetry(url, filepath string, ... method saveChecksums (line 259) | func (rm *ReleaseManager) saveChecksums(version, checksumPath, binaryN... method saveVersionMetadata (line 293) | func (rm *ReleaseManager) saveVersionMetadata(version string) error { method VerifyChecksum (line 345) | func (rm *ReleaseManager) VerifyChecksum(filePath, checksumPath, binar... method GetInstalledVersion (line 386) | func (rm *ReleaseManager) GetInstalledVersion() string { method loadVersionMetadata (line 414) | func (rm *ReleaseManager) loadVersionMetadata() string { method GetBinaryPath (line 452) | func (rm *ReleaseManager) GetBinaryPath() string { method IsUpdateAvailable (line 457) | func (rm *ReleaseManager) IsUpdateAvailable() (bool, string, error) { method IsLocalAIInstalled (line 482) | func (rm *ReleaseManager) IsLocalAIInstalled() bool { method VerifyInstalledBinary (line 502) | func (rm *ReleaseManager) VerifyInstalledBinary() error { method CleanupPartialDownloads (line 524) | func (rm *ReleaseManager) CleanupPartialDownloads() error { method clearVersionMetadata (line 552) | func (rm *ReleaseManager) clearVersionMetadata() { function NewReleaseManager (line 57) | func NewReleaseManager() *ReleaseManager { type progressReader (line 327) | type progressReader struct method Read (line 334) | func (pr *progressReader) Read(p []byte) (int, error) { FILE: cmd/launcher/internal/systray_manager.go type SystrayManager (line 16) | type SystrayManager struct method setupMenu (line 43) | func (sm *SystrayManager) setupMenu(desk desktop.App) { method toggleLocalAI (line 58) | func (sm *SystrayManager) toggleLocalAI() { method openWebUI (line 77) | func (sm *SystrayManager) openWebUI() { method openDocumentation (line 89) | func (sm *SystrayManager) openDocumentation() { method updateStartStopItem (line 96) | func (sm *SystrayManager) updateStartStopItem() { method recreateMenu (line 102) | func (sm *SystrayManager) recreateMenu() { method UpdateRunningState (line 205) | func (sm *SystrayManager) UpdateRunningState(isRunning bool) { method UpdateStatus (line 210) | func (sm *SystrayManager) UpdateStatus(status string) { method checkForUpdates (line 215) | func (sm *SystrayManager) checkForUpdates() { method downloadUpdate (line 234) | func (sm *SystrayManager) downloadUpdate() { method showSettings (line 244) | func (sm *SystrayManager) showSettings() { method showWelcomeWindow (line 250) | func (sm *SystrayManager) showWelcomeWindow() { method openDataFolder (line 257) | func (sm *SystrayManager) openDataFolder() { method NotifyUpdateAvailable (line 265) | func (sm *SystrayManager) NotifyUpdateAvailable(version string) { method truncateText (line 272) | func (sm *SystrayManager) truncateText(text string, maxLength int) str... method showStatusDetails (line 280) | func (sm *SystrayManager) showStatusDetails(status, version string) { method showErrorDialog (line 383) | func (sm *SystrayManager) showErrorDialog(title, message string) { method showStartupErrorDialog (line 390) | func (sm *SystrayManager) showStartupErrorDialog(err error) { method showDownloadProgress (line 447) | func (sm *SystrayManager) showDownloadProgress(version string) { function NewSystrayManager (line 30) | func NewSystrayManager(launcher *Launcher, window fyne.Window, desktop d... FILE: cmd/launcher/internal/ui.go type EnvVar (line 15) | type EnvVar struct type LauncherUI (line 21) | type LauncherUI struct method CreateMainUI (line 78) | func (ui *LauncherUI) CreateMainUI(launcher *Launcher) *fyne.Container { method createConfigTab (line 95) | func (ui *LauncherUI) createConfigTab() *fyne.Container { method createEnvironmentSection (line 132) | func (ui *LauncherUI) createEnvironmentSection() *fyne.Container { method addEnvironmentVariable (line 194) | func (ui *LauncherUI) addEnvironmentVariable() { method removeEnvironmentVariable (line 235) | func (ui *LauncherUI) removeEnvironmentVariable(index int) { method saveEnvironmentVariables (line 248) | func (ui *LauncherUI) saveEnvironmentVariables() { method confirmDeleteEnvironmentVariable (line 275) | func (ui *LauncherUI) confirmDeleteEnvironmentVariable(index int) { method setupBindings (line 289) | func (ui *LauncherUI) setupBindings() { method startLocalAI (line 321) | func (ui *LauncherUI) startLocalAI() { method stopLocalAI (line 347) | func (ui *LauncherUI) stopLocalAI() { method openWebUI (line 372) | func (ui *LauncherUI) openWebUI() { method saveConfiguration (line 385) | func (ui *LauncherUI) saveConfiguration() { method checkForUpdates (line 418) | func (ui *LauncherUI) checkForUpdates() { method downloadUpdate (line 453) | func (ui *LauncherUI) downloadUpdate() { method UpdateStatus (line 521) | func (ui *LauncherUI) UpdateStatus(status string) { method OnLogUpdate (line 530) | func (ui *LauncherUI) OnLogUpdate(logLine string) { method NotifyUpdateAvailable (line 543) | func (ui *LauncherUI) NotifyUpdateAvailable(version string) { method LoadConfiguration (line 558) | func (ui *LauncherUI) LoadConfiguration() { method showDownloadProgress (line 594) | func (ui *LauncherUI) showDownloadProgress(version, title string) { method UpdateRunningState (line 667) | func (ui *LauncherUI) UpdateRunningState(isRunning bool) { method ShowWelcomeWindow (line 680) | func (ui *LauncherUI) ShowWelcomeWindow() { method openURL (line 788) | func (ui *LauncherUI) openURL(urlString string) { function NewLauncherUI (line 59) | func NewLauncherUI() *LauncherUI { FILE: cmd/launcher/main.go function main (line 13) | func main() { FILE: cmd/local-ai/main.go function main (line 16) | func main() { FILE: core/application/agent_jobs.go method RestartAgentJobService (line 11) | func (a *Application) RestartAgentJobService() error { FILE: core/application/application.go type Application (line 17) | type Application struct method ModelConfigLoader (line 51) | func (a *Application) ModelConfigLoader() *config.ModelConfigLoader { method ModelLoader (line 55) | func (a *Application) ModelLoader() *model.ModelLoader { method ApplicationConfig (line 59) | func (a *Application) ApplicationConfig() *config.ApplicationConfig { method TemplatesEvaluator (line 63) | func (a *Application) TemplatesEvaluator() *templates.Evaluator { method GalleryService (line 67) | func (a *Application) GalleryService() *services.GalleryService { method AgentJobService (line 71) | func (a *Application) AgentJobService() *services.AgentJobService { method AgentPoolService (line 75) | func (a *Application) AgentPoolService() *services.AgentPoolService { method AuthDB (line 80) | func (a *Application) AuthDB() *gorm.DB { method StartupConfig (line 85) | func (a *Application) StartupConfig() *config.ApplicationConfig { method start (line 89) | func (a *Application) start() error { method StartAgentPool (line 119) | func (a *Application) StartAgentPool() { function newApplication (line 35) | func newApplication(appConfig *config.ApplicationConfig) *Application { FILE: core/application/config_file_watcher.go type fileHandler (line 18) | type fileHandler type configFileHandler (line 20) | type configFileHandler struct method Register (line 52) | func (c *configFileHandler) Register(filename string, handler fileHand... method callHandler (line 64) | func (c *configFileHandler) callHandler(filename string, handler fileH... method Watch (line 77) | func (c *configFileHandler) Watch() error { method Stop (line 133) | func (c *configFileHandler) Stop() error { function newConfigFileHandler (line 30) | func newConfigFileHandler(appConfig *config.ApplicationConfig) configFil... function readApiKeysJson (line 137) | func readApiKeysJson(startupAppConfig config.ApplicationConfig) fileHand... function readExternalBackendsJson (line 163) | func readExternalBackendsJson(startupAppConfig config.ApplicationConfig)... function readRuntimeSettingsJson (line 188) | func readRuntimeSettingsJson(startupAppConfig config.ApplicationConfig) ... FILE: core/application/p2p.go method StopP2P (line 20) | func (a *Application) StopP2P() error { method StartP2P (line 31) | func (a *Application) StartP2P() error { method RestartP2P (line 129) | func (a *Application) RestartP2P() error { function syncState (line 172) | func syncState(ctx context.Context, n *node.Node, app *Application) error { method p2pSync (line 242) | func (a *Application) p2pSync(ctx context.Context, n *node.Node) error { FILE: core/application/startup.go function New (line 25) | func New(opts ...config.AppOption) (*Application, error) { function startWatcher (line 222) | func startWatcher(options *config.ApplicationConfig) { function loadRuntimeSettingsFromFile (line 264) | func loadRuntimeSettingsFromFile(options *config.ApplicationConfig) { function initializeWatchdog (line 451) | func initializeWatchdog(application *Application, options *config.Applic... function loadOrGenerateHMACSecret (line 493) | func loadOrGenerateHMACSecret(path string) (string, error) { function migrateDataFiles (line 518) | func migrateDataFiles(srcDir, dstDir string) { FILE: core/application/watchdog.go method StopWatchdog (line 8) | func (a *Application) StopWatchdog() error { method startWatchdog (line 18) | func (a *Application) startWatchdog() error { method StartWatchdog (line 79) | func (a *Application) StartWatchdog() error { method RestartWatchdog (line 87) | func (a *Application) RestartWatchdog() error { FILE: core/backend/backend_suite_test.go function TestBackend (line 10) | func TestBackend(t *testing.T) { FILE: core/backend/detection.go function Detection (line 14) | func Detection( FILE: core/backend/embeddings.go function ModelEmbedding (line 14) | func ModelEmbedding(s string, tokens []int, loader *model.ModelLoader, m... FILE: core/backend/image.go function ImageGeneration (line 13) | func ImageGeneration(height, width, step, seed int, positive_prompt, neg... FILE: core/backend/llm.go type LLMResponse (line 26) | type LLMResponse struct type TokenUsage (line 34) | type TokenUsage struct function ModelInference (line 45) | func ModelInference(ctx context.Context, s string, messages schema.Messa... function Finetune (line 352) | func Finetune(config config.ModelConfig, input, prediction string) string { FILE: core/backend/options.go function recordModelLoadFailure (line 18) | func recordModelLoadFailure(appConfig *config.ApplicationConfig, modelNa... function ModelOptions (line 34) | func ModelOptions(c config.ModelConfig, so *config.ApplicationConfig, op... function getSeed (line 81) | func getSeed(c config.ModelConfig) int32 { function grpcModelOpts (line 95) | func grpcModelOpts(c config.ModelConfig, modelPath string) *pb.ModelOpti... function gRPCPredictOpts (line 238) | func gRPCPredictOpts(c config.ModelConfig, modelPath string) *pb.Predict... FILE: core/backend/rerank.go function Rerank (line 14) | func Rerank(request *proto.RerankRequest, loader *model.ModelLoader, app... FILE: core/backend/soundgeneration.go function SoundGeneration (line 17) | func SoundGeneration( FILE: core/backend/stores.go function StoreBackend (line 10) | func StoreBackend(sl *model.ModelLoader, appConfig *config.ApplicationCo... FILE: core/backend/token_metrics.go function TokenMetrics (line 12) | func TokenMetrics( FILE: core/backend/tokenize.go function ModelTokenize (line 13) | func ModelTokenize(s string, loader *model.ModelLoader, modelConfig conf... FILE: core/backend/transcript.go function ModelTranscription (line 17) | func ModelTranscription(audio, language string, translate, diarize bool,... FILE: core/backend/tts.go function ModelTTS (line 23) | func ModelTTS( function ModelTTSStream (line 123) | func ModelTTSStream( FILE: core/backend/vad.go function VAD (line 12) | func VAD(request *schema.VADRequest, FILE: core/backend/video.go function VideoGeneration (line 13) | func VideoGeneration(height, width int32, prompt, negativePrompt, startI... FILE: core/cli/agent.go type AgentCMD (line 19) | type AgentCMD struct type AgentRunCMD (line 24) | type AgentRunCMD struct method Run (line 45) | func (r *AgentRunCMD) Run(ctx *cliContext.Context) error { method loadAgentConfig (line 109) | func (r *AgentRunCMD) loadAgentConfig() (*state.AgentConfig, error) { method applyOverrides (line 151) | func (r *AgentRunCMD) applyOverrides(cfg *state.AgentConfig) { method buildAppConfig (line 175) | func (r *AgentRunCMD) buildAppConfig() *config.ApplicationConfig { type AgentListCMD (line 197) | type AgentListCMD struct method Run (line 201) | func (r *AgentListCMD) Run(ctx *cliContext.Context) error { FILE: core/cli/agent_test.go function TestAgentRunCMD_LoadAgentConfigFromFile (line 12) | func TestAgentRunCMD_LoadAgentConfigFromFile(t *testing.T) { function TestAgentRunCMD_LoadAgentConfigFromPool (line 47) | func TestAgentRunCMD_LoadAgentConfigFromPool(t *testing.T) { function TestAgentRunCMD_LoadAgentConfigFromPool_NotFound (line 85) | func TestAgentRunCMD_LoadAgentConfigFromPool_NotFound(t *testing.T) { function TestAgentRunCMD_LoadAgentConfigNoNameOrConfig (line 110) | func TestAgentRunCMD_LoadAgentConfigNoNameOrConfig(t *testing.T) { function TestAgentRunCMD_ApplyOverrides (line 121) | func TestAgentRunCMD_ApplyOverrides(t *testing.T) { function TestAgentRunCMD_ApplyOverridesDoesNotOverwriteExisting (line 145) | func TestAgentRunCMD_ApplyOverridesDoesNotOverwriteExisting(t *testing.T) { function TestAgentRunCMD_LoadConfigMissingName (line 162) | func TestAgentRunCMD_LoadConfigMissingName(t *testing.T) { function TestAgentListCMD_NoPoolFile (line 184) | func TestAgentListCMD_NoPoolFile(t *testing.T) { function TestAgentListCMD_WithAgents (line 196) | func TestAgentListCMD_WithAgents(t *testing.T) { FILE: core/cli/backends.go type BackendsCMDFlags (line 19) | type BackendsCMDFlags struct type BackendsList (line 25) | type BackendsList struct method Run (line 49) | func (bl *BackendsList) Run(ctx *cliContext.Context) error { type BackendsInstall (line 29) | type BackendsInstall struct method Run (line 77) | func (bi *BackendsInstall) Run(ctx *cliContext.Context) error { type BackendsUninstall (line 37) | type BackendsUninstall struct method Run (line 114) | func (bu *BackendsUninstall) Run(ctx *cliContext.Context) error { type BackendsCMD (line 43) | type BackendsCMD struct FILE: core/cli/completion.go type CompletionCMD (line 11) | type CompletionCMD struct method SetApplication (line 17) | func (c *CompletionCMD) SetApplication(app *kong.Application) { method Run (line 21) | func (c *CompletionCMD) Run(_ *cliContext.Context) error { function collectCommands (line 42) | func collectCommands(node *kong.Node, prefix string) []commandInfo { type commandInfo (line 65) | type commandInfo struct function collectFlags (line 72) | func collectFlags(node *kong.Node) []flagInfo { type flagInfo (line 93) | type flagInfo struct function generateBashCompletion (line 99) | func generateBashCompletion(app *kong.Application) string { function generateZshCompletion (line 215) | func generateZshCompletion(app *kong.Application) string { function generateFishCompletion (line 331) | func generateFishCompletion(app *kong.Application) string { FILE: core/cli/completion_test.go function getTestApp (line 10) | func getTestApp() *kong.Application { function TestGenerateBashCompletion (line 24) | func TestGenerateBashCompletion(t *testing.T) { function TestGenerateZshCompletion (line 42) | func TestGenerateZshCompletion(t *testing.T) { function TestGenerateFishCompletion (line 57) | func TestGenerateFishCompletion(t *testing.T) { function TestCollectCommands (line 75) | func TestCollectCommands(t *testing.T) { FILE: core/cli/context/context.go type Context (line 3) | type Context struct FILE: core/cli/deprecations.go function warnDeprecatedFlags (line 18) | func warnDeprecatedFlags() { FILE: core/cli/explorer.go type ExplorerCMD (line 14) | type ExplorerCMD struct method Run (line 24) | func (e *ExplorerCMD) Run(ctx *cliContext.Context) error { FILE: core/cli/federated.go type FederatedCLI (line 11) | type FederatedCLI struct method Run (line 19) | func (f *FederatedCLI) Run(ctx *cliContext.Context) error { FILE: core/cli/models.go type ModelsCMDFlags (line 22) | type ModelsCMDFlags struct type ModelsList (line 29) | type ModelsList struct method Run (line 46) | func (ml *ModelsList) Run(ctx *cliContext.Context) error { type ModelsInstall (line 33) | type ModelsInstall struct method Run (line 73) | func (mi *ModelsInstall) Run(ctx *cliContext.Context) error { type ModelsCMD (line 41) | type ModelsCMD struct FILE: core/cli/run.go type RunCMD (line 29) | type RunCMD struct method Run (line 142) | func (r *RunCMD) Run(ctx *cliContext.Context) error { function waitForServerReady (line 497) | func waitForServerReady(address string, ctx context.Context) { FILE: core/cli/soundgeneration.go type SoundGenerationCMD (line 19) | type SoundGenerationCMD struct method Run (line 52) | func (t *SoundGenerationCMD) Run(ctx *cliContext.Context) error { function parseToFloat32Ptr (line 34) | func parseToFloat32Ptr(input string) *float32 { function parseToInt32Ptr (line 43) | func parseToInt32Ptr(input string) *int32 { FILE: core/cli/transcript.go type TranscriptCMD (line 21) | type TranscriptCMD struct method Run (line 38) | func (t *TranscriptCMD) Run(ctx *cliContext.Context) error { FILE: core/cli/tts.go type TTSCMD (line 18) | type TTSCMD struct method Run (line 29) | func (t *TTSCMD) Run(ctx *cliContext.Context) error { FILE: core/cli/util.go type UtilCMD (line 23) | type UtilCMD struct type GGUFInfoCMD (line 30) | type GGUFInfoCMD struct method Run (line 75) | func (u *GGUFInfoCMD) Run(ctx *cliContext.Context) error { type HFScanCMD (line 35) | type HFScanCMD struct method Run (line 107) | func (hfscmd *HFScanCMD) Run(ctx *cliContext.Context) error { type UsecaseHeuristicCMD (line 41) | type UsecaseHeuristicCMD struct method Run (line 149) | func (uhcmd *UsecaseHeuristicCMD) Run(ctx *cliContext.Context) error { type CreateOCIImageCMD (line 46) | type CreateOCIImageCMD struct method Run (line 53) | func (u *CreateOCIImageCMD) Run(ctx *cliContext.Context) error { FILE: core/cli/worker/worker.go type WorkerFlags (line 3) | type WorkerFlags struct type Worker (line 10) | type Worker struct FILE: core/cli/worker/worker_llamacpp.go type LLamaCPP (line 21) | type LLamaCPP struct method Run (line 66) | func (r *LLamaCPP) Run(ctx *cliContext.Context) error { constant llamaCPPRPCBinaryName (line 26) | llamaCPPRPCBinaryName = "llama-cpp-rpc-server" constant llamaCPPGalleryName (line 27) | llamaCPPGalleryName = "llama-cpp" function findLLamaCPPBackend (line 30) | func findLLamaCPPBackend(galleries string, systemState *system.SystemSta... FILE: core/cli/worker/worker_mlx_common.go constant mlxDistributedGalleryName (line 17) | mlxDistributedGalleryName = "mlx-distributed" function findMLXDistributedBackendPath (line 21) | func findMLXDistributedBackendPath(galleries string, systemState *system... function buildMLXCommand (line 60) | func buildMLXCommand(backendPath string, args ...string) *exec.Cmd { FILE: core/cli/worker/worker_mlx_distributed.go type MLXDistributed (line 13) | type MLXDistributed struct method Run (line 22) | func (r *MLXDistributed) Run(ctx *cliContext.Context) error { FILE: core/cli/worker/worker_p2p.go type P2P (line 19) | type P2P struct method Run (line 28) | func (r *P2P) Run(ctx *cliContext.Context) error { FILE: core/cli/worker/worker_p2p_mlx.go type P2PMLX (line 17) | type P2PMLX struct method Run (line 25) | func (r *P2PMLX) Run(ctx *cliContext.Context) error { FILE: core/clients/store.go type StoreClient (line 12) | type StoreClient struct method Set (line 55) | func (c *StoreClient) Set(req SetRequest) error { method Get (line 60) | func (c *StoreClient) Get(req GetRequest) (*GetResponse, error) { method Delete (line 76) | func (c *StoreClient) Delete(req DeleteRequest) error { method Find (line 81) | func (c *StoreClient) Find(req FindRequest) (*FindResponse, error) { method doRequest (line 97) | func (c *StoreClient) doRequest(path string, data interface{}) error { method doRequestWithResponse (line 123) | func (c *StoreClient) doRequestWithResponse(path string, data interfac... type SetRequest (line 17) | type SetRequest struct type GetRequest (line 22) | type GetRequest struct type GetResponse (line 26) | type GetResponse struct type DeleteRequest (line 31) | type DeleteRequest struct type FindRequest (line 35) | type FindRequest struct type FindResponse (line 40) | type FindResponse struct function NewStoreClient (line 47) | func NewStoreClient(baseUrl string) *StoreClient { FILE: core/config/application_config.go type ApplicationConfig (line 14) | type ApplicationConfig struct method GetEffectiveMaxActiveBackends (line 344) | func (o *ApplicationConfig) GetEffectiveMaxActiveBackends() int { method ToConfigLoaderOptions (line 822) | func (o *ApplicationConfig) ToConfigLoaderOptions() []ConfigLoaderOpti... method ToRuntimeSettings (line 835) | func (o *ApplicationConfig) ToRuntimeSettings() RuntimeSettings { method ApplyRuntimeSettings (line 954) | func (o *ApplicationConfig) ApplyRuntimeSettings(settings *RuntimeSett... type AuthConfig (line 105) | type AuthConfig struct type AgentPoolConfig (line 122) | type AgentPoolConfig struct type AppOption (line 145) | type AppOption function NewApplicationConfig (line 147) | func NewApplicationConfig(o ...AppOption) *ApplicationConfig { function WithModelsURL (line 183) | func WithModelsURL(urls ...string) AppOption { function WithSystemState (line 189) | func WithSystemState(state *system.SystemState) AppOption { function WithExternalBackends (line 195) | func WithExternalBackends(backends ...string) AppOption { function WithMachineTag (line 201) | func WithMachineTag(tag string) AppOption { function WithCors (line 207) | func WithCors(b bool) AppOption { function WithP2PNetworkID (line 213) | func WithP2PNetworkID(s string) AppOption { function WithDisableCSRF (line 219) | func WithDisableCSRF(b bool) AppOption { function WithP2PToken (line 225) | func WithP2PToken(s string) AppOption { function SetWatchDogBusyTimeout (line 269) | func SetWatchDogBusyTimeout(t time.Duration) AppOption { function SetWatchDogIdleTimeout (line 275) | func SetWatchDogIdleTimeout(t time.Duration) AppOption { function SetWatchDogInterval (line 281) | func SetWatchDogInterval(t time.Duration) AppOption { function SetMemoryReclaimerThreshold (line 297) | func SetMemoryReclaimerThreshold(threshold float64) AppOption { function WithMemoryReclaimer (line 308) | func WithMemoryReclaimer(enabled bool, threshold float64) AppOption { function SetMaxActiveBackends (line 329) | func SetMaxActiveBackends(n int) AppOption { function WithForceEvictionWhenBusy (line 355) | func WithForceEvictionWhenBusy(enabled bool) AppOption { function WithLRUEvictionMaxRetries (line 362) | func WithLRUEvictionMaxRetries(maxRetries int) AppOption { function WithLRUEvictionRetryInterval (line 371) | func WithLRUEvictionRetryInterval(interval time.Duration) AppOption { function WithExternalBackend (line 395) | func WithExternalBackend(name string, uri string) AppOption { function WithCorsAllowOrigins (line 404) | func WithCorsAllowOrigins(b string) AppOption { function WithStringGalleries (line 410) | func WithStringGalleries(galls string) AppOption { function WithBackendGalleries (line 424) | func WithBackendGalleries(galls string) AppOption { function WithGalleries (line 438) | func WithGalleries(galleries []Gallery) AppOption { function WithContext (line 444) | func WithContext(ctx context.Context) AppOption { function WithYAMLConfigPreload (line 450) | func WithYAMLConfigPreload(configFile string) AppOption { function WithJSONStringPreload (line 456) | func WithJSONStringPreload(configFile string) AppOption { function WithConfigFile (line 461) | func WithConfigFile(configFile string) AppOption { function WithUploadLimitMB (line 467) | func WithUploadLimitMB(limit int) AppOption { function WithThreads (line 473) | func WithThreads(threads int) AppOption { function WithContextSize (line 482) | func WithContextSize(ctxSize int) AppOption { function WithLlamaCPPTunnelCallback (line 488) | func WithLlamaCPPTunnelCallback(callback func(tunnels []string)) AppOpti... function WithMLXTunnelCallback (line 494) | func WithMLXTunnelCallback(callback func(tunnels []string)) AppOption { function WithF16 (line 500) | func WithF16(f16 bool) AppOption { function WithDebug (line 506) | func WithDebug(debug bool) AppOption { function WithTracingMaxItems (line 512) | func WithTracingMaxItems(items int) AppOption { function WithGeneratedContentDir (line 518) | func WithGeneratedContentDir(generatedContentDir string) AppOption { function WithUploadDir (line 524) | func WithUploadDir(uploadDir string) AppOption { function WithDataPath (line 530) | func WithDataPath(dataPath string) AppOption { function WithDynamicConfigDir (line 536) | func WithDynamicConfigDir(dynamicConfigsDir string) AppOption { function WithDynamicConfigDirPollInterval (line 542) | func WithDynamicConfigDirPollInterval(interval time.Duration) AppOption { function WithApiKeys (line 548) | func WithApiKeys(apiKeys []string) AppOption { function WithAgentJobRetentionDays (line 554) | func WithAgentJobRetentionDays(days int) AppOption { function WithOpenResponsesStoreTTL (line 560) | func WithOpenResponsesStoreTTL(ttl time.Duration) AppOption { function WithEnforcedPredownloadScans (line 566) | func WithEnforcedPredownloadScans(enforced bool) AppOption { function WithOpaqueErrors (line 572) | func WithOpaqueErrors(opaque bool) AppOption { function WithLoadToMemory (line 578) | func WithLoadToMemory(models []string) AppOption { function WithSubtleKeyComparison (line 584) | func WithSubtleKeyComparison(subtle bool) AppOption { function WithDisableApiKeyRequirementForHttpGet (line 590) | func WithDisableApiKeyRequirementForHttpGet(required bool) AppOption { function WithAPIAddress (line 596) | func WithAPIAddress(address string) AppOption { function WithHttpGetExemptedEndpoints (line 606) | func WithHttpGetExemptedEndpoints(endpoints []string) AppOption { function WithAgentPoolAPIURL (line 626) | func WithAgentPoolAPIURL(url string) AppOption { function WithAgentPoolAPIKey (line 632) | func WithAgentPoolAPIKey(key string) AppOption { function WithAgentPoolDefaultModel (line 638) | func WithAgentPoolDefaultModel(model string) AppOption { function WithAgentPoolMultimodalModel (line 644) | func WithAgentPoolMultimodalModel(model string) AppOption { function WithAgentPoolTranscriptionModel (line 650) | func WithAgentPoolTranscriptionModel(model string) AppOption { function WithAgentPoolTranscriptionLanguage (line 656) | func WithAgentPoolTranscriptionLanguage(lang string) AppOption { function WithAgentPoolTTSModel (line 662) | func WithAgentPoolTTSModel(model string) AppOption { function WithAgentPoolStateDir (line 668) | func WithAgentPoolStateDir(dir string) AppOption { function WithAgentPoolTimeout (line 674) | func WithAgentPoolTimeout(timeout string) AppOption { function WithAgentPoolVectorEngine (line 684) | func WithAgentPoolVectorEngine(engine string) AppOption { function WithAgentPoolEmbeddingModel (line 690) | func WithAgentPoolEmbeddingModel(model string) AppOption { function WithAgentPoolCustomActionsDir (line 696) | func WithAgentPoolCustomActionsDir(dir string) AppOption { function WithAgentPoolDatabaseURL (line 702) | func WithAgentPoolDatabaseURL(url string) AppOption { function WithAgentPoolMaxChunkingSize (line 708) | func WithAgentPoolMaxChunkingSize(size int) AppOption { function WithAgentPoolChunkOverlap (line 714) | func WithAgentPoolChunkOverlap(overlap int) AppOption { function WithAgentPoolCollectionDBPath (line 724) | func WithAgentPoolCollectionDBPath(path string) AppOption { function WithAgentHubURL (line 730) | func WithAgentHubURL(url string) AppOption { function WithAuthEnabled (line 738) | func WithAuthEnabled(enabled bool) AppOption { function WithAuthDatabaseURL (line 744) | func WithAuthDatabaseURL(url string) AppOption { function WithAuthGitHubClientID (line 750) | func WithAuthGitHubClientID(clientID string) AppOption { function WithAuthGitHubClientSecret (line 756) | func WithAuthGitHubClientSecret(clientSecret string) AppOption { function WithAuthBaseURL (line 762) | func WithAuthBaseURL(baseURL string) AppOption { function WithAuthAdminEmail (line 768) | func WithAuthAdminEmail(email string) AppOption { function WithAuthRegistrationMode (line 774) | func WithAuthRegistrationMode(mode string) AppOption { function WithAuthDisableLocalAuth (line 780) | func WithAuthDisableLocalAuth(disable bool) AppOption { function WithAuthOIDCIssuer (line 786) | func WithAuthOIDCIssuer(issuer string) AppOption { function WithAuthOIDCClientID (line 792) | func WithAuthOIDCClientID(clientID string) AppOption { function WithAuthOIDCClientSecret (line 798) | func WithAuthOIDCClientSecret(clientSecret string) AppOption { function WithAuthAPIKeyHMACSecret (line 804) | func WithAuthAPIKeyHMACSecret(secret string) AppOption { function WithAuthDefaultAPIKeyExpiry (line 810) | func WithAuthDefaultAPIKeyExpiry(expiry string) AppOption { FILE: core/config/config_suite_test.go function TestConfig (line 10) | func TestConfig(t *testing.T) { FILE: core/config/gallery.go type Gallery (line 3) | type Gallery struct FILE: core/config/gguf.go constant defaultContextSize (line 18) | defaultContextSize = 1024 constant defaultNGPULayers (line 19) | defaultNGPULayers = 99999999 function guessGGUFFromFile (line 22) | func guessGGUFFromFile(cfg *ModelConfig, f *gguf.GGUFFile, defaultCtx in... function DetectThinkingSupportFromBackend (line 85) | func DetectThinkingSupportFromBackend(ctx context.Context, cfg *ModelCon... FILE: core/config/guesser.go function guessDefaultsFromFile (line 11) | func guessDefaultsFromFile(cfg *ModelConfig, modelPath string, defaultCt... FILE: core/config/model_config.go constant RAND_SEED (line 19) | RAND_SEED = -1 type TTSConfig (line 23) | type TTSConfig struct type ModelConfig (line 32) | type ModelConfig struct method syncKnownUsecasesFromString (line 287) | func (c *ModelConfig) syncKnownUsecasesFromString() { method UnmarshalYAML (line 298) | func (c *ModelConfig) UnmarshalYAML(value *yaml.Node) error { method SetFunctionCallString (line 311) | func (c *ModelConfig) SetFunctionCallString(s string) { method SetFunctionCallNameString (line 315) | func (c *ModelConfig) SetFunctionCallNameString(s string) { method ShouldUseFunctions (line 319) | func (c *ModelConfig) ShouldUseFunctions() bool { method ShouldCallSpecificFunction (line 323) | func (c *ModelConfig) ShouldCallSpecificFunction() bool { method MMProjFileName (line 329) | func (c *ModelConfig) MMProjFileName() string { method IsMMProjURL (line 339) | func (c *ModelConfig) IsMMProjURL() bool { method IsModelURL (line 344) | func (c *ModelConfig) IsModelURL() bool { method ModelFileName (line 351) | func (c *ModelConfig) ModelFileName() string { method FunctionToCall (line 361) | func (c *ModelConfig) FunctionToCall() string { method SetDefaults (line 370) | func (cfg *ModelConfig) SetDefaults(opts ...ConfigLoaderOption) { method Validate (line 487) | func (c *ModelConfig) Validate() (bool, error) { method HasTemplate (line 523) | func (c *ModelConfig) HasTemplate() bool { method GetModelConfigFile (line 527) | func (c *ModelConfig) GetModelConfigFile() string { method GetModelTemplate (line 532) | func (c *ModelConfig) GetModelTemplate() string { method HasUsecases (line 601) | func (c *ModelConfig) HasUsecases(u ModelConfigUsecase) bool { method GuessUsecases (line 611) | func (c *ModelConfig) GuessUsecases(u ModelConfigUsecase) bool { method BuildCogitoOptions (line 702) | func (c *ModelConfig) BuildCogitoOptions() []cogito.Option { type MCPConfig (line 89) | type MCPConfig struct method MCPConfigFromYAML (line 108) | func (c *MCPConfig) MCPConfigFromYAML() (MCPGenericConfig[MCPRemoteSer... type AgentConfig (line 95) | type AgentConfig struct type MCPGenericConfig (line 123) | type MCPGenericConfig struct type MCPRemoteServers (line 126) | type MCPRemoteServers type MCPSTDIOServers (line 127) | type MCPSTDIOServers type MCPRemoteServer (line 130) | type MCPRemoteServer struct type MCPSTDIOServer (line 136) | type MCPSTDIOServer struct type Pipeline (line 143) | type Pipeline struct type File (line 151) | type File struct type FeatureFlag (line 157) | type FeatureFlag method Enabled (line 159) | func (ff FeatureFlag) Enabled(s string) bool { type GRPC (line 167) | type GRPC struct type Diffusers (line 173) | type Diffusers struct type LLMConfig (line 186) | type LLMConfig struct type LimitMMPerPrompt (line 250) | type LimitMMPerPrompt struct type TemplateConfig (line 257) | type TemplateConfig struct type ModelConfigUsecase (line 536) | type ModelConfigUsecase constant FLAG_ANY (line 539) | FLAG_ANY ModelConfigUsecase = 0b000000000000 constant FLAG_CHAT (line 540) | FLAG_CHAT ModelConfigUsecase = 0b000000000001 constant FLAG_COMPLETION (line 541) | FLAG_COMPLETION ModelConfigUsecase = 0b000000000010 constant FLAG_EDIT (line 542) | FLAG_EDIT ModelConfigUsecase = 0b000000000100 constant FLAG_EMBEDDINGS (line 543) | FLAG_EMBEDDINGS ModelConfigUsecase = 0b000000001000 constant FLAG_RERANK (line 544) | FLAG_RERANK ModelConfigUsecase = 0b000000010000 constant FLAG_IMAGE (line 545) | FLAG_IMAGE ModelConfigUsecase = 0b000000100000 constant FLAG_TRANSCRIPT (line 546) | FLAG_TRANSCRIPT ModelConfigUsecase = 0b000001000000 constant FLAG_TTS (line 547) | FLAG_TTS ModelConfigUsecase = 0b000010000000 constant FLAG_SOUND_GENERATION (line 548) | FLAG_SOUND_GENERATION ModelConfigUsecase = 0b000100000000 constant FLAG_TOKENIZE (line 549) | FLAG_TOKENIZE ModelConfigUsecase = 0b001000000000 constant FLAG_VAD (line 550) | FLAG_VAD ModelConfigUsecase = 0b010000000000 constant FLAG_VIDEO (line 551) | FLAG_VIDEO ModelConfigUsecase = 0b100000000000 constant FLAG_DETECTION (line 552) | FLAG_DETECTION ModelConfigUsecase = 0b1000000000000 constant FLAG_LLM (line 555) | FLAG_LLM ModelConfigUsecase = FLAG_CHAT | FLAG_COMPLETION | FLAG_EDIT function GetAllModelConfigUsecases (line 558) | func GetAllModelConfigUsecases() map[string]ModelConfigUsecase { function stringToFlag (line 579) | func stringToFlag(s string) string { function GetUsecasesFromYAML (line 583) | func GetUsecasesFromYAML(input []string) *ModelConfigUsecase { FILE: core/config/model_config_filter.go type ModelConfigFilterFn (line 5) | type ModelConfigFilterFn function NoFilterFn (line 7) | func NoFilterFn(_ string, _ *ModelConfig) bool { return true } function BuildNameFilterFn (line 9) | func BuildNameFilterFn(filter string) (ModelConfigFilterFn, error) { function BuildUsecaseFilterFn (line 25) | func BuildUsecaseFilterFn(usecases ModelConfigUsecase) ModelConfigFilter... FILE: core/config/model_config_loader.go type ModelConfigLoader (line 21) | type ModelConfigLoader struct method LoadModelConfigFileByName (line 113) | func (bcl *ModelConfigLoader) LoadModelConfigFileByName(modelName, mod... method LoadModelConfigFileByNameDefaultOptions (line 148) | func (bcl *ModelConfigLoader) LoadModelConfigFileByNameDefaultOptions(... method LoadMultipleModelConfigsSingleFile (line 158) | func (bcl *ModelConfigLoader) LoadMultipleModelConfigsSingleFile(file ... method ReadModelConfig (line 176) | func (bcl *ModelConfigLoader) ReadModelConfig(file string, opts ...Con... method GetModelConfig (line 203) | func (bcl *ModelConfigLoader) GetModelConfig(m string) (ModelConfig, b... method GetAllModelsConfigs (line 210) | func (bcl *ModelConfigLoader) GetAllModelsConfigs() []ModelConfig { method GetModelConfigsByFilter (line 225) | func (bcl *ModelConfigLoader) GetModelConfigsByFilter(filter ModelConf... method RemoveModelConfig (line 245) | func (bcl *ModelConfigLoader) RemoveModelConfig(m string) { method UpdateModelConfig (line 253) | func (bcl *ModelConfigLoader) UpdateModelConfig(m string, updater func... method Preload (line 263) | func (bcl *ModelConfigLoader) Preload(modelPath string) error { method LoadModelConfigsFromPath (line 358) | func (bcl *ModelConfigLoader) LoadModelConfigsFromPath(path string, op... function NewModelConfigLoader (line 27) | func NewModelConfigLoader(modelPath string) *ModelConfigLoader { type LoadOptions (line 34) | type LoadOptions struct method Apply (line 73) | func (lo *LoadOptions) Apply(options ...ConfigLoaderOption) { function LoadOptionDebug (line 41) | func LoadOptionDebug(debug bool) ConfigLoaderOption { function LoadOptionThreads (line 47) | func LoadOptionThreads(threads int) ConfigLoaderOption { function LoadOptionContextSize (line 53) | func LoadOptionContextSize(ctxSize int) ConfigLoaderOption { function ModelPath (line 59) | func ModelPath(modelPath string) ConfigLoaderOption { function LoadOptionF16 (line 65) | func LoadOptionF16(f16 bool) ConfigLoaderOption { type ConfigLoaderOption (line 71) | type ConfigLoaderOption function readModelConfigsFromFile (line 82) | func readModelConfigsFromFile(file string, opts ...ConfigLoaderOption) (... FILE: core/config/runtime_settings.go type RuntimeSettings (line 11) | type RuntimeSettings struct FILE: core/dependencies_manager/manager.go type Asset (line 16) | type Asset struct function main (line 22) | func main() { FILE: core/explorer/database.go type Database (line 15) | type Database struct method Get (line 48) | func (db *Database) Get(token string) (TokenData, bool) { method Set (line 59) | func (db *Database) Set(token string, t TokenData) error { method Delete (line 71) | func (db *Database) Delete(token string) error { method TokenList (line 81) | func (db *Database) TokenList() []string { method load (line 101) | func (db *Database) load() error { method save (line 116) | func (db *Database) save() error { type TokenData (line 23) | type TokenData struct type ClusterData (line 30) | type ClusterData struct function NewDatabase (line 37) | func NewDatabase(path string) (*Database, error) { FILE: core/explorer/discovery.go type DiscoveryServer (line 17) | type DiscoveryServer struct method runBackground (line 44) | func (s *DiscoveryServer) runBackground() { method failedToken (line 117) | func (s *DiscoveryServer) failedToken(token string) { method deleteFailedConnections (line 125) | func (s *DiscoveryServer) deleteFailedConnections() { method retrieveNetworkData (line 137) | func (s *DiscoveryServer) retrieveNetworkData(c context.Context, ledge... method Start (line 201) | func (s *DiscoveryServer) Start(ctx context.Context, keepRunning bool)... function NewDiscoveryServer (line 26) | func NewDiscoveryServer(db *Database, dur time.Duration, failureThreshol... type Network (line 40) | type Network struct FILE: core/explorer/explorer_suite_test.go function TestExplorer (line 10) | func TestExplorer(t *testing.T) { FILE: core/gallery/backend_resolve.go type modelConfigCacheEntry (line 17) | type modelConfigCacheEntry struct method hasExpired (line 22) | func (e modelConfigCacheEntry) hasExpired() bool { function resolveBackend (line 35) | func resolveBackend(m *GalleryModel, basePath string) string { function fetchModelConfigMap (line 60) | func fetchModelConfigMap(modelURL, basePath string) map[string]interface... function prefetchModelConfigs (line 106) | func prefetchModelConfigs(urls []string, basePath string) { function resolveModelURLLocally (line 132) | func resolveModelURLLocally(modelURL, galleryURL string) string { function localGalleryDir (line 162) | func localGalleryDir(galleryURL string) string { FILE: core/gallery/backend_types.go type BackendMetadata (line 12) | type BackendMetadata struct type GalleryBackend (line 25) | type GalleryBackend struct method FindBestBackendFromMeta (line 33) | func (backend *GalleryBackend) FindBestBackendFromMeta(systemState *sy... method GetInstalled (line 48) | func (m *GalleryBackend) GetInstalled() bool { method GetLicense (line 52) | func (m *GalleryBackend) GetLicense() string { method SetGallery (line 58) | func (m *GalleryBackend) SetGallery(gallery config.Gallery) { method IsMeta (line 62) | func (m *GalleryBackend) IsMeta() bool { method IsCompatibleWith (line 69) | func (m *GalleryBackend) IsCompatibleWith(systemState *system.SystemSt... method SetInstalled (line 85) | func (m *GalleryBackend) SetInstalled(installed bool) { method GetName (line 89) | func (m *GalleryBackend) GetName() string { method GetGallery (line 93) | func (m *GalleryBackend) GetGallery() config.Gallery { method GetDescription (line 97) | func (m *GalleryBackend) GetDescription() string { method GetTags (line 101) | func (m *GalleryBackend) GetTags() []string { method ID (line 105) | func (m GalleryBackend) ID() string { type GalleryBackends (line 56) | type GalleryBackends FILE: core/gallery/backends.go constant metadataFile (line 24) | metadataFile = "metadata.json" constant runFile (line 25) | runFile = "run.sh" constant defaultLatestTag (line 30) | defaultLatestTag = "latest" constant defaultMasterTag (line 31) | defaultMasterTag = "master" constant defaultDevSuffix (line 32) | defaultDevSuffix = "development" function getFallbackTagValues (line 36) | func getFallbackTagValues(systemState *system.SystemState) (latestTag, m... type backendCandidate (line 58) | type backendCandidate struct function readBackendMetadata (line 64) | func readBackendMetadata(backendPath string) (*BackendMetadata, error) { function writeBackendMetadata (line 86) | func writeBackendMetadata(backendPath string, metadata *BackendMetadata)... function InstallBackendFromGallery (line 102) | func InstallBackendFromGallery(ctx context.Context, galleries []config.G... function InstallBackend (line 170) | func InstallBackend(ctx context.Context, systemState *system.SystemState... function DeleteBackendFromSystem (line 287) | func DeleteBackendFromSystem(systemState *system.SystemState, name strin... type SystemBackend (line 352) | type SystemBackend struct type SystemBackends (line 360) | type SystemBackends method Exists (line 362) | func (b SystemBackends) Exists(name string) bool { method Get (line 367) | func (b SystemBackends) Get(name string) (SystemBackend, bool) { method GetAll (line 372) | func (b SystemBackends) GetAll() []SystemBackend { function ListSystemBackends (line 380) | func ListSystemBackends(systemState *system.SystemState) (SystemBackends... function RegisterBackends (line 506) | func RegisterBackends(systemState *system.SystemState, modelLoader *mode... FILE: core/gallery/backends_test.go constant testImage (line 19) | testImage = "quay.io/mudler/tests:localai-backend-test" FILE: core/gallery/gallery.go function GetGalleryConfigFromURL (line 22) | func GetGalleryConfigFromURL[T any](url string, basePath string) (T, err... function GetGalleryConfigFromURLWithContext (line 35) | func GetGalleryConfigFromURLWithContext[T any](ctx context.Context, url ... function ReadConfigFile (line 48) | func ReadConfigFile[T any](filePath string) (*T, error) { type GalleryElement (line 65) | type GalleryElement interface type GalleryElements (line 76) | type GalleryElements method Search (line 78) | func (gm GalleryElements[T]) Search(term string) GalleryElements[T] { method SortByName (line 95) | func (gm GalleryElements[T]) SortByName(sortOrder string) GalleryElement... method SortByRepository (line 106) | func (gm GalleryElements[T]) SortByRepository(sortOrder string) GalleryE... method SortByLicense (line 117) | func (gm GalleryElements[T]) SortByLicense(sortOrder string) GalleryElem... method SortByInstalled (line 140) | func (gm GalleryElements[T]) SortByInstalled(sortOrder string) GalleryEl... method FindByName (line 158) | func (gm GalleryElements[T]) FindByName(name string) T { method Paginate (line 168) | func (gm GalleryElements[T]) Paginate(pageNum int, itemsNum int) Gallery... function FindGalleryElement (line 180) | func FindGalleryElement[T GalleryElement](models []T, name string) T { function AvailableGalleryModels (line 207) | func AvailableGalleryModels(galleries []config.Gallery, systemState *sys... function AvailableBackends (line 258) | func AvailableBackends(galleries []config.Gallery, systemState *system.S... function AvailableBackendsUnfiltered (line 263) | func AvailableBackendsUnfiltered(galleries []config.Gallery, systemState... function availableBackendsWithFilter (line 268) | func availableBackendsWithFilter(galleries []config.Gallery, systemState... function findGalleryURLFromReferenceURL (line 300) | func findGalleryURLFromReferenceURL(url string, basePath string) (string... type galleryCacheEntry (line 315) | type galleryCacheEntry struct method hasExpired (line 320) | func (entry galleryCacheEntry) hasExpired() bool { function getGalleryElements (line 326) | func getGalleryElements[T GalleryElement](gallery config.Gallery, basePa... FILE: core/gallery/gallery_suite_test.go function TestGallery (line 10) | func TestGallery(t *testing.T) { FILE: core/gallery/importers/diffuser.go type DiffuserImporter (line 16) | type DiffuserImporter struct method Match (line 18) | func (i *DiffuserImporter) Match(details Details) bool { method Import (line 46) | func (i *DiffuserImporter) Import(details Details) (gallery.ModelConfi... FILE: core/gallery/importers/importers.go type Details (line 26) | type Details struct type Importer (line 32) | type Importer interface function hasYAMLExtension (line 37) | func hasYAMLExtension(uri string) bool { function DiscoverModelConfig (line 41) | func DiscoverModelConfig(uri string, preferences json.RawMessage) (galle... FILE: core/gallery/importers/importers_suite_test.go function TestImporters (line 10) | func TestImporters(t *testing.T) { FILE: core/gallery/importers/llama-cpp.go type LlamaCPPImporter (line 20) | type LlamaCPPImporter struct method Match (line 22) | func (i *LlamaCPPImporter) Match(details Details) bool { method Import (line 64) | func (i *LlamaCPPImporter) Import(details Details) (gallery.ModelConfi... FILE: core/gallery/importers/mlx.go type MLXImporter (line 16) | type MLXImporter struct method Match (line 18) | func (i *MLXImporter) Match(details Details) bool { method Import (line 42) | func (i *MLXImporter) Import(details Details) (gallery.ModelConfig, er... FILE: core/gallery/importers/transformers.go type TransformersImporter (line 16) | type TransformersImporter struct method Match (line 18) | func (i *TransformersImporter) Match(details Details) bool { method Import (line 46) | func (i *TransformersImporter) Import(details Details) (gallery.ModelC... FILE: core/gallery/importers/vllm.go type VLLMImporter (line 16) | type VLLMImporter struct method Match (line 18) | func (i *VLLMImporter) Match(details Details) bool { method Import (line 46) | func (i *VLLMImporter) Import(details Details) (gallery.ModelConfig, e... FILE: core/gallery/metadata_type.go type Metadata (line 5) | type Metadata struct FILE: core/gallery/models.go type ModelConfig (line 52) | type ModelConfig struct type File (line 63) | type File struct type PromptTemplate (line 69) | type PromptTemplate struct function InstallModelFromGallery (line 75) | func InstallModelFromGallery( function InstallModel (line 161) | func InstallModel(ctx context.Context, systemState *system.SystemState, ... function galleryFileName (line 291) | func galleryFileName(name string) string { function GetLocalModelConfiguration (line 295) | func GetLocalModelConfiguration(basePath string, name string) (*ModelCon... function listModelFiles (line 301) | func listModelFiles(systemState *system.SystemState, name string) ([]str... function DeleteModelFromSystem (line 367) | func DeleteModelFromSystem(systemState *system.SystemState, name string)... function SafetyScanGalleryModels (line 426) | func SafetyScanGalleryModels(galleries []lconfig.Gallery, systemState *s... function SafetyScanGalleryModel (line 439) | func SafetyScanGalleryModel(galleryModel *GalleryModel) error { FILE: core/gallery/models_test.go constant bertEmbeddingsURL (line 17) | bertEmbeddingsURL = `https://gist.githubusercontent.com/mudler/0a080b166... FILE: core/gallery/models_types.go type GalleryModel (line 12) | type GalleryModel struct method GetInstalled (line 20) | func (m *GalleryModel) GetInstalled() bool { method GetLicense (line 24) | func (m *GalleryModel) GetLicense() string { method SetGallery (line 28) | func (m *GalleryModel) SetGallery(gallery config.Gallery) { method SetInstalled (line 32) | func (m *GalleryModel) SetInstalled(installed bool) { method GetName (line 36) | func (m *GalleryModel) GetName() string { method GetGallery (line 40) | func (m *GalleryModel) GetGallery() config.Gallery { method ID (line 44) | func (m GalleryModel) ID() string { method GetTags (line 48) | func (m *GalleryModel) GetTags() []string { method GetDescription (line 52) | func (m *GalleryModel) GetDescription() string { FILE: core/http/app.go function API (line 54) | func API(application *application.Application) (*echo.Echo, error) { FILE: core/http/app_test.go constant apiKey (line 34) | apiKey = "joshua" constant bearerKey (line 35) | bearerKey = "Bearer " + apiKey constant testPrompt (line 37) | testPrompt = `### System: type modelApplyRequest (line 46) | type modelApplyRequest struct function getModelStatus (line 54) | func getModelStatus(url string) (response map[string]interface{}) { function getModels (line 86) | func getModels(url string) ([]gallery.GalleryModel, error) { function postModelApplyRequest (line 97) | func postModelApplyRequest(url string, request modelApplyRequest) (respo... function postRequestJSON (line 142) | func postRequestJSON[B any](url string, bodyJson *B) error { function postRequestResponseJSON (line 178) | func postRequestResponseJSON[B1 any, B2 any](url string, reqJson *B1, re... function putRequestJSON (line 213) | func putRequestJSON[B any](url string, bodyJson *B) error { function postInvalidRequest (line 248) | func postInvalidRequest(url string) (error, int) { function getRequest (line 277) | func getRequest(url string, header http.Header) (error, int, []byte) { constant bertEmbeddingsURL (line 302) | bertEmbeddingsURL = `https://gist.githubusercontent.com/mudler/0a080b166... FILE: core/http/auth/apikeys.go constant apiKeyPrefix (line 16) | apiKeyPrefix = "lai-" constant apiKeyRandBytes (line 17) | apiKeyRandBytes = 32 constant keyPrefixLen (line 18) | keyPrefixLen = 8 function GenerateAPIKey (line 23) | func GenerateAPIKey(hmacSecret string) (plaintext, hash, prefix string, ... function HashAPIKey (line 39) | func HashAPIKey(plaintext, hmacSecret string) string { function CreateAPIKey (line 51) | func CreateAPIKey(db *gorm.DB, userID, name, role, hmacSecret string, ex... function ValidateAPIKey (line 77) | func ValidateAPIKey(db *gorm.DB, plaintext, hmacSecret string) (*UserAPI... function ListAPIKeys (line 101) | func ListAPIKeys(db *gorm.DB, userID string) ([]UserAPIKey, error) { function RevokeAPIKey (line 110) | func RevokeAPIKey(db *gorm.DB, keyID, userID string) error { function CleanExpiredAPIKeys (line 119) | func CleanExpiredAPIKeys(db *gorm.DB) error { FILE: core/http/auth/auth_suite_test.go function TestAuth (line 12) | func TestAuth(t *testing.T) { FILE: core/http/auth/db.go function InitDB (line 16) | func InitDB(databaseURL string) (*gorm.DB, error) { FILE: core/http/auth/db_nosqlite.go function openSQLiteDialector (line 11) | func openSQLiteDialector(path string) (gorm.Dialector, error) { FILE: core/http/auth/db_sqlite.go function openSQLiteDialector (line 10) | func openSQLiteDialector(path string) (gorm.Dialector, error) { FILE: core/http/auth/features.go type RouteFeature (line 4) | type RouteFeature struct type FeatureMeta (line 91) | type FeatureMeta struct function AgentFeatureMetas (line 98) | func AgentFeatureMetas() []FeatureMeta { function APIFeatureMetas (line 108) | func APIFeatureMetas() []FeatureMeta { FILE: core/http/auth/helpers_test.go function testDB (line 17) | func testDB() *gorm.DB { function createTestUser (line 24) | func createTestUser(db *gorm.DB, email, role, provider string) *auth.User { function createTestSession (line 40) | func createTestSession(db *gorm.DB, userID string) string { function generateTestID (line 48) | func generateTestID() string { function ok (line 54) | func ok(c echo.Context) error { function newAuthTestApp (line 59) | func newAuthTestApp(db *gorm.DB, appConfig *config.ApplicationConfig) *e... function newAdminTestApp (line 81) | func newAdminTestApp(db *gorm.DB, appConfig *config.ApplicationConfig) *... function doRequest (line 122) | func doRequest(e *echo.Echo, method, path string, opts ...func(*http.Req... function withBearerToken (line 133) | func withBearerToken(token string) func(*http.Request) { function withXApiKey (line 139) | func withXApiKey(key string) func(*http.Request) { function withSessionCookie (line 145) | func withSessionCookie(sessionID string) func(*http.Request) { function withTokenCookie (line 151) | func withTokenCookie(token string) func(*http.Request) { FILE: core/http/auth/middleware.go constant contextKeyUser (line 18) | contextKeyUser = "auth_user" constant contextKeyRole (line 19) | contextKeyRole = "auth_role" function Middleware (line 36) | func Middleware(db *gorm.DB, appConfig *config.ApplicationConfig) echo.M... function RequireAdmin (line 107) | func RequireAdmin() echo.MiddlewareFunc { function NoopMiddleware (line 137) | func NoopMiddleware() echo.MiddlewareFunc { function RequireFeature (line 146) | func RequireFeature(db *gorm.DB, feature string) echo.MiddlewareFunc { function GetUser (line 201) | func GetUser(c echo.Context) *User { function GetUserRole (line 210) | func GetUserRole(c echo.Context) string { function RequireRouteFeature (line 219) | func RequireRouteFeature(db *gorm.DB) echo.MiddlewareFunc { function RequireModelAccess (line 285) | func RequireModelAccess(db *gorm.DB) echo.MiddlewareFunc { function extractModelFromRequest (line 344) | func extractModelFromRequest(c echo.Context) string { function tryAuthenticate (line 374) | func tryAuthenticate(c echo.Context, db *gorm.DB, appConfig *config.Appl... function extractKey (line 423) | func extractKey(c echo.Context) string { function isValidLegacyKey (line 453) | func isValidLegacyKey(key string, appConfig *config.ApplicationConfig) b... function isExemptPath (line 463) | func isExemptPath(path string, appConfig *config.ApplicationConfig) bool { function isAPIPath (line 480) | func isAPIPath(path string) bool { function authError (line 497) | func authError(c echo.Context, appConfig *config.ApplicationConfig) error { FILE: core/http/auth/models.go constant ProviderLocal (line 12) | ProviderLocal = "local" constant ProviderGitHub (line 13) | ProviderGitHub = "github" constant ProviderOIDC (line 14) | ProviderOIDC = "oidc" type User (line 18) | type User struct type Session (line 33) | type Session struct type UserAPIKey (line 43) | type UserAPIKey struct type PermissionMap (line 59) | type PermissionMap method Value (line 62) | func (p PermissionMap) Value() (driver.Value, error) { method Scan (line 74) | func (p *PermissionMap) Scan(value any) error { type InviteCode (line 92) | type InviteCode struct type ModelAllowlist (line 107) | type ModelAllowlist struct method Value (line 113) | func (m ModelAllowlist) Value() (driver.Value, error) { method Scan (line 122) | func (m *ModelAllowlist) Scan(value any) error { type UserPermission (line 140) | type UserPermission struct FILE: core/http/auth/oauth.go type providerEntry (line 25) | type providerEntry struct type oauthUserInfo (line 33) | type oauthUserInfo struct type OAuthManager (line 41) | type OAuthManager struct method Providers (line 100) | func (m *OAuthManager) Providers() []string { method LoginHandler (line 109) | func (m *OAuthManager) LoginHandler(providerName string) echo.HandlerF... method CallbackHandler (line 152) | func (m *OAuthManager) CallbackHandler(providerName string, db *gorm.D... type OAuthParams (line 46) | type OAuthParams struct function NewOAuthManager (line 55) | func NewOAuthManager(baseURL string, params OAuthParams) (*OAuthManager,... function extractOIDCUserInfo (line 253) | func extractOIDCUserInfo(ctx context.Context, verifier *oidc.IDTokenVeri... type githubUserInfo (line 282) | type githubUserInfo struct type githubEmail (line 290) | type githubEmail struct function fetchGitHubUserInfoAsOAuth (line 297) | func fetchGitHubUserInfoAsOAuth(ctx context.Context, accessToken string)... function fetchGitHubUserInfo (line 310) | func fetchGitHubUserInfo(ctx context.Context, accessToken string) (*gith... function fetchGitHubPrimaryEmail (line 341) | func fetchGitHubPrimaryEmail(ctx context.Context, accessToken string) (s... function upsertOAuthUser (line 380) | func upsertOAuthUser(db *gorm.DB, provider string, info *oauthUserInfo, ... function generateState (line 433) | func generateState() (string, error) { FILE: core/http/auth/password.go function HashPassword (line 6) | func HashPassword(password string) (string, error) { function CheckPassword (line 12) | func CheckPassword(hash, password string) bool { FILE: core/http/auth/permissions.go constant contextKeyPermissions (line 9) | contextKeyPermissions = "auth_permissions" function GetCachedUserPermissions (line 15) | func GetCachedUserPermissions(c echo.Context, db *gorm.DB, userID string... constant FeatureAgents (line 30) | FeatureAgents = "agents" constant FeatureSkills (line 31) | FeatureSkills = "skills" constant FeatureCollections (line 32) | FeatureCollections = "collections" constant FeatureMCPJobs (line 33) | FeatureMCPJobs = "mcp_jobs" constant FeatureChat (line 36) | FeatureChat = "chat" constant FeatureImages (line 37) | FeatureImages = "images" constant FeatureAudioSpeech (line 38) | FeatureAudioSpeech = "audio_speech" constant FeatureAudioTranscription (line 39) | FeatureAudioTranscription = "audio_transcription" constant FeatureVAD (line 40) | FeatureVAD = "vad" constant FeatureDetection (line 41) | FeatureDetection = "detection" constant FeatureVideo (line 42) | FeatureVideo = "video" constant FeatureEmbeddings (line 43) | FeatureEmbeddings = "embeddings" constant FeatureSound (line 44) | FeatureSound = "sound" constant FeatureRealtime (line 45) | FeatureRealtime = "realtime" constant FeatureRerank (line 46) | FeatureRerank = "rerank" constant FeatureTokenize (line 47) | FeatureTokenize = "tokenize" constant FeatureMCP (line 48) | FeatureMCP = "mcp" constant FeatureStores (line 49) | FeatureStores = "stores" function isDefaultOnFeature (line 75) | func isDefaultOnFeature(feature string) bool { function GetUserPermissions (line 81) | func GetUserPermissions(db *gorm.DB, userID string) (*UserPermission, er... function UpdateUserPermissions (line 102) | func UpdateUserPermissions(db *gorm.DB, userID string, perms PermissionM... function HasFeatureAccess (line 123) | func HasFeatureAccess(db *gorm.DB, user *User, feature string) bool { function GetPermissionMapForUser (line 145) | func GetPermissionMapForUser(db *gorm.DB, user *User) PermissionMap { function GetModelAllowlist (line 174) | func GetModelAllowlist(db *gorm.DB, userID string) ModelAllowlist { function UpdateModelAllowlist (line 183) | func UpdateModelAllowlist(db *gorm.DB, userID string, allowlist ModelAll... function IsModelAllowed (line 194) | func IsModelAllowed(db *gorm.DB, user *User, modelName string) bool { FILE: core/http/auth/roles.go constant RoleAdmin (line 12) | RoleAdmin = "admin" constant RoleUser (line 13) | RoleUser = "user" constant StatusActive (line 15) | StatusActive = "active" constant StatusPending (line 16) | StatusPending = "pending" constant StatusDisabled (line 17) | StatusDisabled = "disabled" function AssignRole (line 25) | func AssignRole(tx *gorm.DB, email, adminEmail string) string { function MaybePromote (line 42) | func MaybePromote(db *gorm.DB, user *User, adminEmail string) bool { function ValidateInvite (line 58) | func ValidateInvite(db *gorm.DB, code, hmacSecret string) (*InviteCode, ... function ConsumeInvite (line 74) | func ConsumeInvite(db *gorm.DB, invite *InviteCode, userID string) { function NeedsInviteOrApproval (line 84) | func NeedsInviteOrApproval(tx *gorm.DB, email, adminEmail, registrationM... FILE: core/http/auth/session.go constant sessionDuration (line 15) | sessionDuration = 30 * 24 * time.Hour constant sessionIDBytes (line 16) | sessionIDBytes = 32 constant sessionCookie (line 17) | sessionCookie = "session" constant sessionRotationInterval (line 18) | sessionRotationInterval = 1 * time.Hour function CreateSession (line 24) | func CreateSession(db *gorm.DB, userID, hmacSecret string) (string, erro... function ValidateSession (line 50) | func ValidateSession(db *gorm.DB, token, hmacSecret string) (*User, *Ses... function DeleteSession (line 64) | func DeleteSession(db *gorm.DB, token, hmacSecret string) error { function CleanExpiredSessions (line 70) | func CleanExpiredSessions(db *gorm.DB) error { function DeleteUserSessions (line 75) | func DeleteUserSessions(db *gorm.DB, userID string) error { function RotateSession (line 81) | func RotateSession(db *gorm.DB, oldSession *Session, hmacSecret string) ... function MaybeRotateSession (line 113) | func MaybeRotateSession(c echo.Context, db *gorm.DB, session *Session, h... function isSecure (line 138) | func isSecure(c echo.Context) bool { function SetSessionCookie (line 143) | func SetSessionCookie(c echo.Context, sessionID string) { function SetTokenCookie (line 157) | func SetTokenCookie(c echo.Context, token string) { function ClearSessionCookie (line 171) | func ClearSessionCookie(c echo.Context) { FILE: core/http/auth/usage.go type UsageRecord (line 12) | type UsageRecord struct function RecordUsage (line 26) | func RecordUsage(db *gorm.DB, record *UsageRecord) error { type UsageBucket (line 31) | type UsageBucket struct type UsageTotals (line 43) | type UsageTotals struct function periodToWindow (line 51) | func periodToWindow(period string, isSQLite bool) (time.Time, string) { function isSQLiteDB (line 90) | func isSQLiteDB(db *gorm.DB) bool { function GetUserUsage (line 95) | func GetUserUsage(db *gorm.DB, userID, period string) ([]UsageBucket, er... function GetAllUsage (line 123) | func GetAllUsage(db *gorm.DB, period, userID string) ([]UsageBucket, err... FILE: core/http/endpoints/anthropic/messages.go function MessagesEndpoint (line 28) | func MessagesEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoade... function handleAnthropicNonStream (line 187) | func handleAnthropicNonStream(c echo.Context, id string, input *schema.A... function handleAnthropicStream (line 339) | func handleAnthropicStream(c echo.Context, id string, input *schema.Anth... function convertFuncsToOpenAITools (line 562) | func convertFuncsToOpenAITools(funcs functions.Functions) []functions.To... function sendAnthropicSSE (line 570) | func sendAnthropicSSE(c echo.Context, event schema.AnthropicStreamEvent) { function sendAnthropicError (line 580) | func sendAnthropicError(c echo.Context, statusCode int, errorType, messa... function convertAnthropicToOpenAIMessages (line 591) | func convertAnthropicToOpenAIMessages(input *schema.AnthropicRequest) []... function convertAnthropicTools (line 724) | func convertAnthropicTools(input *schema.AnthropicRequest, cfg *config.M... FILE: core/http/endpoints/elevenlabs/soundgeneration.go function SoundGenerationEndpoint (line 21) | func SoundGenerationEndpoint(cl *config.ModelConfigLoader, ml *model.Mod... FILE: core/http/endpoints/elevenlabs/tts.go function TTSEndpoint (line 22) | func TTSEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoader, ap... FILE: core/http/endpoints/explorer/dashboard.go function Dashboard (line 15) | func Dashboard() echo.HandlerFunc { type AddNetworkRequest (line 35) | type AddNetworkRequest struct type Network (line 41) | type Network struct function ShowNetworks (line 46) | func ShowNetworks(db *explorer.Database) echo.HandlerFunc { function AddNetwork (line 72) | func AddNetwork(db *explorer.Database) echo.HandlerFunc { FILE: core/http/endpoints/jina/rerank.go function JINARerankEndpoint (line 21) | func JINARerankEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoa... FILE: core/http/endpoints/localai/agent_collections.go function ListCollectionsEndpoint (line 12) | func ListCollectionsEndpoint(app *application.Application) echo.HandlerF... function CreateCollectionEndpoint (line 52) | func CreateCollectionEndpoint(app *application.Application) echo.Handler... function UploadToCollectionEndpoint (line 69) | func UploadToCollectionEndpoint(app *application.Application) echo.Handl... function ListCollectionEntriesEndpoint (line 93) | func ListCollectionEntriesEndpoint(app *application.Application) echo.Ha... function GetCollectionEntryContentEndpoint (line 111) | func GetCollectionEntryContentEndpoint(app *application.Application) ech... function SearchCollectionEndpoint (line 134) | func SearchCollectionEndpoint(app *application.Application) echo.Handler... function ResetCollectionEndpoint (line 159) | func ResetCollectionEndpoint(app *application.Application) echo.HandlerF... function DeleteCollectionEntryEndpoint (line 173) | func DeleteCollectionEntryEndpoint(app *application.Application) echo.Ha... function AddCollectionSourceEndpoint (line 197) | func AddCollectionSourceEndpoint(app *application.Application) echo.Hand... function RemoveCollectionSourceEndpoint (line 221) | func RemoveCollectionSourceEndpoint(app *application.Application) echo.H... function GetCollectionEntryRawFileEndpoint (line 239) | func GetCollectionEntryRawFileEndpoint(app *application.Application) ech... function ListCollectionSourcesEndpoint (line 259) | func ListCollectionSourcesEndpoint(app *application.Application) echo.Ha... FILE: core/http/endpoints/localai/agent_jobs.go function getJobService (line 16) | func getJobService(app *application.Application, c echo.Context) *servic... function CreateTaskEndpoint (line 32) | func CreateTaskEndpoint(app *application.Application) echo.HandlerFunc { function UpdateTaskEndpoint (line 48) | func UpdateTaskEndpoint(app *application.Application) echo.HandlerFunc { function DeleteTaskEndpoint (line 67) | func DeleteTaskEndpoint(app *application.Application) echo.HandlerFunc { function ListTasksEndpoint (line 81) | func ListTasksEndpoint(app *application.Application) echo.HandlerFunc { function GetTaskEndpoint (line 123) | func GetTaskEndpoint(app *application.Application) echo.HandlerFunc { function ExecuteJobEndpoint (line 135) | func ExecuteJobEndpoint(app *application.Application) echo.HandlerFunc { function GetJobEndpoint (line 170) | func GetJobEndpoint(app *application.Application) echo.HandlerFunc { function ListJobsEndpoint (line 182) | func ListJobsEndpoint(app *application.Application) echo.HandlerFunc { function CancelJobEndpoint (line 243) | func CancelJobEndpoint(app *application.Application) echo.HandlerFunc { function DeleteJobEndpoint (line 257) | func DeleteJobEndpoint(app *application.Application) echo.HandlerFunc { function ExecuteTaskByNameEndpoint (line 271) | func ExecuteTaskByNameEndpoint(app *application.Application) echo.Handle... FILE: core/http/endpoints/localai/agent_responses.go type agentResponsesRequest (line 21) | type agentResponsesRequest struct function AgentResponsesInterceptor (line 32) | func AgentResponsesInterceptor(app *application.Application) echo.Middle... function parseInputToMessages (line 124) | func parseInputToMessages(raw json.RawMessage) []openai.ChatCompletionMe... function parseMessageContent (line 193) | func parseMessageContent(raw json.RawMessage) string { FILE: core/http/endpoints/localai/agent_skills.go type skillResponse (line 13) | type skillResponse struct function skillToResponse (line 24) | func skillToResponse(s skilldomain.Skill) skillResponse { function skillsToResponses (line 36) | func skillsToResponses(skills []skilldomain.Skill) []skillResponse { function ListSkillsEndpoint (line 44) | func ListSkillsEndpoint(app *application.Application) echo.HandlerFunc { function GetSkillsConfigEndpoint (line 83) | func GetSkillsConfigEndpoint(app *application.Application) echo.HandlerF... function SearchSkillsEndpoint (line 92) | func SearchSkillsEndpoint(app *application.Application) echo.HandlerFunc { function CreateSkillEndpoint (line 105) | func CreateSkillEndpoint(app *application.Application) echo.HandlerFunc { function GetSkillEndpoint (line 132) | func GetSkillEndpoint(app *application.Application) echo.HandlerFunc { function UpdateSkillEndpoint (line 144) | func UpdateSkillEndpoint(app *application.Application) echo.HandlerFunc { function DeleteSkillEndpoint (line 170) | func DeleteSkillEndpoint(app *application.Application) echo.HandlerFunc { function ExportSkillEndpoint (line 181) | func ExportSkillEndpoint(app *application.Application) echo.HandlerFunc { function ImportSkillEndpoint (line 196) | func ImportSkillEndpoint(app *application.Application) echo.HandlerFunc { function ListSkillResourcesEndpoint (line 223) | func ListSkillResourcesEndpoint(app *application.Application) echo.Handl... function GetSkillResourceEndpoint (line 261) | func GetSkillResourceEndpoint(app *application.Application) echo.Handler... function CreateSkillResourceEndpoint (line 282) | func CreateSkillResourceEndpoint(app *application.Application) echo.Hand... function UpdateSkillResourceEndpoint (line 310) | func UpdateSkillResourceEndpoint(app *application.Application) echo.Hand... function DeleteSkillResourceEndpoint (line 327) | func DeleteSkillResourceEndpoint(app *application.Application) echo.Hand... function ListGitReposEndpoint (line 340) | func ListGitReposEndpoint(app *application.Application) echo.HandlerFunc { function AddGitRepoEndpoint (line 352) | func AddGitRepoEndpoint(app *application.Application) echo.HandlerFunc { function UpdateGitRepoEndpoint (line 370) | func UpdateGitRepoEndpoint(app *application.Application) echo.HandlerFunc { function DeleteGitRepoEndpoint (line 392) | func DeleteGitRepoEndpoint(app *application.Application) echo.HandlerFunc { function SyncGitRepoEndpoint (line 406) | func SyncGitRepoEndpoint(app *application.Application) echo.HandlerFunc { function ToggleGitRepoEndpoint (line 417) | func ToggleGitRepoEndpoint(app *application.Application) echo.HandlerFunc { FILE: core/http/endpoints/localai/agents.go function getUserID (line 25) | func getUserID(c echo.Context) string { function isAdminUser (line 34) | func isAdminUser(c echo.Context) bool { function wantsAllUsers (line 40) | func wantsAllUsers(c echo.Context) bool { function effectiveUserID (line 47) | func effectiveUserID(c echo.Context) string { function ListAgentsEndpoint (line 54) | func ListAgentsEndpoint(app *application.Application) echo.HandlerFunc { function CreateAgentEndpoint (line 94) | func CreateAgentEndpoint(app *application.Application) echo.HandlerFunc { function GetAgentEndpoint (line 109) | func GetAgentEndpoint(app *application.Application) echo.HandlerFunc { function UpdateAgentEndpoint (line 124) | func UpdateAgentEndpoint(app *application.Application) echo.HandlerFunc { function DeleteAgentEndpoint (line 143) | func DeleteAgentEndpoint(app *application.Application) echo.HandlerFunc { function GetAgentConfigEndpoint (line 155) | func GetAgentConfigEndpoint(app *application.Application) echo.HandlerFu... function PauseAgentEndpoint (line 168) | func PauseAgentEndpoint(app *application.Application) echo.HandlerFunc { function ResumeAgentEndpoint (line 179) | func ResumeAgentEndpoint(app *application.Application) echo.HandlerFunc { function GetAgentStatusEndpoint (line 190) | func GetAgentStatusEndpoint(app *application.Application) echo.HandlerFu... function GetAgentObservablesEndpoint (line 219) | func GetAgentObservablesEndpoint(app *application.Application) echo.Hand... function ClearAgentObservablesEndpoint (line 235) | func ClearAgentObservablesEndpoint(app *application.Application) echo.Ha... function ChatWithAgentEndpoint (line 247) | func ChatWithAgentEndpoint(app *application.Application) echo.HandlerFunc { function AgentSSEEndpoint (line 276) | func AgentSSEEndpoint(app *application.Application) echo.HandlerFunc { type agentConfigMetaResponse (line 289) | type agentConfigMetaResponse struct function GetAgentConfigMetaEndpoint (line 294) | func GetAgentConfigMetaEndpoint(app *application.Application) echo.Handl... function ExportAgentEndpoint (line 304) | func ExportAgentEndpoint(app *application.Application) echo.HandlerFunc { function ImportAgentEndpoint (line 318) | func ImportAgentEndpoint(app *application.Application) echo.HandlerFunc { function ListActionsEndpoint (line 359) | func ListActionsEndpoint(app *application.Application) echo.HandlerFunc { function GetActionDefinitionEndpoint (line 368) | func GetActionDefinitionEndpoint(app *application.Application) echo.Hand... function ExecuteActionEndpoint (line 388) | func ExecuteActionEndpoint(app *application.Application) echo.HandlerFunc { function AgentFileEndpoint (line 409) | func AgentFileEndpoint(app *application.Application) echo.HandlerFunc { FILE: core/http/endpoints/localai/backend.go type BackendEndpointService (line 18) | type BackendEndpointService struct method GetOpStatusEndpoint (line 42) | func (mgs *BackendEndpointService) GetOpStatusEndpoint() echo.HandlerF... method GetAllStatusEndpoint (line 56) | func (mgs *BackendEndpointService) GetAllStatusEndpoint() echo.Handler... method ApplyBackendEndpoint (line 67) | func (mgs *BackendEndpointService) ApplyBackendEndpoint() echo.Handler... method DeleteBackendEndpoint (line 94) | func (mgs *BackendEndpointService) DeleteBackendEndpoint() echo.Handle... method ListBackendsEndpoint (line 117) | func (mgs *BackendEndpointService) ListBackendsEndpoint(systemState *s... method ListBackendGalleriesEndpoint (line 132) | func (mgs *BackendEndpointService) ListBackendGalleriesEndpoint() echo... method ListAvailableBackendsEndpoint (line 147) | func (mgs *BackendEndpointService) ListAvailableBackendsEndpoint(syste... type GalleryBackend (line 25) | type GalleryBackend struct function CreateBackendEndpointService (line 29) | func CreateBackendEndpointService(galleries []config.Gallery, systemStat... FILE: core/http/endpoints/localai/backend_monitor.go function BackendMonitorEndpoint (line 14) | func BackendMonitorEndpoint(bm *services.BackendMonitorService) echo.Han... function BackendShutdownEndpoint (line 35) | func BackendShutdownEndpoint(bm *services.BackendMonitorService) echo.Ha... FILE: core/http/endpoints/localai/cors_proxy.go function CORSProxyEndpoint (line 23) | func CORSProxyEndpoint(appConfig *config.ApplicationConfig) echo.Handler... function CORSProxyOptionsEndpoint (line 100) | func CORSProxyOptionsEndpoint() echo.HandlerFunc { FILE: core/http/endpoints/localai/detection.go function DetectionEndpoint (line 19) | func DetectionEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoad... FILE: core/http/endpoints/localai/edit_model.go function GetEditModelPage (line 21) | func GetEditModelPage(cl *config.ModelConfigLoader, appConfig *config.Ap... function EditModelEndpoint (line 86) | func EditModelEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoad... function ReloadModelsEndpoint (line 214) | func ReloadModelsEndpoint(cl *config.ModelConfigLoader, appConfig *confi... FILE: core/http/endpoints/localai/edit_model_test.go type testRenderer (line 21) | type testRenderer struct method Render (line 23) | func (t *testRenderer) Render(w io.Writer, name string, data interface... FILE: core/http/endpoints/localai/gallery.go type ModelGalleryEndpointService (line 18) | type ModelGalleryEndpointService struct method GetOpStatusEndpoint (line 45) | func (mgs *ModelGalleryEndpointService) GetOpStatusEndpoint() echo.Han... method GetAllStatusEndpoint (line 59) | func (mgs *ModelGalleryEndpointService) GetAllStatusEndpoint() echo.Ha... method ApplyModelGalleryEndpoint (line 70) | func (mgs *ModelGalleryEndpointService) ApplyModelGalleryEndpoint() ec... method DeleteModelGalleryEndpoint (line 99) | func (mgs *ModelGalleryEndpointService) DeleteModelGalleryEndpoint() e... method ListModelFromGalleryEndpoint (line 123) | func (mgs *ModelGalleryEndpointService) ListModelFromGalleryEndpoint(s... method ListModelGalleriesEndpoint (line 155) | func (mgs *ModelGalleryEndpointService) ListModelGalleriesEndpoint() e... type GalleryModel (line 26) | type GalleryModel struct function CreateModelGalleryEndpointService (line 31) | func CreateModelGalleryEndpointService(galleries []config.Gallery, backe... FILE: core/http/endpoints/localai/get_token_metrics.go function TokenMetricsEndpoint (line 24) | func TokenMetricsEndpoint(cl *config.ModelConfigLoader, ml *model.ModelL... FILE: core/http/endpoints/localai/import_model.go function ImportModelURIEndpoint (line 29) | func ImportModelURIEndpoint(cl *config.ModelConfigLoader, appConfig *con... function ImportModelEndpoint (line 101) | func ImportModelEndpoint(cl *config.ModelConfigLoader, appConfig *config... FILE: core/http/endpoints/localai/localai_suite_test.go function TestLocalAIEndpoints (line 10) | func TestLocalAIEndpoints(t *testing.T) { FILE: core/http/endpoints/localai/mcp.go type MCPReasoningEvent (line 17) | type MCPReasoningEvent struct type MCPToolCallEvent (line 22) | type MCPToolCallEvent struct type MCPToolResultEvent (line 29) | type MCPToolResultEvent struct type MCPStatusEvent (line 35) | type MCPStatusEvent struct type MCPAssistantEvent (line 40) | type MCPAssistantEvent struct type MCPErrorEvent (line 45) | type MCPErrorEvent struct function MCPEndpoint (line 58) | func MCPEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoader, ev... FILE: core/http/endpoints/localai/mcp_prompts.go function MCPPromptsEndpoint (line 13) | func MCPPromptsEndpoint(cl *config.ModelConfigLoader, appConfig *config.... function MCPGetPromptEndpoint (line 81) | func MCPGetPromptEndpoint(cl *config.ModelConfigLoader, appConfig *confi... FILE: core/http/endpoints/localai/mcp_resources.go function MCPResourcesEndpoint (line 13) | func MCPResourcesEndpoint(cl *config.ModelConfigLoader, appConfig *confi... function MCPReadResourceEndpoint (line 69) | func MCPReadResourceEndpoint(cl *config.ModelConfigLoader, appConfig *co... FILE: core/http/endpoints/localai/mcp_tools.go function MCPServersEndpoint (line 14) | func MCPServersEndpoint(cl *config.ModelConfigLoader, appConfig *config.... function MCPServersEndpointFromMiddleware (line 57) | func MCPServersEndpointFromMiddleware() echo.HandlerFunc { FILE: core/http/endpoints/localai/metrics.go function LocalAIMetricsEndpoint (line 15) | func LocalAIMetricsEndpoint() echo.HandlerFunc { type apiMiddlewareConfig (line 19) | type apiMiddlewareConfig struct function LocalAIMetricsAPIMiddleware (line 24) | func LocalAIMetricsAPIMiddleware(metrics *services.LocalAIMetricsService... FILE: core/http/endpoints/localai/p2p.go function ShowP2PNodes (line 14) | func ShowP2PNodes(appConfig *config.ApplicationConfig) echo.HandlerFunc { function ShowP2PToken (line 29) | func ShowP2PToken(appConfig *config.ApplicationConfig) echo.HandlerFunc { FILE: core/http/endpoints/localai/settings.go function GetSettingsEndpoint (line 21) | func GetSettingsEndpoint(app *application.Application) echo.HandlerFunc { function UpdateSettingsEndpoint (line 30) | func UpdateSettingsEndpoint(app *application.Application) echo.HandlerFu... FILE: core/http/endpoints/localai/stores.go function StoresSetEndpoint (line 12) | func StoresSetEndpoint(sl *model.ModelLoader, appConfig *config.Applicat... function StoresDeleteEndpoint (line 39) | func StoresDeleteEndpoint(sl *model.ModelLoader, appConfig *config.Appli... function StoresGetEndpoint (line 60) | func StoresGetEndpoint(sl *model.ModelLoader, appConfig *config.Applicat... function StoresFindEndpoint (line 91) | func StoresFindEndpoint(sl *model.ModelLoader, appConfig *config.Applica... FILE: core/http/endpoints/localai/system.go function SystemInformations (line 14) | func SystemInformations(ml *model.ModelLoader, appConfig *config.Applica... FILE: core/http/endpoints/localai/tokenize.go function TokenizeEndpoint (line 17) | func TokenizeEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoade... FILE: core/http/endpoints/localai/tts.go function TTSEndpoint (line 26) | func TTSEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoader, ap... FILE: core/http/endpoints/localai/types.go type ModelResponse (line 4) | type ModelResponse struct FILE: core/http/endpoints/localai/vad.go function VADEndpoint (line 19) | func VADEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoader, ap... FILE: core/http/endpoints/localai/video.go function downloadFile (line 28) | func downloadFile(url string) (string, error) { function VideoEndpoint (line 68) | func VideoEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoader, ... FILE: core/http/endpoints/localai/welcome.go function WelcomeEndpoint (line 15) | func WelcomeEndpoint(appConfig *config.ApplicationConfig, FILE: core/http/endpoints/mcp/tools.go type NamedSession (line 23) | type NamedSession struct type MCPToolInfo (line 30) | type MCPToolInfo struct type MCPServerInfo (line 38) | type MCPServerInfo struct type MCPPromptInfo (line 47) | type MCPPromptInfo struct type MCPResourceInfo (line 57) | type MCPResourceInfo struct type sessionCache (line 66) | type sessionCache struct type namedSessionCache (line 72) | type namedSessionCache struct function MCPServersFromMetadata (line 95) | func MCPServersFromMetadata(metadata map[string]string) []string { function SessionsFromMCPConfig (line 108) | func SessionsFromMCPConfig( function NamedSessionsFromMCPConfig (line 170) | func NamedSessionsFromMCPConfig( function DiscoverMCPTools (line 248) | func DiscoverMCPTools(ctx context.Context, sessions []NamedSession) ([]M... function ExecuteMCPToolCall (line 298) | func ExecuteMCPToolCall(ctx context.Context, tools []MCPToolInfo, toolNa... function ListMCPServers (line 345) | func ListMCPServers(ctx context.Context, sessions []NamedSession) ([]MCP... function IsMCPTool (line 385) | func IsMCPTool(tools []MCPToolInfo, name string) bool { function DiscoverMCPPrompts (line 396) | func DiscoverMCPPrompts(ctx context.Context, sessions []NamedSession) ([... function GetMCPPrompt (line 425) | func GetMCPPrompt(ctx context.Context, prompts []MCPPromptInfo, name str... function DiscoverMCPResources (line 449) | func DiscoverMCPResources(ctx context.Context, sessions []NamedSession) ... function ReadMCPResource (line 478) | func ReadMCPResource(ctx context.Context, resources []MCPResourceInfo, u... function MCPPromptFromMetadata (line 506) | func MCPPromptFromMetadata(metadata map[string]string) (string, map[stri... function MCPResourcesFromMetadata (line 523) | func MCPResourcesFromMetadata(metadata map[string]string) []string { function PromptMessageToText (line 537) | func PromptMessageToText(msg *mcp.PromptMessage) string { function CloseMCPSessions (line 548) | func CloseMCPSessions(modelName string) { function CloseAllMCPSessions (line 582) | func CloseAllMCPSessions() { function init (line 612) | func init() { type bearerTokenRoundTripper (line 620) | type bearerTokenRoundTripper struct method RoundTrip (line 626) | func (rt *bearerTokenRoundTripper) RoundTrip(req *http.Request) (*http... function newBearerTokenRoundTripper (line 634) | func newBearerTokenRoundTripper(token string, base http.RoundTripper) ht... FILE: core/http/endpoints/openai/chat.go function mergeToolCallDeltas (line 29) | func mergeToolCallDeltas(existing []schema.ToolCall, deltas []schema.Too... function ChatEndpoint (line 62) | func ChatEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoader, e... function handleQuestion (line 1181) | func handleQuestion(config *config.ModelConfig, funcResults []functions.... FILE: core/http/endpoints/openai/completion.go function CompletionEndpoint (line 27) | func CompletionEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoa... FILE: core/http/endpoints/openai/constants.go constant FinishReasonStop (line 5) | FinishReasonStop = "stop" constant FinishReasonToolCalls (line 6) | FinishReasonToolCalls = "tool_calls" constant FinishReasonFunctionCall (line 7) | FinishReasonFunctionCall = "function_call" FILE: core/http/endpoints/openai/edit.go function EditEndpoint (line 26) | func EditEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoader, e... FILE: core/http/endpoints/openai/embeddings.go function EmbeddingsEndpoint (line 24) | func EmbeddingsEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoa... FILE: core/http/endpoints/openai/image.go function downloadFile (line 30) | func downloadFile(url string) (string, error) { function ImageEndpoint (line 74) | func ImageEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoader, ... function processImageFile (line 257) | func processImageFile(file string, generatedContentDir string) string { FILE: core/http/endpoints/openai/inference.go function ComputeChoices (line 16) | func ComputeChoices( FILE: core/http/endpoints/openai/inpainting.go function InpaintingEndpoint (line 43) | func InpaintingEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoa... FILE: core/http/endpoints/openai/inpainting_test.go function makeMultipartRequest (line 20) | func makeMultipartRequest(fields map[string]string, files map[string][]b... FILE: core/http/endpoints/openai/list.go function ListModelsEndpoint (line 17) | func ListModelsEndpoint(bcl *config.ModelConfigLoader, ml *model.ModelLo... FILE: core/http/endpoints/openai/openai_suite_test.go function TestOpenAI (line 10) | func TestOpenAI(t *testing.T) { FILE: core/http/endpoints/openai/realtime.go constant localSampleRate (line 40) | localSampleRate = 16000 constant defaultRemoteSampleRate (line 41) | defaultRemoteSampleRate = 24000 constant maxAudioBufferSize (line 43) | maxAudioBufferSize = 100 * 1024 * 1024 constant maxWebSocketMessageSize (line 45) | maxWebSocketMessageSize = 10 * 1024 * 1024 constant defaultInstructions (line 47) | defaultInstructions = "You are a helpful voice assistant. " + type Session (line 58) | type Session struct method cancelActiveResponse (line 92) | func (s *Session) cancelActiveResponse() { method startResponse (line 109) | func (s *Session) startResponse(parent context.Context) (context.Conte... method FromClient (line 123) | func (s *Session) FromClient(session *types.SessionUnion) { method ToServer (line 126) | func (s *Session) ToServer() types.SessionUnion { type Conversation (line 164) | type Conversation struct method ToServer (line 170) | func (c *Conversation) ToServer() types.Conversation { type Model (line 181) | type Model interface function RealtimeSessions (line 196) | func RealtimeSessions(application *application.Application) echo.Handler... function RealtimeTranscriptionSession (line 202) | func RealtimeTranscriptionSession(application *application.Application) ... function Realtime (line 208) | func Realtime(application *application.Application) echo.HandlerFunc { function registerRealtime (line 227) | func registerRealtime(application *application.Application, model string... function runRealtimeSession (line 238) | func runRealtimeSession(application *application.Application, t Transpor... function sendEvent (line 646) | func sendEvent(t Transport, event types.ServerEvent) { function sendError (line 653) | func sendError(t Transport, code, message, param, eventID string) { function sendNotImplemented (line 670) | func sendNotImplemented(t Transport, message string) { function sendTestTone (line 677) | func sendTestTone(t Transport) { function updateTransSession (line 698) | func updateTransSession(session *Session, update *types.SessionUnion, cl... function updateSession (line 748) | func updateSession(session *Session, update *types.SessionUnion, cl *con... function decodeOpusLoop (line 832) | func decodeOpusLoop(session *Session, opusBackend grpc.Backend, done cha... function handleVAD (line 885) | func handleVAD(session *Session, conv *Conversation, t Transport, done c... function commitUtterance (line 999) | func commitUtterance(ctx context.Context, utt []byte, session *Session, ... function runVAD (line 1060) | func runVAD(ctx context.Context, session *Session, adata []int16) ([]sch... function generateResponse (line 1081) | func generateResponse(ctx context.Context, session *Session, utt []byte,... function triggerResponse (line 1109) | func triggerResponse(ctx context.Context, session *Session, conv *Conver... function generateSessionID (line 1629) | func generateSessionID() string { function generateConversationID (line 1635) | func generateConversationID() string { function generateItemID (line 1641) | func generateItemID() string { function generateUniqueID (line 1647) | func generateUniqueID() string { FILE: core/http/endpoints/openai/realtime_model.go type wrappedModel (line 27) | type wrappedModel struct method VAD (line 80) | func (m *wrappedModel) VAD(ctx context.Context, request *schema.VADReq... method Transcribe (line 84) | func (m *wrappedModel) Transcribe(ctx context.Context, audio, language... method Predict (line 88) | func (m *wrappedModel) Predict(ctx context.Context, messages schema.Me... method TTS (line 243) | func (m *wrappedModel) TTS(ctx context.Context, text, voice, language ... method PredictConfig (line 247) | func (m *wrappedModel) PredictConfig() *config.ModelConfig { type anyToAnyModel (line 42) | type anyToAnyModel struct type transcriptOnlyModel (line 51) | type transcriptOnlyModel struct method VAD (line 60) | func (m *transcriptOnlyModel) VAD(ctx context.Context, request *schema... method Transcribe (line 64) | func (m *transcriptOnlyModel) Transcribe(ctx context.Context, audio, l... method Predict (line 68) | func (m *transcriptOnlyModel) Predict(ctx context.Context, messages sc... method TTS (line 72) | func (m *transcriptOnlyModel) TTS(ctx context.Context, text, voice, la... method PredictConfig (line 76) | func (m *transcriptOnlyModel) PredictConfig() *config.ModelConfig { function newTranscriptionOnlyModel (line 251) | func newTranscriptionOnlyModel(pipeline *config.Pipeline, cl *config.Mod... function newModel (line 283) | func newModel(pipeline *config.Pipeline, cl *config.ModelConfigLoader, m... FILE: core/http/endpoints/openai/realtime_transport.go type Transport (line 11) | type Transport interface FILE: core/http/endpoints/openai/realtime_transport_webrtc.go type WebRTCTransport (line 21) | type WebRTCTransport struct method sendLoop (line 97) | func (t *WebRTCTransport) sendLoop() { method SendEvent (line 133) | func (t *WebRTCTransport) SendEvent(event types.ServerEvent) error { method ReadEvent (line 147) | func (t *WebRTCTransport) ReadEvent() ([]byte, error) { method SendAudio (line 169) | func (t *WebRTCTransport) SendAudio(ctx context.Context, pcmData []byt... method SetSession (line 228) | func (t *WebRTCTransport) SetSession(s *Session) { method WaitForSession (line 236) | func (t *WebRTCTransport) WaitForSession() *Session { method Close (line 245) | func (t *WebRTCTransport) Close() error { function NewWebRTCTransport (line 42) | func NewWebRTCTransport(pc *webrtc.PeerConnection, audioTrack *webrtc.Tr... FILE: core/http/endpoints/openai/realtime_transport_ws.go type WebSocketTransport (line 14) | type WebSocketTransport struct method SendEvent (line 23) | func (t *WebSocketTransport) SendEvent(event types.ServerEvent) error { method ReadEvent (line 34) | func (t *WebSocketTransport) ReadEvent() ([]byte, error) { method SendAudio (line 41) | func (t *WebSocketTransport) SendAudio(_ context.Context, _ []byte, _ ... method Close (line 45) | func (t *WebSocketTransport) Close() error { function NewWebSocketTransport (line 19) | func NewWebSocketTransport(conn *websocket.Conn) *WebSocketTransport { FILE: core/http/endpoints/openai/realtime_webrtc.go type RealtimeCallRequest (line 15) | type RealtimeCallRequest struct type RealtimeCallResponse (line 21) | type RealtimeCallResponse struct function RealtimeCalls (line 27) | func RealtimeCalls(application *application.Application) echo.HandlerFunc { function handleIncomingAudioTrack (line 183) | func handleIncomingAudioTrack(track *webrtc.TrackRemote, transport *WebR... FILE: core/http/endpoints/openai/transcription.go function TranscriptEndpoint (line 29) | func TranscriptEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoa... FILE: core/http/endpoints/openai/types/client_events.go type ClientEventType (line 6) | type ClientEventType constant ClientEventTypeSessionUpdate (line 9) | ClientEventTypeSessionUpdate ClientEventType = "session.update" constant ClientEventTypeInputAudioBufferAppend (line 10) | ClientEventTypeInputAudioBufferAppend ClientEventType = "input_audio_b... constant ClientEventTypeInputAudioBufferCommit (line 11) | ClientEventTypeInputAudioBufferCommit ClientEventType = "input_audio_b... constant ClientEventTypeInputAudioBufferClear (line 12) | ClientEventTypeInputAudioBufferClear ClientEventType = "input_audio_b... constant ClientEventTypeConversationItemCreate (line 13) | ClientEventTypeConversationItemCreate ClientEventType = "conversation.... constant ClientEventTypeConversationItemRetrieve (line 14) | ClientEventTypeConversationItemRetrieve ClientEventType = "conversation.... constant ClientEventTypeConversationItemTruncate (line 15) | ClientEventTypeConversationItemTruncate ClientEventType = "conversation.... constant ClientEventTypeConversationItemDelete (line 16) | ClientEventTypeConversationItemDelete ClientEventType = "conversation.... constant ClientEventTypeResponseCreate (line 17) | ClientEventTypeResponseCreate ClientEventType = "response.create" constant ClientEventTypeResponseCancel (line 18) | ClientEventTypeResponseCancel ClientEventType = "response.cancel" constant ClientEventTypeOutputAudioBufferClear (line 19) | ClientEventTypeOutputAudioBufferClear ClientEventType = "output_audio_... type ClientEvent (line 23) | type ClientEvent interface type EventBase (line 28) | type EventBase struct type SessionUpdateEvent (line 39) | type SessionUpdateEvent struct method ClientEventType (line 45) | func (m SessionUpdateEvent) ClientEventType() ClientEventType { method MarshalJSON (line 49) | func (m SessionUpdateEvent) MarshalJSON() ([]byte, error) { type NoiseReductionType (line 62) | type NoiseReductionType constant NoiseReductionNearField (line 65) | NoiseReductionNearField NoiseReductionType = "near_field" constant NoiseReductionFarField (line 66) | NoiseReductionFarField NoiseReductionType = "far_field" type InputAudioBufferAppendEvent (line 76) | type InputAudioBufferAppendEvent struct method ClientEventType (line 81) | func (m InputAudioBufferAppendEvent) ClientEventType() ClientEventType { method MarshalJSON (line 85) | func (m InputAudioBufferAppendEvent) MarshalJSON() ([]byte, error) { type InputAudioBufferCommitEvent (line 103) | type InputAudioBufferCommitEvent struct method ClientEventType (line 107) | func (m InputAudioBufferCommitEvent) ClientEventType() ClientEventType { method MarshalJSON (line 111) | func (m InputAudioBufferCommitEvent) MarshalJSON() ([]byte, error) { type InputAudioBufferClearEvent (line 127) | type InputAudioBufferClearEvent struct method ClientEventType (line 131) | func (m InputAudioBufferClearEvent) ClientEventType() ClientEventType { method MarshalJSON (line 135) | func (m InputAudioBufferClearEvent) MarshalJSON() ([]byte, error) { type OutputAudioBufferClearEvent (line 152) | type OutputAudioBufferClearEvent struct method ClientEventType (line 156) | func (m OutputAudioBufferClearEvent) ClientEventType() ClientEventType { method MarshalJSON (line 160) | func (m OutputAudioBufferClearEvent) MarshalJSON() ([]byte, error) { type ConversationItemCreateEvent (line 178) | type ConversationItemCreateEvent struct method ClientEventType (line 186) | func (m ConversationItemCreateEvent) ClientEventType() ClientEventType { method MarshalJSON (line 190) | func (m ConversationItemCreateEvent) MarshalJSON() ([]byte, error) { type ConversationItemRetrieveEvent (line 206) | type ConversationItemRetrieveEvent struct method ClientEventType (line 212) | func (m ConversationItemRetrieveEvent) ClientEventType() ClientEventTy... method MarshalJSON (line 216) | func (m ConversationItemRetrieveEvent) MarshalJSON() ([]byte, error) { type ConversationItemTruncateEvent (line 236) | type ConversationItemTruncateEvent struct method ClientEventType (line 246) | func (m ConversationItemTruncateEvent) ClientEventType() ClientEventTy... method MarshalJSON (line 250) | func (m ConversationItemTruncateEvent) MarshalJSON() ([]byte, error) { type ConversationItemDeleteEvent (line 266) | type ConversationItemDeleteEvent struct method ClientEventType (line 272) | func (m ConversationItemDeleteEvent) ClientEventType() ClientEventType { method MarshalJSON (line 276) | func (m ConversationItemDeleteEvent) MarshalJSON() ([]byte, error) { type ResponseCreateEvent (line 302) | type ResponseCreateEvent struct method ClientEventType (line 308) | func (m ResponseCreateEvent) ClientEventType() ClientEventType { method MarshalJSON (line 312) | func (m ResponseCreateEvent) MarshalJSON() ([]byte, error) { type ResponseCancelEvent (line 328) | type ResponseCancelEvent struct method ClientEventType (line 334) | func (m ResponseCancelEvent) ClientEventType() ClientEventType { method MarshalJSON (line 338) | func (m ResponseCancelEvent) MarshalJSON() ([]byte, error) { type ClientEventInterface (line 351) | type ClientEventInterface interface function unmarshalClientEvent (line 365) | func unmarshalClientEvent[T ClientEventInterface](data []byte) (T, error) { function UnmarshalClientEvent (line 375) | func UnmarshalClientEvent(data []byte) (ClientEvent, error) { FILE: core/http/endpoints/openai/types/int_or_inf.go constant Inf (line 10) | Inf IntOrInf = math.MaxInt type IntOrInf (line 14) | type IntOrInf method IsInf (line 17) | func (m IntOrInf) IsInf() bool { method MarshalJSON (line 22) | func (m IntOrInf) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 30) | func (m *IntOrInf) UnmarshalJSON(data []byte) error { FILE: core/http/endpoints/openai/types/message_item.go type MessageItemType (line 9) | type MessageItemType constant MessageItemTypeMessage (line 12) | MessageItemTypeMessage MessageItemType = "message" constant MessageItemTypeFunctionCall (line 13) | MessageItemTypeFunctionCall MessageItemType = "function_call" constant MessageItemTypeFunctionCallOutput (line 14) | MessageItemTypeFunctionCallOutput MessageItemType = "function_call_output" constant MessageItemTypeMCPApprovalResponse (line 15) | MessageItemTypeMCPApprovalResponse MessageItemType = "mcp_approval_respo... constant MessageItemTypeMCPListTools (line 16) | MessageItemTypeMCPListTools MessageItemType = "mcp_list_tools" constant MessageItemTypeMCPCall (line 17) | MessageItemTypeMCPCall MessageItemType = "mcp_call" constant MessageItemTypeMCPApprovalRequest (line 18) | MessageItemTypeMCPApprovalRequest MessageItemType = "mcp_approval_request" type MessageContentType (line 21) | type MessageContentType constant MessageContentTypeText (line 24) | MessageContentTypeText MessageContentType = "text" constant MessageContentTypeAudio (line 25) | MessageContentTypeAudio MessageContentType = "audio" constant MessageContentTypeTranscript (line 26) | MessageContentTypeTranscript MessageContentType = "transcript" constant MessageContentTypeInputText (line 27) | MessageContentTypeInputText MessageContentType = "input_text" constant MessageContentTypeInputAudio (line 28) | MessageContentTypeInputAudio MessageContentType = "input_audio" constant MessageContentTypeInputImage (line 29) | MessageContentTypeInputImage MessageContentType = "input_image" constant MessageContentTypeOutputText (line 30) | MessageContentTypeOutputText MessageContentType = "output_text" constant MessageContentTypeOutputAudio (line 31) | MessageContentTypeOutputAudio MessageContentType = "output_audio" type MessageContentText (line 34) | type MessageContentText struct type MessageContentAudio (line 38) | type MessageContentAudio struct type MessageContentTranscript (line 43) | type MessageContentTranscript struct type MessageContentImage (line 48) | type MessageContentImage struct type MessageContentSystem (line 54) | type MessageContentSystem type MessageItemSystem (line 56) | type MessageItemSystem struct method MessageItemType (line 70) | func (m MessageItemSystem) MessageItemType() MessageItemType { method Role (line 74) | func (m MessageItemSystem) Role() MessageRole { method MarshalJSON (line 78) | func (m MessageItemSystem) MarshalJSON() ([]byte, error) { type MessageItemUser (line 93) | type MessageItemUser struct method MessageItemType (line 107) | func (m MessageItemUser) MessageItemType() MessageItemType { method Role (line 111) | func (m MessageItemUser) Role() MessageRole { method MarshalJSON (line 115) | func (m MessageItemUser) MarshalJSON() ([]byte, error) { type MessageItemAssistant (line 130) | type MessageItemAssistant struct method MessageItemType (line 144) | func (m MessageItemAssistant) MessageItemType() MessageItemType { method Role (line 148) | func (m MessageItemAssistant) Role() MessageRole { method MarshalJSON (line 152) | func (m MessageItemAssistant) MarshalJSON() ([]byte, error) { type MessageContentInput (line 167) | type MessageContentInput struct type MessageContentOutput (line 187) | type MessageContentOutput struct type MessageItemFunctionCall (line 201) | type MessageItemFunctionCall struct method MessageItemType (line 221) | func (m MessageItemFunctionCall) MessageItemType() MessageItemType { method MarshalJSON (line 225) | func (m MessageItemFunctionCall) MarshalJSON() ([]byte, error) { type MessageItemFunctionCallOutput (line 238) | type MessageItemFunctionCallOutput struct method MessageItemType (line 255) | func (m MessageItemFunctionCallOutput) MessageItemType() MessageItemTy... method MarshalJSON (line 259) | func (m MessageItemFunctionCallOutput) MarshalJSON() ([]byte, error) { type MessageItemMCPApprovalResponse (line 272) | type MessageItemMCPApprovalResponse struct method MessageItemType (line 286) | func (m MessageItemMCPApprovalResponse) MessageItemType() MessageItemT... method MarshalJSON (line 290) | func (m MessageItemMCPApprovalResponse) MarshalJSON() ([]byte, error) { type MCPTool (line 303) | type MCPTool struct type MessageItemMCPListTools (line 317) | type MessageItemMCPListTools struct method MessageItemType (line 328) | func (m MessageItemMCPListTools) MessageItemType() MessageItemType { method MarshalJSON (line 332) | func (m MessageItemMCPListTools) MarshalJSON() ([]byte, error) { type MCPErrorType (line 345) | type MCPErrorType constant MCPErrorTypeProtocolError (line 348) | MCPErrorTypeProtocolError MCPErrorType = "protocol_error" constant MCPErrorTypeToolExecution (line 349) | MCPErrorTypeToolExecution MCPErrorType = "tool_execution_error" constant MCPErrorTypeHTTPError (line 350) | MCPErrorTypeHTTPError MCPErrorType = "http_error" type MCPProtocolError (line 353) | type MCPProtocolError struct method ErrorType (line 361) | func (m MCPProtocolError) ErrorType() MCPErrorType { method MarshalJSON (line 365) | func (m MCPProtocolError) MarshalJSON() ([]byte, error) { type MCPToolExecutionError (line 378) | type MCPToolExecutionError struct method ErrorType (line 383) | func (m MCPToolExecutionError) ErrorType() MCPErrorType { method MarshalJSON (line 387) | func (m MCPToolExecutionError) MarshalJSON() ([]byte, error) { type MCPHTTPError (line 400) | type MCPHTTPError struct method ErrorType (line 408) | func (m MCPHTTPError) ErrorType() MCPErrorType { method MarshalJSON (line 412) | func (m MCPHTTPError) MarshalJSON() ([]byte, error) { type MCPError (line 425) | type MCPError struct method MarshalJSON (line 436) | func (m MCPError) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 446) | func (m *MCPError) UnmarshalJSON(data []byte) error { type MessageItemMCPToolCall (line 466) | type MessageItemMCPToolCall struct method MessageItemType (line 489) | func (m MessageItemMCPToolCall) MessageItemType() MessageItemType { method MarshalJSON (line 493) | func (m MessageItemMCPToolCall) MarshalJSON() ([]byte, error) { type MessageItemMCPApprovalRequest (line 506) | type MessageItemMCPApprovalRequest struct method MessageItemType (line 520) | func (m MessageItemMCPApprovalRequest) MessageItemType() MessageItemTy... method MarshalJSON (line 524) | func (m MessageItemMCPApprovalRequest) MarshalJSON() ([]byte, error) { type MessageItemUnion (line 537) | type MessageItemUnion struct method MarshalJSON (line 566) | func (m MessageItemUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 591) | func (m *MessageItemUnion) UnmarshalJSON(data []byte) error { FILE: core/http/endpoints/openai/types/server_events.go type ServerEventType (line 8) | type ServerEventType constant ServerEventTypeError (line 11) | ServerEventTypeError ServerEv... constant ServerEventTypeSessionCreated (line 12) | ServerEventTypeSessionCreated ServerEv... constant ServerEventTypeSessionUpdated (line 13) | ServerEventTypeSessionUpdated ServerEv... constant ServerEventTypeConversationItemAdded (line 14) | ServerEventTypeConversationItemAdded ServerEv... constant ServerEventTypeConversationItemDone (line 15) | ServerEventTypeConversationItemDone ServerEv... constant ServerEventTypeConversationItemRetrieved (line 16) | ServerEventTypeConversationItemRetrieved ServerEv... constant ServerEventTypeConversationItemInputAudioTranscriptionCompleted (line 17) | ServerEventTypeConversationItemInputAudioTranscriptionCompleted ServerEv... constant ServerEventTypeConversationItemInputAudioTranscriptionDelta (line 18) | ServerEventTypeConversationItemInputAudioTranscriptionDelta ServerEv... constant ServerEventTypeConversationItemInputAudioTranscriptionSegment (line 19) | ServerEventTypeConversationItemInputAudioTranscriptionSegment ServerEv... constant ServerEventTypeConversationItemInputAudioTranscriptionFailed (line 20) | ServerEventTypeConversationItemInputAudioTranscriptionFailed ServerEv... constant ServerEventTypeConversationItemTruncated (line 21) | ServerEventTypeConversationItemTruncated ServerEv... constant ServerEventTypeConversationItemDeleted (line 22) | ServerEventTypeConversationItemDeleted ServerEv... constant ServerEventTypeInputAudioBufferCommitted (line 23) | ServerEventTypeInputAudioBufferCommitted ServerEv... constant ServerEventTypeInputAudioBufferCleared (line 24) | ServerEventTypeInputAudioBufferCleared ServerEv... constant ServerEventTypeInputAudioBufferSpeechStarted (line 25) | ServerEventTypeInputAudioBufferSpeechStarted ServerEv... constant ServerEventTypeInputAudioBufferSpeechStopped (line 26) | ServerEventTypeInputAudioBufferSpeechStopped ServerEv... constant ServerEventTypeInputAudioBufferTimeoutTriggered (line 27) | ServerEventTypeInputAudioBufferTimeoutTriggered ServerEv... constant ServerEventTypeResponseCreated (line 28) | ServerEventTypeResponseCreated ServerEv... constant ServerEventTypeResponseDone (line 29) | ServerEventTypeResponseDone ServerEv... constant ServerEventTypeResponseOutputItemAdded (line 30) | ServerEventTypeResponseOutputItemAdded ServerEv... constant ServerEventTypeResponseOutputItemDone (line 31) | ServerEventTypeResponseOutputItemDone ServerEv... constant ServerEventTypeResponseContentPartAdded (line 32) | ServerEventTypeResponseContentPartAdded ServerEv... constant ServerEventTypeResponseContentPartDone (line 33) | ServerEventTypeResponseContentPartDone ServerEv... constant ServerEventTypeResponseOutputTextDelta (line 34) | ServerEventTypeResponseOutputTextDelta ServerEv... constant ServerEventTypeResponseOutputTextDone (line 35) | ServerEventTypeResponseOutputTextDone ServerEv... constant ServerEventTypeResponseOutputAudioTranscriptDelta (line 36) | ServerEventTypeResponseOutputAudioTranscriptDelta ServerEv... constant ServerEventTypeResponseOutputAudioTranscriptDone (line 37) | ServerEventTypeResponseOutputAudioTranscriptDone ServerEv... constant ServerEventTypeResponseOutputAudioDelta (line 38) | ServerEventTypeResponseOutputAudioDelta ServerEv... constant ServerEventTypeResponseOutputAudioDone (line 39) | ServerEventTypeResponseOutputAudioDone ServerEv... constant ServerEventTypeResponseFunctionCallArgumentsDelta (line 40) | ServerEventTypeResponseFunctionCallArgumentsDelta ServerEv... constant ServerEventTypeResponseFunctionCallArgumentsDone (line 41) | ServerEventTypeResponseFunctionCallArgumentsDone ServerEv... constant ServerEventTypeResponseMcpCallArgumentsDelta (line 42) | ServerEventTypeResponseMcpCallArgumentsDelta ServerEv... constant ServerEventTypeResponseMcpCallArgumentsDone (line 43) | ServerEventTypeResponseMcpCallArgumentsDone ServerEv... constant ServerEventTypeResponseMcpCallInProgress (line 44) | ServerEventTypeResponseMcpCallInProgress ServerEv... constant ServerEventTypeResponseMcpCallCompleted (line 45) | ServerEventTypeResponseMcpCallCompleted ServerEv... constant ServerEventTypeResponseMcpCallFailed (line 46) | ServerEventTypeResponseMcpCallFailed ServerEv... constant ServerEventTypeMcpListToolsInProgress (line 47) | ServerEventTypeMcpListToolsInProgress ServerEv... constant ServerEventTypeMcpListToolsCompleted (line 48) | ServerEventTypeMcpListToolsCompleted ServerEv... constant ServerEventTypeMcpListToolsFailed (line 49) | ServerEventTypeMcpListToolsFailed ServerEv... constant ServerEventTypeRateLimitsUpdated (line 50) | ServerEventTypeRateLimitsUpdated ServerEv... type ServerEvent (line 54) | type ServerEvent interface type ServerEventBase (line 59) | type ServerEventBase struct type ErrorEvent (line 66) | type ErrorEvent struct method ServerEventType (line 72) | func (m ErrorEvent) ServerEventType() ServerEventType { method MarshalJSON (line 76) | func (m ErrorEvent) MarshalJSON() ([]byte, error) { type SessionCreatedEvent (line 92) | type SessionCreatedEvent struct method ServerEventType (line 98) | func (m SessionCreatedEvent) ServerEventType() ServerEventType { method MarshalJSON (line 102) | func (m SessionCreatedEvent) MarshalJSON() ([]byte, error) { type SessionUpdatedEvent (line 118) | type SessionUpdatedEvent struct method ServerEventType (line 124) | func (m SessionUpdatedEvent) ServerEventType() ServerEventType { method MarshalJSON (line 128) | func (m SessionUpdatedEvent) MarshalJSON() ([]byte, error) { type InputAudioBufferCommittedEvent (line 146) | type InputAudioBufferCommittedEvent struct method ServerEventType (line 154) | func (m InputAudioBufferCommittedEvent) ServerEventType() ServerEventT... method MarshalJSON (line 158) | func (m InputAudioBufferCommittedEvent) MarshalJSON() ([]byte, error) { type InputAudioBufferClearedEvent (line 174) | type InputAudioBufferClearedEvent struct method ServerEventType (line 178) | func (m InputAudioBufferClearedEvent) ServerEventType() ServerEventType { method MarshalJSON (line 182) | func (m InputAudioBufferClearedEvent) MarshalJSON() ([]byte, error) { type InputAudioBufferSpeechStartedEvent (line 204) | type InputAudioBufferSpeechStartedEvent struct method ServerEventType (line 212) | func (m InputAudioBufferSpeechStartedEvent) ServerEventType() ServerEv... method MarshalJSON (line 216) | func (m InputAudioBufferSpeechStartedEvent) MarshalJSON() ([]byte, err... type InputAudioBufferSpeechStoppedEvent (line 234) | type InputAudioBufferSpeechStoppedEvent struct method ServerEventType (line 242) | func (m InputAudioBufferSpeechStoppedEvent) ServerEventType() ServerEv... method MarshalJSON (line 246) | func (m InputAudioBufferSpeechStoppedEvent) MarshalJSON() ([]byte, err... type InputAudioBufferTimeoutTriggeredEvent (line 272) | type InputAudioBufferTimeoutTriggeredEvent struct method ServerEventType (line 282) | func (m InputAudioBufferTimeoutTriggeredEvent) ServerEventType() Serve... method MarshalJSON (line 286) | func (m InputAudioBufferTimeoutTriggeredEvent) MarshalJSON() ([]byte, ... type ConversationItemAddedEvent (line 312) | type ConversationItemAddedEvent struct method ServerEventType (line 321) | func (m ConversationItemAddedEvent) ServerEventType() ServerEventType { method MarshalJSON (line 325) | func (m ConversationItemAddedEvent) MarshalJSON() ([]byte, error) { type ConversationItemDoneEvent (line 343) | type ConversationItemDoneEvent struct method ServerEventType (line 352) | func (m ConversationItemDoneEvent) ServerEventType() ServerEventType { method MarshalJSON (line 356) | func (m ConversationItemDoneEvent) MarshalJSON() ([]byte, error) { type ConversationItemRetrievedEvent (line 372) | type ConversationItemRetrievedEvent struct method ServerEventType (line 378) | func (m ConversationItemRetrievedEvent) ServerEventType() ServerEventT... method MarshalJSON (line 382) | func (m ConversationItemRetrievedEvent) MarshalJSON() ([]byte, error) { type Logprobs (line 395) | type Logprobs struct type ConversationItemInputAudioTranscriptionCompletedEvent (line 411) | type ConversationItemInputAudioTranscriptionCompletedEvent struct method ServerEventType (line 429) | func (m ConversationItemInputAudioTranscriptionCompletedEvent) ServerE... method MarshalJSON (line 433) | func (m ConversationItemInputAudioTranscriptionCompletedEvent) Marshal... type ConversationItemInputAudioTranscriptionDeltaEvent (line 449) | type ConversationItemInputAudioTranscriptionDeltaEvent struct method ServerEventType (line 464) | func (m ConversationItemInputAudioTranscriptionDeltaEvent) ServerEvent... method MarshalJSON (line 468) | func (m ConversationItemInputAudioTranscriptionDeltaEvent) MarshalJSON... type ConversationItemInputAudioTranscriptionSegmentEvent (line 484) | type ConversationItemInputAudioTranscriptionSegmentEvent struct method ServerEventType (line 511) | func (m ConversationItemInputAudioTranscriptionSegmentEvent) ServerEve... method MarshalJSON (line 515) | func (m ConversationItemInputAudioTranscriptionSegmentEvent) MarshalJS... type ConversationItemInputAudioTranscriptionFailedEvent (line 531) | type ConversationItemInputAudioTranscriptionFailedEvent struct method ServerEventType (line 543) | func (m ConversationItemInputAudioTranscriptionFailedEvent) ServerEven... method MarshalJSON (line 547) | func (m ConversationItemInputAudioTranscriptionFailedEvent) MarshalJSO... type ConversationItemTruncatedEvent (line 565) | type ConversationItemTruncatedEvent struct method ServerEventType (line 577) | func (m ConversationItemTruncatedEvent) ServerEventType() ServerEventT... method MarshalJSON (line 581) | func (m ConversationItemTruncatedEvent) MarshalJSON() ([]byte, error) { type ConversationItemDeletedEvent (line 597) | type ConversationItemDeletedEvent struct method ServerEventType (line 603) | func (m ConversationItemDeletedEvent) ServerEventType() ServerEventType { method MarshalJSON (line 607) | func (m ConversationItemDeletedEvent) MarshalJSON() ([]byte, error) { type ResponseCreatedEvent (line 623) | type ResponseCreatedEvent struct method ServerEventType (line 629) | func (m ResponseCreatedEvent) ServerEventType() ServerEventType { method MarshalJSON (line 633) | func (m ResponseCreatedEvent) MarshalJSON() ([]byte, error) { type ResponseDoneEvent (line 652) | type ResponseDoneEvent struct method ServerEventType (line 658) | func (m ResponseDoneEvent) ServerEventType() ServerEventType { method MarshalJSON (line 662) | func (m ResponseDoneEvent) MarshalJSON() ([]byte, error) { type ResponseOutputItemAddedEvent (line 678) | type ResponseOutputItemAddedEvent struct method ServerEventType (line 688) | func (m ResponseOutputItemAddedEvent) ServerEventType() ServerEventType { method MarshalJSON (line 692) | func (m ResponseOutputItemAddedEvent) MarshalJSON() ([]byte, error) { type ResponseOutputItemDoneEvent (line 708) | type ResponseOutputItemDoneEvent struct method ServerEventType (line 718) | func (m ResponseOutputItemDoneEvent) ServerEventType() ServerEventType { method MarshalJSON (line 722) | func (m ResponseOutputItemDoneEvent) MarshalJSON() ([]byte, error) { type ResponseContentPartAddedEvent (line 738) | type ResponseContentPartAddedEvent struct method ServerEventType (line 747) | func (m ResponseContentPartAddedEvent) ServerEventType() ServerEventTy... method MarshalJSON (line 751) | func (m ResponseContentPartAddedEvent) MarshalJSON() ([]byte, error) { type ResponseContentPartDoneEvent (line 767) | type ResponseContentPartDoneEvent struct method ServerEventType (line 781) | func (m ResponseContentPartDoneEvent) ServerEventType() ServerEventType { method MarshalJSON (line 785) | func (m ResponseContentPartDoneEvent) MarshalJSON() ([]byte, error) { type ResponseOutputTextDeltaEvent (line 801) | type ResponseOutputTextDeltaEvent struct method ServerEventType (line 810) | func (m ResponseOutputTextDeltaEvent) ServerEventType() ServerEventType { method MarshalJSON (line 814) | func (m ResponseOutputTextDeltaEvent) MarshalJSON() ([]byte, error) { type ResponseOutputTextDoneEvent (line 830) | type ResponseOutputTextDoneEvent struct method ServerEventType (line 839) | func (m ResponseOutputTextDoneEvent) ServerEventType() ServerEventType { method MarshalJSON (line 843) | func (m ResponseOutputTextDoneEvent) MarshalJSON() ([]byte, error) { type ResponseOutputAudioTranscriptDeltaEvent (line 859) | type ResponseOutputAudioTranscriptDeltaEvent struct method ServerEventType (line 873) | func (m ResponseOutputAudioTranscriptDeltaEvent) ServerEventType() Ser... method MarshalJSON (line 877) | func (m ResponseOutputAudioTranscriptDeltaEvent) MarshalJSON() ([]byte... type ResponseOutputAudioTranscriptDoneEvent (line 893) | type ResponseOutputAudioTranscriptDoneEvent struct method ServerEventType (line 907) | func (m ResponseOutputAudioTranscriptDoneEvent) ServerEventType() Serv... method MarshalJSON (line 911) | func (m ResponseOutputAudioTranscriptDoneEvent) MarshalJSON() ([]byte,... type ResponseOutputAudioDeltaEvent (line 927) | type ResponseOutputAudioDeltaEvent struct method ServerEventType (line 941) | func (m ResponseOutputAudioDeltaEvent) ServerEventType() ServerEventTy... method MarshalJSON (line 945) | func (m ResponseOutputAudioDeltaEvent) MarshalJSON() ([]byte, error) { type ResponseOutputAudioDoneEvent (line 961) | type ResponseOutputAudioDoneEvent struct method ServerEventType (line 973) | func (m ResponseOutputAudioDoneEvent) ServerEventType() ServerEventType { method MarshalJSON (line 977) | func (m ResponseOutputAudioDoneEvent) MarshalJSON() ([]byte, error) { type ResponseFunctionCallArgumentsDeltaEvent (line 993) | type ResponseFunctionCallArgumentsDeltaEvent struct method ServerEventType (line 1007) | func (m ResponseFunctionCallArgumentsDeltaEvent) ServerEventType() Ser... method MarshalJSON (line 1011) | func (m ResponseFunctionCallArgumentsDeltaEvent) MarshalJSON() ([]byte... type ResponseFunctionCallArgumentsDoneEvent (line 1027) | type ResponseFunctionCallArgumentsDoneEvent struct method ServerEventType (line 1043) | func (m ResponseFunctionCallArgumentsDoneEvent) ServerEventType() Serv... method MarshalJSON (line 1047) | func (m ResponseFunctionCallArgumentsDoneEvent) MarshalJSON() ([]byte,... type ResponseMcpCallArgumentsDeltaEvent (line 1063) | type ResponseMcpCallArgumentsDeltaEvent struct method ServerEventType (line 1077) | func (m ResponseMcpCallArgumentsDeltaEvent) ServerEventType() ServerEv... method MarshalJSON (line 1081) | func (m ResponseMcpCallArgumentsDeltaEvent) MarshalJSON() ([]byte, err... type ResponseMcpCallArgumentsDoneEvent (line 1097) | type ResponseMcpCallArgumentsDoneEvent struct method ServerEventType (line 1109) | func (m ResponseMcpCallArgumentsDoneEvent) ServerEventType() ServerEve... method MarshalJSON (line 1113) | func (m ResponseMcpCallArgumentsDoneEvent) MarshalJSON() ([]byte, erro... type ResponseMcpCallInProgressEvent (line 1129) | type ResponseMcpCallInProgressEvent struct method ServerEventType (line 1137) | func (m ResponseMcpCallInProgressEvent) ServerEventType() ServerEventT... method MarshalJSON (line 1141) | func (m ResponseMcpCallInProgressEvent) MarshalJSON() ([]byte, error) { type ResponseMcpCallCompletedEvent (line 1157) | type ResponseMcpCallCompletedEvent struct method ServerEventType (line 1165) | func (m ResponseMcpCallCompletedEvent) ServerEventType() ServerEventTy... method MarshalJSON (line 1169) | func (m ResponseMcpCallCompletedEvent) MarshalJSON() ([]byte, error) { type ResponseMcpCallFailedEvent (line 1185) | type ResponseMcpCallFailedEvent struct method ServerEventType (line 1193) | func (m ResponseMcpCallFailedEvent) ServerEventType() ServerEventType { method MarshalJSON (line 1197) | func (m ResponseMcpCallFailedEvent) MarshalJSON() ([]byte, error) { type McpListToolsInProgressEvent (line 1213) | type McpListToolsInProgressEvent struct method ServerEventType (line 1219) | func (m McpListToolsInProgressEvent) ServerEventType() ServerEventType { method MarshalJSON (line 1223) | func (m McpListToolsInProgressEvent) MarshalJSON() ([]byte, error) { type McpListToolsCompletedEvent (line 1239) | type McpListToolsCompletedEvent struct method ServerEventType (line 1245) | func (m McpListToolsCompletedEvent) ServerEventType() ServerEventType { method MarshalJSON (line 1249) | func (m McpListToolsCompletedEvent) MarshalJSON() ([]byte, error) { type McpListToolsFailedEvent (line 1265) | type McpListToolsFailedEvent struct method ServerEventType (line 1271) | func (m McpListToolsFailedEvent) ServerEventType() ServerEventType { method MarshalJSON (line 1275) | func (m McpListToolsFailedEvent) MarshalJSON() ([]byte, error) { type RateLimitsUpdatedEvent (line 1291) | type RateLimitsUpdatedEvent struct method ServerEventType (line 1297) | func (m RateLimitsUpdatedEvent) ServerEventType() ServerEventType { method MarshalJSON (line 1301) | func (m RateLimitsUpdatedEvent) MarshalJSON() ([]byte, error) { type ServerEventInterface (line 1314) | type ServerEventInterface interface function unmarshalServerEvent (line 1357) | func unmarshalServerEvent[T ServerEventInterface](data []byte) (T, error) { function UnmarshalServerEvent (line 1367) | func UnmarshalServerEvent(data []byte) (ServerEvent, error) { //nolint:f... FILE: core/http/endpoints/openai/types/types.go type Voice (line 11) | type Voice constant VoiceAlloy (line 14) | VoiceAlloy Voice = "alloy" constant VoiceAsh (line 15) | VoiceAsh Voice = "ash" constant VoiceBallad (line 16) | VoiceBallad Voice = "ballad" constant VoiceCoral (line 17) | VoiceCoral Voice = "coral" constant VoiceEcho (line 18) | VoiceEcho Voice = "echo" constant VoiceSage (line 19) | VoiceSage Voice = "sage" constant VoiceShimmer (line 20) | VoiceShimmer Voice = "shimmer" constant VoiceVerse (line 21) | VoiceVerse Voice = "verse" constant VoiceMarin (line 22) | VoiceMarin Voice = "marin" constant VoiceCedar (line 23) | VoiceCedar Voice = "cedar" constant VoiceFable (line 24) | VoiceFable Voice = "fable" constant VoiceOnyx (line 25) | VoiceOnyx Voice = "onyx" constant VoiceNova (line 26) | VoiceNova Voice = "nova" type AudioFormat (line 29) | type AudioFormat constant AudioFormatPcm16 (line 32) | AudioFormatPcm16 AudioFormat = "pcm16" constant AudioFormatG711Ulaw (line 33) | AudioFormatG711Ulaw AudioFormat = "g711_ulaw" constant AudioFormatG711Alaw (line 34) | AudioFormatG711Alaw AudioFormat = "g711_alaw" type Modality (line 37) | type Modality constant ModalityText (line 40) | ModalityText Modality = "text" constant ModalityAudio (line 41) | ModalityAudio Modality = "audio" type TurnDetectionType (line 44) | type TurnDetectionType constant TurnDetectionTypeServerVad (line 47) | TurnDetectionTypeServerVad TurnDetectionType = "server_vad" constant TurnDetectionTypeSemanticVad (line 48) | TurnDetectionTypeSemanticVad TurnDetectionType = "semantic_vad" type ToolChoiceMode (line 51) | type ToolChoiceMode method ToolChoiceType (line 59) | func (t ToolChoiceMode) ToolChoiceType() string { constant ToolChoiceModeNone (line 54) | ToolChoiceModeNone ToolChoiceMode = "none" constant ToolChoiceModeAuto (line 55) | ToolChoiceModeAuto ToolChoiceMode = "auto" constant ToolChoiceModeRequired (line 56) | ToolChoiceModeRequired ToolChoiceMode = "required" type ToolChoiceType (line 63) | type ToolChoiceType constant ToolChoiceTypeFunction (line 66) | ToolChoiceTypeFunction ToolChoiceType = "function" constant ToolChoiceTypeMCP (line 67) | ToolChoiceTypeMCP ToolChoiceType = "mcp" type ToolChoiceFunction (line 70) | type ToolChoiceFunction struct method ToolChoiceType (line 75) | func (t ToolChoiceFunction) ToolChoiceType() string { method MarshalJSON (line 79) | func (t ToolChoiceFunction) MarshalJSON() ([]byte, error) { type ToolChoiceMCP (line 92) | type ToolChoiceMCP struct method ToolChoiceType (line 100) | func (t ToolChoiceMCP) ToolChoiceType() string { method MarshalJSON (line 104) | func (t ToolChoiceMCP) MarshalJSON() ([]byte, error) { type ToolChoiceUnion (line 117) | type ToolChoiceUnion struct method MarshalJSON (line 134) | func (t ToolChoiceUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 144) | func (t *ToolChoiceUnion) UnmarshalJSON(data []byte) error { type ToolType (line 164) | type ToolType constant ToolTypeFunction (line 167) | ToolTypeFunction ToolType = "function" constant ToolTypeMCP (line 168) | ToolTypeMCP ToolType = "mcp" type ToolFunction (line 171) | type ToolFunction struct method ToolType (line 182) | func (t ToolFunction) ToolType() ToolType { method MarshalJSON (line 186) | func (t ToolFunction) MarshalJSON() ([]byte, error) { type MCPToolFilter (line 199) | type MCPToolFilter struct type MCPAllowedToolsUnion (line 207) | type MCPAllowedToolsUnion struct method MarshalJSON (line 215) | func (t MCPAllowedToolsUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 222) | func (t *MCPAllowedToolsUnion) UnmarshalJSON(data []byte) error { type MCPRequireApprovalFilter (line 232) | type MCPRequireApprovalFilter struct type MCPToolRequireApprovalUnion (line 240) | type MCPToolRequireApprovalUnion struct method MarshalJSON (line 248) | func (t MCPToolRequireApprovalUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 255) | func (t *MCPToolRequireApprovalUnion) UnmarshalJSON(data []byte) error { type ToolMCP (line 265) | type ToolMCP struct method ToolType (line 302) | func (t ToolMCP) ToolType() ToolType { method MarshalJSON (line 306) | func (t ToolMCP) MarshalJSON() ([]byte, error) { type TracingConfiguration (line 319) | type TracingConfiguration struct type ToolUnion (line 325) | type ToolUnion struct method MarshalJSON (line 332) | func (t ToolUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 342) | func (t *ToolUnion) UnmarshalJSON(data []byte) error { type TracingMode (line 360) | type TracingMode constant TracingModeAuto (line 363) | TracingModeAuto = "auto" type TracingUnion (line 366) | type TracingUnion struct type TruncationStrategy (line 371) | type TruncationStrategy method TruncationStrategy (line 379) | func (t TruncationStrategy) TruncationStrategy() string { constant TruncationStrategyAuto (line 374) | TruncationStrategyAuto TruncationStrategy = "auto" constant TruncationStrategyDisabled (line 375) | TruncationStrategyDisabled TruncationStrategy = "disabled" constant TruncationStrategyRetentionRatio (line 376) | TruncationStrategyRetentionRatio TruncationStrategy = "retention_ratio" type RetentionRatioTruncation (line 383) | type RetentionRatioTruncation struct method TruncationStrategy (line 387) | func (t RetentionRatioTruncation) TruncationStrategy() string { type TruncationUnion (line 391) | type TruncationUnion struct method UnmarshalJSON (line 402) | func (t *TruncationUnion) UnmarshalJSON(data []byte) error { constant nullString (line 396) | nullString = "null" function isNull (line 398) | func isNull(data []byte) bool { type ResponseAudioOutput (line 422) | type ResponseAudioOutput struct type ResponseAudio (line 430) | type ResponseAudio struct type MessageRole (line 434) | type MessageRole constant MessageRoleSystem (line 437) | MessageRoleSystem MessageRole = "system" constant MessageRoleAssistant (line 438) | MessageRoleAssistant MessageRole = "assistant" constant MessageRoleUser (line 439) | MessageRoleUser MessageRole = "user" type Tool (line 442) | type Tool struct type ResponseMessageItem (line 449) | type ResponseMessageItem struct type Error (line 455) | type Error struct type AudioFormatType (line 468) | type AudioFormatType constant AudioFormatTypePCM (line 471) | AudioFormatTypePCM AudioFormatType = "audio/pcm" constant AudioFormatTypePCMU (line 472) | AudioFormatTypePCMU AudioFormatType = "audio/pcmu" constant AudioFormatTypePCMA (line 473) | AudioFormatTypePCMA AudioFormatType = "audio/pcma" type AudioFormatPCM (line 477) | type AudioFormatPCM struct method AudioFormat (line 482) | func (p AudioFormatPCM) AudioFormat() string { method MarshalJSON (line 486) | func (p AudioFormatPCM) MarshalJSON() ([]byte, error) { type AudioFormatPCMU (line 499) | type AudioFormatPCMU struct method AudioFormat (line 502) | func (p AudioFormatPCMU) AudioFormat() string { method MarshalJSON (line 506) | func (p AudioFormatPCMU) MarshalJSON() ([]byte, error) { type AudioFormatPCMA (line 519) | type AudioFormatPCMA struct method AudioFormat (line 522) | func (p AudioFormatPCMA) AudioFormat() string { method MarshalJSON (line 526) | func (p AudioFormatPCMA) MarshalJSON() ([]byte, error) { type AudioFormatUnion (line 538) | type AudioFormatUnion struct method MarshalJSON (line 549) | func (r AudioFormatUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 562) | func (r *AudioFormatUnion) UnmarshalJSON(data []byte) error { type AudioNoiseReduction (line 588) | type AudioNoiseReduction struct type ServerVad (line 593) | type ServerVad struct method VadType (line 617) | func (r ServerVad) VadType() TurnDetectionType { method MarshalJSON (line 621) | func (r ServerVad) MarshalJSON() ([]byte, error) { type RealtimeSessionSemanticVad (line 634) | type RealtimeSessionSemanticVad struct method VadType (line 645) | func (r RealtimeSessionSemanticVad) VadType() TurnDetectionType { method MarshalJSON (line 649) | func (r RealtimeSessionSemanticVad) MarshalJSON() ([]byte, error) { type TurnDetectionUnion (line 662) | type TurnDetectionUnion struct method MarshalJSON (line 670) | func (r TurnDetectionUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 680) | func (r *TurnDetectionUnion) UnmarshalJSON(data []byte) error { type AudioTranscription (line 698) | type AudioTranscription struct type SessionAudioInput (line 709) | type SessionAudioInput struct method UnmarshalJSON (line 728) | func (s *SessionAudioInput) UnmarshalJSON(data []byte) error { type SessionAudioOutput (line 748) | type SessionAudioOutput struct type RealtimeSessionAudio (line 754) | type RealtimeSessionAudio struct type TranscriptionSessionAudio (line 759) | type TranscriptionSessionAudio struct type PromptInputType (line 763) | type PromptInputType constant PromptInputTypeText (line 766) | PromptInputTypeText PromptInputType = "input_text" constant PromptInputTypeImage (line 767) | PromptInputTypeImage PromptInputType = "input_image" constant PromptInputTypeFile (line 768) | PromptInputTypeFile PromptInputType = "input_file" type ImageDetail (line 773) | type ImageDetail constant ImageDetailLow (line 776) | ImageDetailLow ImageDetail = "low" constant ImageDetailHigh (line 777) | ImageDetailHigh ImageDetail = "high" constant ImageDetailAuto (line 778) | ImageDetailAuto ImageDetail = "auto" type PromptInputText (line 781) | type PromptInputText struct method PromptInputType (line 785) | func (r PromptInputText) PromptInputType() PromptInputType { method MarshalJSON (line 789) | func (r PromptInputText) MarshalJSON() ([]byte, error) { type PromptInputImage (line 802) | type PromptInputImage struct method PromptInputType (line 808) | func (r PromptInputImage) PromptInputType() PromptInputType { method MarshalJSON (line 812) | func (r PromptInputImage) MarshalJSON() ([]byte, error) { type PromptInputFile (line 825) | type PromptInputFile struct method PromptInputType (line 832) | func (r PromptInputFile) PromptInputType() PromptInputType { method MarshalJSON (line 836) | func (r PromptInputFile) MarshalJSON() ([]byte, error) { type PromptVariableUnion (line 849) | type PromptVariableUnion struct method UnmarshalJSON (line 860) | func (u *PromptVariableUnion) UnmarshalJSON(data []byte) error { type typeStruct (line 856) | type typeStruct struct type PromptReference (line 883) | type PromptReference struct type SessionType (line 894) | type SessionType constant SessionTypeRealtime (line 897) | SessionTypeRealtime SessionType = "realtime" constant SessionTypeTranscription (line 898) | SessionTypeTranscription SessionType = "transcription" type RealtimeSession (line 901) | type RealtimeSession struct method Type (line 954) | func (r RealtimeSession) Type() SessionType { method MarshalJSON (line 958) | func (r RealtimeSession) MarshalJSON() ([]byte, error) { type TranscriptionSession (line 971) | type TranscriptionSession struct method Type (line 993) | func (r TranscriptionSession) Type() SessionType { method MarshalJSON (line 997) | func (r TranscriptionSession) MarshalJSON() ([]byte, error) { type SessionUnion (line 1010) | type SessionUnion struct method MarshalJSON (line 1018) | func (r SessionUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 1028) | func (r *SessionUnion) UnmarshalJSON(data []byte) error { type ItemStatus (line 1049) | type ItemStatus constant ItemStatusInProgress (line 1052) | ItemStatusInProgress ItemStatus = "in_progress" constant ItemStatusCompleted (line 1053) | ItemStatusCompleted ItemStatus = "completed" constant ItemStatusIncomplete (line 1054) | ItemStatusIncomplete ItemStatus = "incomplete" type Conversation (line 1057) | type Conversation struct type ResponseStatus (line 1064) | type ResponseStatus constant ResponseStatusInProgress (line 1067) | ResponseStatusInProgress ResponseStatus = "in_progress" constant ResponseStatusCompleted (line 1068) | ResponseStatusCompleted ResponseStatus = "completed" constant ResponseStatusCancelled (line 1069) | ResponseStatusCancelled ResponseStatus = "cancelled" constant ResponseStatusIncomplete (line 1070) | ResponseStatusIncomplete ResponseStatus = "incomplete" constant ResponseStatusFailed (line 1071) | ResponseStatusFailed ResponseStatus = "failed" type UsageType (line 1074) | type UsageType constant UsageTypeTokens (line 1077) | UsageTypeTokens UsageType = "tokens" constant UsageTypeDuration (line 1078) | UsageTypeDuration UsageType = "duration" type CachedTokensDetails (line 1081) | type CachedTokensDetails struct type InputTokenDetails (line 1086) | type InputTokenDetails struct type OutputTokenDetails (line 1093) | type OutputTokenDetails struct type TokenUsage (line 1098) | type TokenUsage struct method UsageType (line 1108) | func (u TokenUsage) UsageType() UsageType { type DurationUsage (line 1112) | type DurationUsage struct method UsageType (line 1116) | func (u DurationUsage) UsageType() UsageType { type UsageUnion (line 1120) | type UsageUnion struct method UnmarshalJSON (line 1125) | func (u *UsageUnion) UnmarshalJSON(data []byte) error { type StatusDetail (line 1143) | type StatusDetail struct type ResponseCreateParams (line 1149) | type ResponseCreateParams struct type Response (line 1185) | type Response struct type RateLimit (line 1212) | type RateLimit struct FILE: core/http/endpoints/openresponses/responses.go function ResponsesEndpoint (line 32) | func ResponsesEndpoint(cl *config.ModelConfigLoader, ml *model.ModelLoad... function convertORInputToMessages (line 362) | func convertORInputToMessages(input interface{}, cfg *config.ModelConfig... function convertORReasoningItemToMessage (line 448) | func convertORReasoningItemToMessage(itemMap map[string]interface{}) (sc... function convertORFunctionCallItemToMessage (line 469) | func convertORFunctionCallItemToMessage(itemMap map[string]interface{}) ... function stringPtr (line 487) | func stringPtr(s string) *string { function convertORItemToMessage (line 496) | func convertORItemToMessage(item *schema.ORItemField, responseID string)... function extractReasoningContentFromORItem (line 553) | func extractReasoningContentFromORItem(item *schema.ORItemField) string { function convertOROutputItemsToMessages (line 571) | func convertOROutputItemsToMessages(outputItems []schema.ORItemField) ([... function mergeContiguousAssistantMessages (line 632) | func mergeContiguousAssistantMessages(messages []schema.Message) []schem... function flushAssistantAccumulator (line 676) | func flushAssistantAccumulator(out *[]schema.Message, acc **schema.Messa... function convertORMessageItem (line 697) | func convertORMessageItem(itemMap map[string]interface{}, cfg *config.Mo... function convertORToolsToFunctions (line 795) | func convertORToolsToFunctions(input *schema.OpenResponsesRequest, cfg *... function convertTextFormatToResponseFormat (line 850) | func convertTextFormatToResponseFormat(textFormat interface{}) interface... function handleBackgroundNonStream (line 869) | func handleBackgroundNonStream(ctx context.Context, store *ResponseStore... function handleBackgroundStream (line 1036) | func handleBackgroundStream(ctx context.Context, store *ResponseStore, r... function bufferEvent (line 1334) | func bufferEvent(store *ResponseStore, responseID string, event *schema.... function handleOpenResponsesNonStream (line 1342) | func handleOpenResponsesNonStream(c echo.Context, responseID string, cre... function handleOpenResponsesStream (line 1585) | func handleOpenResponsesStream(c echo.Context, responseID string, create... function sendSSEEvent (line 2608) | func sendSSEEvent(c echo.Context, event *schema.ORStreamEvent) { function normalizeORStreamEvent (line 2619) | func normalizeORStreamEvent(event *schema.ORStreamEvent) { function getTopLogprobs (line 2626) | func getTopLogprobs(topLogprobs *int) int { function strPtr (line 2634) | func strPtr(s string) *string { function logprobsPtr (line 2638) | func logprobsPtr(lp []schema.ORLogProb) *[]schema.ORLogProb { function emptyLogprobs (line 2642) | func emptyLogprobs() *[]schema.ORLogProb { function makeOutputTextPart (line 2648) | func makeOutputTextPart(text string) schema.ORContentPart { function makeOutputTextPartWithLogprobs (line 2653) | func makeOutputTextPartWithLogprobs(text string, logprobs *schema.Logpro... function convertLogprobsForStreaming (line 2658) | func convertLogprobsForStreaming(logprobs *schema.Logprobs) []schema.ORL... function ensureUsageDetails (line 2684) | func ensureUsageDetails(usage *schema.ORUsage) *schema.ORUsage { function buildORResponse (line 2699) | func buildORResponse(responseID string, createdAt int64, completedAt *in... function sendOpenResponsesError (line 2856) | func sendOpenResponsesError(c echo.Context, statusCode int, errorType, m... function convertORToolsToOpenAIFormat (line 2872) | func convertORToolsToOpenAIFormat(orTools []schema.ORFunctionTool) []fun... function GetResponseEndpoint (line 2898) | func GetResponseEndpoint() func(c echo.Context) error { function handleStreamResume (line 2941) | func handleStreamResume(c echo.Context, store *ResponseStore, responseID... function CancelResponseEndpoint (line 3037) | func CancelResponseEndpoint() func(c echo.Context) error { FILE: core/http/endpoints/openresponses/store.go type ResponseStore (line 15) | type ResponseStore struct method SetTTL (line 62) | func (s *ResponseStore) SetTTL(ttl time.Duration) { method Store (line 102) | func (s *ResponseStore) Store(responseID string, request *schema.OpenR... method Get (line 134) | func (s *ResponseStore) Get(responseID string) (*StoredResponse, error) { method GetItem (line 153) | func (s *ResponseStore) GetItem(responseID, itemID string) (*schema.OR... method FindItem (line 169) | func (s *ResponseStore) FindItem(itemID string) (*schema.ORItemField, ... method Delete (line 189) | func (s *ResponseStore) Delete(responseID string) { method Cleanup (line 197) | func (s *ResponseStore) Cleanup() int { method cleanupLoop (line 222) | func (s *ResponseStore) cleanupLoop(ctx context.Context) { method Count (line 242) | func (s *ResponseStore) Count() int { method StoreBackground (line 249) | func (s *ResponseStore) StoreBackground(responseID string, request *sc... method UpdateStatus (line 286) | func (s *ResponseStore) UpdateStatus(responseID string, status string,... method UpdateResponse (line 306) | func (s *ResponseStore) UpdateResponse(responseID string, response *sc... method AppendEvent (line 335) | func (s *ResponseStore) AppendEvent(responseID string, event *schema.O... method GetEventsAfter (line 369) | func (s *ResponseStore) GetEventsAfter(responseID string, startingAfte... method Cancel (line 392) | func (s *ResponseStore) Cancel(responseID string) (*schema.ORResponseR... method GetEventsChan (line 427) | func (s *ResponseStore) GetEventsChan(responseID string) (chan struct{... method IsStreamEnabled (line 440) | func (s *ResponseStore) IsStreamEnabled(responseID string) (bool, erro... type StreamedEvent (line 24) | type StreamedEvent struct type StoredResponse (line 31) | type StoredResponse struct function GetGlobalStore (line 53) | func GetGlobalStore() *ResponseStore { function NewResponseStore (line 86) | func NewResponseStore(ttl time.Duration) *ResponseStore { FILE: core/http/endpoints/openresponses/store_suite_test.go function TestStore (line 10) | func TestStore(t *testing.T) { FILE: core/http/endpoints/openresponses/websocket.go constant wsMaxMessageSize (line 25) | wsMaxMessageSize = 10 * 1024 * 1024 constant wsConnectionLimit (line 26) | wsConnectionLimit = 60 * time.Minute type lockedConn (line 36) | type lockedConn struct method writeJSON (line 41) | func (lc *lockedConn) writeJSON(v any) error { function WebSocketEndpoint (line 50) | func WebSocketEndpoint(application *application.Application) echo.Handle... function handleWebSocketConnection (line 84) | func handleWebSocketConnection(connCtx context.Context, conn *lockedConn... function handleWSResponseCreate (line 143) | func handleWSResponseCreate(connCtx context.Context, conn *lockedConn, i... function forwardEvents (line 340) | func forwardEvents(ctx context.Context, conn *lockedConn, store *Respons... function sendWSError (line 401) | func sendWSError(conn *lockedConn, errType, message, param string) { function sendWSErrorEvent (line 413) | func sendWSErrorEvent(conn *lockedConn, code, message, param string) { FILE: core/http/explorer.go function Explorer (line 14) | func Explorer(db *explorer.Database) *echo.Echo { FILE: core/http/http_suite_test.go function TestLocalAI (line 17) | func TestLocalAI(t *testing.T) { FILE: core/http/middleware/auth.go function GetKeyAuthConfig (line 18) | func GetKeyAuthConfig(applicationConfig *config.ApplicationConfig) (echo... function extractKeyFromMultipleSources (line 62) | func extractKeyFromMultipleSources(c echo.Context) (string, error) { function getApiKeyErrorHandler (line 93) | func getApiKeyErrorHandler(applicationConfig *config.ApplicationConfig) ... function getApiKeyValidationFunction (line 127) | func getApiKeyValidationFunction(applicationConfig *config.ApplicationCo... function getApiKeyRequiredFilterFunction (line 155) | func getApiKeyRequiredFilterFunction(applicationConfig *config.Applicati... FILE: core/http/middleware/auth_test.go function ok (line 15) | func ok(c echo.Context) error { function newAuthApp (line 22) | func newAuthApp(appConfig *config.ApplicationConfig) *echo.Echo { function doRequest (line 47) | func doRequest(e *echo.Echo, method, path string, opts ...func(*http.Req... function withBearerToken (line 58) | func withBearerToken(token string) func(*http.Request) { function withXApiKey (line 64) | func withXApiKey(key string) func(*http.Request) { function withXiApiKey (line 70) | func withXiApiKey(key string) func(*http.Request) { function withTokenCookie (line 76) | func withTokenCookie(token string) func(*http.Request) { FILE: core/http/middleware/baseurl.go function BaseURL (line 13) | func BaseURL(c echo.Context) string { FILE: core/http/middleware/middleware_suite_test.go function TestMiddleware (line 10) | func TestMiddleware(t *testing.T) { FILE: core/http/middleware/request.go type correlationIDKeyType (line 23) | type correlationIDKeyType constant CorrelationIDKey (line 26) | CorrelationIDKey correlationIDKeyType = "correlationID" type RequestExtractor (line 28) | type RequestExtractor struct method setModelNameFromRequest (line 47) | func (re *RequestExtractor) setModelNameFromRequest(c echo.Context) { method BuildConstantDefaultModelNameMiddleware (line 78) | func (re *RequestExtractor) BuildConstantDefaultModelNameMiddleware(de... method BuildFilteredFirstAvailableDefaultModel (line 92) | func (re *RequestExtractor) BuildFilteredFirstAvailableDefaultModel(fi... method SetModelAndConfig (line 123) | func (re *RequestExtractor) SetModelAndConfig(initializer func() schem... method SetOpenAIRequest (line 160) | func (re *RequestExtractor) SetOpenAIRequest(c echo.Context) error { method SetOpenResponsesRequest (line 488) | func (re *RequestExtractor) SetOpenResponsesRequest(c echo.Context) er... function NewRequestExtractor (line 34) | func NewRequestExtractor(modelConfigLoader *config.ModelConfigLoader, mo... constant CONTEXT_LOCALS_KEY_MODEL_NAME (line 42) | CONTEXT_LOCALS_KEY_MODEL_NAME = "MODEL_NAME" constant CONTEXT_LOCALS_KEY_LOCALAI_REQUEST (line 43) | CONTEXT_LOCALS_KEY_LOCALAI_REQUEST = "LOCALAI_REQUEST" constant CONTEXT_LOCALS_KEY_MODEL_CONFIG (line 44) | CONTEXT_LOCALS_KEY_MODEL_CONFIG = "MODEL_CONFIG" function mergeOpenAIRequestAndModelConfig (line 215) | func mergeOpenAIRequestAndModelConfig(config *config.ModelConfig, input ... function MergeOpenResponsesConfig (line 545) | func MergeOpenResponsesConfig(config *config.ModelConfig, input *schema.... FILE: core/http/middleware/strippathprefix.go function StripPathPrefix (line 12) | func StripPathPrefix() echo.MiddlewareFunc { FILE: core/http/middleware/trace.go type APIExchangeRequest (line 18) | type APIExchangeRequest struct type APIExchangeResponse (line 25) | type APIExchangeResponse struct type APIExchange (line 31) | type APIExchange struct type bodyWriter (line 46) | type bodyWriter struct method Write (line 51) | func (w *bodyWriter) Write(b []byte) (int, error) { method Flush (line 56) | func (w *bodyWriter) Flush() { function initializeTracing (line 62) | func initializeTracing(maxItems int) { function TraceMiddleware (line 84) | func TraceMiddleware(app *application.Application) echo.MiddlewareFunc { function GetTraces (line 170) | func GetTraces() []APIExchange { function ClearTraces (line 187) | func ClearTraces() { FILE: core/http/middleware/usage.go constant usageFlushInterval (line 16) | usageFlushInterval = 5 * time.Second constant usageMaxPending (line 17) | usageMaxPending = 5000 type usageBatcher (line 21) | type usageBatcher struct method add (line 27) | func (b *usageBatcher) add(r *auth.UsageRecord) { method flush (line 33) | func (b *usageBatcher) flush() { function InitUsageRecorder (line 58) | func InitUsageRecorder(db *gorm.DB) { type usageResponseBody (line 73) | type usageResponseBody struct function UsageMiddleware (line 84) | func UsageMiddleware(db *gorm.DB) echo.MiddlewareFunc { function lastSSEData (line 172) | func lastSSEData(b []byte) ([]byte, bool) { FILE: core/http/openresponses_test.go constant testModel (line 24) | testModel = "Qwen3-VL-2B-Instruct-GGUF" FILE: core/http/react-ui/e2e/models-gallery.spec.js constant MOCK_MODELS_RESPONSE (line 3) | const MOCK_MODELS_RESPONSE = { FILE: core/http/react-ui/src/App.jsx constant COLLAPSED_KEY (line 8) | const COLLAPSED_KEY = 'localai_sidebar_collapsed' function App (line 10) | function App() { FILE: core/http/react-ui/src/components/CanvasPanel.jsx function CanvasPanel (line 7) | function CanvasPanel({ artifacts, selectedId, onSelect, onClose }) { FILE: core/http/react-ui/src/components/ClientMCPDropdown.jsx function ClientMCPDropdown (line 4) | function ClientMCPDropdown({ FILE: core/http/react-ui/src/components/CodeEditor.jsx function CodeEditor (line 7) | function CodeEditor({ value, onChange, disabled, minHeight = '500px' }) { FILE: core/http/react-ui/src/components/ConfirmDialog.jsx function ConfirmDialog (line 3) | function ConfirmDialog({ FILE: core/http/react-ui/src/components/LoadingSpinner.jsx function LoadingSpinner (line 4) | function LoadingSpinner({ size = 'md', className = '' }) { FILE: core/http/react-ui/src/components/MCPAppFrame.jsx function MCPAppFrame (line 4) | function MCPAppFrame({ toolName, toolInput, toolResult, mcpClient, toolD... FILE: core/http/react-ui/src/components/Modal.jsx function Modal (line 4) | function Modal({ onClose, children, maxWidth = '600px' }) { FILE: core/http/react-ui/src/components/ModelSelector.jsx function ModelSelector (line 5) | function ModelSelector({ FILE: core/http/react-ui/src/components/OperationsBar.jsx function OperationsBar (line 3) | function OperationsBar() { FILE: core/http/react-ui/src/components/RequireAdmin.jsx function RequireAdmin (line 4) | function RequireAdmin({ children }) { FILE: core/http/react-ui/src/components/RequireAuth.jsx function RequireAuth (line 4) | function RequireAuth({ children }) { FILE: core/http/react-ui/src/components/RequireFeature.jsx function RequireFeature (line 4) | function RequireFeature({ feature, children }) { FILE: core/http/react-ui/src/components/ResourceCards.jsx function ResourceCards (line 5) | function ResourceCards({ metadata, onOpenArtifact, messageIndex, agentNa... FILE: core/http/react-ui/src/components/ResourceMonitor.jsx function ResourceMonitor (line 4) | function ResourceMonitor() { FILE: core/http/react-ui/src/components/SearchableModelSelect.jsx function SearchableModelSelect (line 4) | function SearchableModelSelect({ value, onChange, capability, placeholde... FILE: core/http/react-ui/src/components/SearchableSelect.jsx function SearchableSelect (line 3) | function SearchableSelect({ FILE: core/http/react-ui/src/components/SettingRow.jsx function SettingRow (line 1) | function SettingRow({ label, description, children }) { FILE: core/http/react-ui/src/components/Sidebar.jsx constant COLLAPSED_KEY (line 7) | const COLLAPSED_KEY = 'localai_sidebar_collapsed' function NavItem (line 37) | function NavItem({ item, onClose, collapsed }) { function Sidebar (line 54) | function Sidebar({ isOpen, onClose }) { FILE: core/http/react-ui/src/components/ThemeToggle.jsx function ThemeToggle (line 3) | function ThemeToggle() { FILE: core/http/react-ui/src/components/Toast.jsx function useToast (line 5) | function useToast() { function ToastContainer (line 46) | function ToastContainer({ toasts, removeToast }) { function ToastItem (line 56) | function ToastItem({ toast, onRemove }) { FILE: core/http/react-ui/src/components/Toggle.jsx function Toggle (line 1) | function Toggle({ checked, onChange, disabled }) { FILE: core/http/react-ui/src/components/UnifiedMCPDropdown.jsx function UnifiedMCPDropdown (line 4) | function UnifiedMCPDropdown({ FILE: core/http/react-ui/src/components/UserGroupSection.jsx function UserGroupSection (line 14) | function UserGroupSection({ title, userGroups, userMap, currentUserId, r... function UserSubSection (line 145) | function UserSubSection({ uid, displayName, initials, avatarUrl, count, ... FILE: core/http/react-ui/src/context/AuthContext.jsx function AuthProvider (line 6) | function AuthProvider({ children }) { function useAuth (line 71) | function useAuth() { FILE: core/http/react-ui/src/contexts/ThemeContext.jsx function getInitialTheme (line 5) | function getInitialTheme() { function ThemeProvider (line 12) | function ThemeProvider({ children }) { function useTheme (line 31) | function useTheme() { FILE: core/http/react-ui/src/hooks/useAgentChat.js constant STORAGE_KEY_PREFIX (line 3) | const STORAGE_KEY_PREFIX = 'localai_agent_chats_' constant SAVE_DEBOUNCE_MS (line 4) | const SAVE_DEBOUNCE_MS = 500 function generateId (line 6) | function generateId() { function storageKey (line 10) | function storageKey(agentName) { function loadConversations (line 14) | function loadConversations(agentName) { function saveConversations (line 29) | function saveConversations(agentName, conversations, activeId) { function createConversation (line 50) | function createConversation() { function useAgentChat (line 60) | function useAgentChat(agentName) { FILE: core/http/react-ui/src/hooks/useChat.js function extractThinking (line 9) | function extractThinking(text) { constant CHATS_STORAGE_KEY (line 24) | const CHATS_STORAGE_KEY = 'localai_chats_data' constant SAVE_DEBOUNCE_MS (line 25) | const SAVE_DEBOUNCE_MS = 500 function generateId (line 27) | function generateId() { function loadChats (line 31) | function loadChats() { function saveChats (line 46) | function saveChats(chats, activeChatId) { function createNewChat (line 77) | function createNewChat(model = '', systemPrompt = '', mcpMode = false) { function useChat (line 98) | function useChat(initialModel = '') { FILE: core/http/react-ui/src/hooks/useMCPClient.js function buildProxyUrl (line 9) | function buildProxyUrl(targetUrl, useProxy = true) { function useMCPClient (line 15) | function useMCPClient() { function formatToolResult (line 230) | function formatToolResult(result) { FILE: core/http/react-ui/src/hooks/useModels.js function useModels (line 4) | function useModels(capability) { function useGalleryModels (line 44) | function useGalleryModels(params = {}) { FILE: core/http/react-ui/src/hooks/useOperations.js function useOperations (line 5) | function useOperations(pollInterval = 1000) { FILE: core/http/react-ui/src/hooks/useResources.js function useResources (line 4) | function useResources(pollInterval = 5000) { FILE: core/http/react-ui/src/hooks/useUserMap.js function useUserMap (line 9) | function useUserMap() { FILE: core/http/react-ui/src/pages/Account.jsx function formatDate (line 10) | function formatDate(d) { constant TABS (line 15) | const TABS = [ function ProfileTab (line 21) | function ProfileTab({ addToast }) { function SecurityTab (line 121) | function SecurityTab({ addToast }) { function ApiKeysTab (line 216) | function ApiKeysTab({ addToast }) { function Account (line 399) | function Account() { FILE: core/http/react-ui/src/pages/AgentChat.jsx function relativeTime (line 12) | function relativeTime(ts) { function getLastMessagePreview (line 26) | function getLastMessagePreview(conv) { function stripHtml (line 37) | function stripHtml(html) { function summarizeStatus (line 42) | function summarizeStatus(text) { function AgentActivityGroup (line 50) | function AgentActivityGroup({ items }) { function AgentChat (line 86) | function AgentChat() { FILE: core/http/react-ui/src/pages/AgentCreate.jsx function parseStdioServers (line 10) | function parseStdioServers(value) { function buildStdioJson (line 38) | function buildStdioJson(list) { function FormField (line 57) | function FormField({ field, value, onChange, disabled }) { function ConfigForm (line 153) | function ConfigForm({ items, fieldGroups, onChange, onRemove, onAdd, ite... constant SECTIONS (line 249) | const SECTIONS = [ constant CUSTOM_FIELDS (line 263) | const CUSTOM_FIELDS = new Set(['mcp_stdio_servers']) function AgentCreate (line 267) | function AgentCreate() { FILE: core/http/react-ui/src/pages/AgentJobDetails.jsx function TraceCard (line 16) | function TraceCard({ trace, index }) { function AgentJobDetails (line 87) | function AgentJobDetails() { FILE: core/http/react-ui/src/pages/AgentJobs.jsx function AgentJobs (line 13) | function AgentJobs() { FILE: core/http/react-ui/src/pages/AgentStatus.jsx function ObservableSummary (line 6) | function ObservableSummary({ observable }) { function ObservableCard (line 77) | function ObservableCard({ observable, children: childNodes }) { function buildTree (line 164) | function buildTree(observables) { function renderTree (line 178) | function renderTree(nodes) { function AgentStatus (line 186) | function AgentStatus() { FILE: core/http/react-ui/src/pages/AgentTaskDetails.jsx function AgentTaskDetails (line 8) | function AgentTaskDetails() { FILE: core/http/react-ui/src/pages/Agents.jsx function Agents (line 9) | function Agents() { FILE: core/http/react-ui/src/pages/BackendLogs.jsx function wsUrl (line 8) | function wsUrl(path) { constant STREAM_BADGE (line 13) | const STREAM_BADGE = { function BackendLogsDetail (line 19) | function BackendLogsDetail({ modelId }) { function BackendLogs (line 277) | function BackendLogs() { FILE: core/http/react-ui/src/pages/Backends.jsx function Backends (line 10) | function Backends() { function BackendDetailRow (line 426) | function BackendDetailRow({ label, children }) { function BackendDetail (line 438) | function BackendDetail({ backend }) { FILE: core/http/react-ui/src/pages/Chat.jsx function relativeTime (line 16) | function relativeTime(ts) { function getLastMessagePreview (line 30) | function getLastMessagePreview(chat) { function exportChatAsMarkdown (line 42) | function exportChatAsMarkdown(chat) { function formatToolContent (line 65) | function formatToolContent(raw) { function ToolParams (line 80) | function ToolParams({ entries, fallback }) { function ActivityGroup (line 101) | function ActivityGroup({ items, updateChatSettings, activeChat, getClien... function StreamingActivity (line 188) | function StreamingActivity({ reasoning, toolCalls, hasResponse }) { function UserMessageContent (line 265) | function UserMessageContent({ content, files }) { function Chat (line 287) | function Chat() { FILE: core/http/react-ui/src/pages/CollectionDetails.jsx function CollectionDetails (line 6) | function CollectionDetails() { FILE: core/http/react-ui/src/pages/Collections.jsx function Collections (line 9) | function Collections() { FILE: core/http/react-ui/src/pages/Explorer.jsx function Explorer (line 4) | function Explorer() { FILE: core/http/react-ui/src/pages/Home.jsx function Home (line 12) | function Home() { FILE: core/http/react-ui/src/pages/ImageGen.jsx constant SIZES (line 7) | const SIZES = ['256x256', '512x512', '768x768', '1024x1024'] function ImageGen (line 9) | function ImageGen() { FILE: core/http/react-ui/src/pages/ImportModel.jsx constant BACKENDS (line 8) | const BACKENDS = [ constant URI_FORMATS (line 18) | const URI_FORMATS = [ constant DEFAULT_YAML (line 62) | const DEFAULT_YAML = `name: my-model function ImportModel (line 70) | function ImportModel() { FILE: core/http/react-ui/src/pages/Login.jsx function Login (line 7) | function Login() { FILE: core/http/react-ui/src/pages/Manage.jsx constant TABS (line 8) | const TABS = [ function Manage (line 13) | function Manage() { FILE: core/http/react-ui/src/pages/ModelEditor.jsx function ModelEditor (line 8) | function ModelEditor() { FILE: core/http/react-ui/src/pages/Models.jsx constant LOADING_PHRASES (line 11) | const LOADING_PHRASES = [ function GalleryLoader (line 19) | function GalleryLoader() { constant FILTERS (line 89) | const FILTERS = [ function Models (line 101) | function Models() { function DetailRow (line 549) | function DetailRow({ label, children }) { function ModelDetail (line 561) | function ModelDetail({ model, fit, expandedFiles, setExpandedFiles }) { FILE: core/http/react-ui/src/pages/NotFound.jsx function NotFound (line 3) | function NotFound() { FILE: core/http/react-ui/src/pages/P2P.jsx function NodeCard (line 6) | function NodeCard({ node, label, iconColor, iconBg }) { function CommandBlock (line 60) | function CommandBlock({ command, addToast }) { function StepNumber (line 93) | function StepNumber({ n, bg, color }) { function P2P (line 103) | function P2P() { FILE: core/http/react-ui/src/pages/Settings.jsx constant SECTIONS (line 10) | const SECTIONS = [ function Settings (line 25) | function Settings() { FILE: core/http/react-ui/src/pages/SkillEdit.jsx constant RESOURCE_PREFIXES (line 5) | const RESOURCE_PREFIXES = ['scripts/', 'references/', 'assets/'] function isValidResourcePath (line 6) | function isValidResourcePath(path) { function ResourceGroup (line 10) | function ResourceGroup({ title, icon, items, readOnly, pathPrefix, onVie... function ResourcesSection (line 67) | function ResourcesSection({ skillName, addToast }) { function SkillEdit (line 261) | function SkillEdit() { FILE: core/http/react-ui/src/pages/Skills.jsx function Skills (line 9) | function Skills() { FILE: core/http/react-ui/src/pages/Sound.jsx function Sound (line 7) | function Sound() { FILE: core/http/react-ui/src/pages/TTS.jsx function TTS (line 7) | function TTS() { FILE: core/http/react-ui/src/pages/Talk.jsx constant STATUS_STYLES (line 6) | const STATUS_STYLES = { function Talk (line 16) | function Talk() { FILE: core/http/react-ui/src/pages/Traces.jsx constant AUDIO_DATA_KEYS (line 9) | const AUDIO_DATA_KEYS = new Set([ function formatDuration (line 15) | function formatDuration(ns) { function decodeTraceBody (line 23) | function decodeTraceBody(body) { function formatValue (line 36) | function formatValue(value) { function formatLargeValue (line 43) | function formatLargeValue(value) { function isLargeValue (line 51) | function isLargeValue(value) { function truncateValue (line 57) | function truncateValue(value, maxLen) { constant TYPE_COLORS (line 63) | const TYPE_COLORS = { function typeBadgeStyle (line 77) | function typeBadgeStyle(type) { function AudioSnippet (line 83) | function AudioSnippet({ data }) { function isPlainObject (line 114) | function isPlainObject(value) { function fieldSummary (line 118) | function fieldSummary(value) { function DataFields (line 124) | function DataFields({ data, nested }) { function BackendTraceDetail (line 189) | function BackendTraceDetail({ trace }) { function ApiTraceDetail (line 243) | function ApiTraceDetail({ trace }) { function Traces (line 284) | function Traces() { FILE: core/http/react-ui/src/pages/Usage.jsx constant PERIODS (line 7) | const PERIODS = [ function formatNumber (line 14) | function formatNumber(n) { function StatCard (line 21) | function StatCard({ icon, label, value }) { function UsageBar (line 35) | function UsageBar({ value, max }) { function aggregateByModel (line 52) | function aggregateByModel(buckets) { function aggregateByUser (line 67) | function aggregateByUser(buckets) { function aggregateByBucket (line 82) | function aggregateByBucket(buckets) { function formatBucket (line 97) | function formatBucket(bucket, period) { function formatYLabel (line 115) | function formatYLabel(n) { function UsageTimeChart (line 121) | function UsageTimeChart({ data, period }) { function ModelDistChart (line 254) | function ModelDistChart({ rows }) { function Usage (line 301) | function Usage() { FILE: core/http/react-ui/src/pages/Users.jsx function RoleBadge (line 10) | function RoleBadge({ role }) { function StatusBadge (line 19) | function StatusBadge({ status }) { function ProviderBadge (line 32) | function ProviderBadge({ provider }) { function PermissionSummary (line 40) | function PermissionSummary({ user, onClick }) { function PermissionsModal (line 67) | function PermissionsModal({ user, featureMeta, availableModels, onClose,... function InviteStatusBadge (line 261) | function InviteStatusBadge({ invite }) { function isInviteAvailable (line 275) | function isInviteAvailable(invite) { function InvitesTab (line 279) | function InvitesTab({ addToast }) { function Users (line 464) | function Users() { FILE: core/http/react-ui/src/pages/VideoGen.jsx constant SIZES (line 7) | const SIZES = ['256x256', '512x512', '768x768', '1024x1024'] function VideoGen (line 9) | function VideoGen() { FILE: core/http/react-ui/src/router.jsx function BrowseRedirect (line 41) | function BrowseRedirect() { function Admin (line 46) | function Admin({ children }) { function Feature (line 50) | function Feature({ feature, children }) { FILE: core/http/react-ui/src/utils/api.js function handleResponse (line 7) | async function handleResponse(response) { function buildUrl (line 26) | function buildUrl(endpoint, params) { function fetchJSON (line 38) | async function fetchJSON(endpoint, options = {}) { function postJSON (line 46) | async function postJSON(endpoint, body, options = {}) { function streamChat (line 55) | async function streamChat(body, signal) { function fileToBase64 (line 384) | function fileToBase64(file) { FILE: core/http/react-ui/src/utils/artifacts.js constant FENCE_REGEX (line 6) | const FENCE_REGEX = /```(\w*)\n([\s\S]*?)```/g function extractCodeArtifacts (line 8) | function extractCodeArtifacts(messages, roleField = 'role', targetRole =... constant IMAGE_EXTS (line 35) | const IMAGE_EXTS = /\.(png|jpe?g|gif|webp|bmp|svg|ico)$/i constant AUDIO_EXTS (line 36) | const AUDIO_EXTS = /\.(mp3|wav|ogg|flac|aac|m4a|wma)$/i constant VIDEO_EXTS (line 37) | const VIDEO_EXTS = /\.(mp4|webm|mkv|avi|mov)$/i constant PDF_EXT (line 38) | const PDF_EXT = /\.pdf$/i function inferMetadataType (line 40) | function inferMetadataType(key, value) { function isWebUrl (line 56) | function isWebUrl(v) { function extractMetadataArtifacts (line 60) | function extractMetadataArtifacts(messages, agentName) { function guessTitle (line 89) | function guessTitle(lang, index) { function getArtifactIcon (line 103) | function getArtifactIcon(type, language) { method code (line 121) | code({ text, lang }) { function renderMarkdownWithArtifacts (line 134) | function renderMarkdownWithArtifacts(text, messageIndex) { FILE: core/http/react-ui/src/utils/basePath.js function getBasePath (line 1) | function getBasePath() { function apiUrl (line 12) | function apiUrl(path) { FILE: core/http/react-ui/src/utils/config.js constant API_CONFIG (line 1) | const API_CONFIG = { FILE: core/http/react-ui/src/utils/format.js function formatBytes (line 1) | function formatBytes(bytes) { function percentColor (line 9) | function percentColor(pct) { function formatTimestamp (line 15) | function formatTimestamp(ts) { function vendorColor (line 21) | function vendorColor(vendor) { FILE: core/http/react-ui/src/utils/markdown.js method highlight (line 6) | highlight(code, lang) { function renderMarkdown (line 16) | function renderMarkdown(text) { function highlightAll (line 22) | function highlightAll(element) { FILE: core/http/react-ui/src/utils/mcpClientStorage.js constant STORAGE_KEY (line 1) | const STORAGE_KEY = 'localai_client_mcp_servers' function generateId (line 3) | function generateId() { function loadClientMCPServers (line 7) | function loadClientMCPServers() { function saveClientMCPServers (line 20) | function saveClientMCPServers(servers) { function addClientMCPServer (line 28) | function addClientMCPServer({ name, url, headers, useProxy }) { function removeClientMCPServer (line 42) | function removeClientMCPServer(id) { function updateClientMCPServer (line 48) | function updateClientMCPServer(id, updates) { FILE: core/http/render.go type TemplateRenderer (line 24) | type TemplateRenderer struct method Render (line 29) | func (t *TemplateRenderer) Render(w io.Writer, name string, data inter... function notFoundHandler (line 33) | func notFoundHandler(c echo.Context) error { function renderEngine (line 50) | func renderEngine() *TemplateRenderer { function markDowner (line 86) | func markDowner(args ...interface{}) template.HTML { FILE: core/http/routes/agents.go function RegisterAgentPoolRoutes (line 11) | func RegisterAgentPoolRoutes(e *echo.Echo, app *application.Application, FILE: core/http/routes/anthropic.go function RegisterAnthropicRoutes (line 18) | func RegisterAnthropicRoutes(app *echo.Echo, function setAnthropicRequestContext (line 46) | func setAnthropicRequestContext(appConfig *config.ApplicationConfig) ech... FILE: core/http/routes/auth.go type rateLimiter (line 24) | type rateLimiter struct method allow (line 39) | func (rl *rateLimiter) allow(key string) bool { method cleanup (line 64) | func (rl *rateLimiter) cleanup() { function newRateLimiter (line 31) | func newRateLimiter(window time.Duration, max int) *rateLimiter { function rateLimitMiddleware (line 84) | func rateLimitMiddleware(rl *rateLimiter) echo.MiddlewareFunc { function parseDuration (line 98) | func parseDuration(s string) (time.Duration, error) { function RegisterAuthRoutes (line 125) | func RegisterAuthRoutes(e *echo.Echo, app *application.Application) { function isValidLegacyKey (line 1070) | func isValidLegacyKey(token string, appConfig *config.ApplicationConfig)... FILE: core/http/routes/auth_test.go function newTestAuthApp (line 21) | func newTestAuthApp(db *gorm.DB, appConfig *config.ApplicationConfig) *e... function createRouteTestUser (line 299) | func createRouteTestUser(db *gorm.DB, email, role string) *auth.User { function doAuthRequest (line 313) | func doAuthRequest(e *echo.Echo, method, path string, body []byte, opts ... function withSession (line 329) | func withSession(sessionID string) func(*http.Request) { function withBearer (line 335) | func withBearer(token string) func(*http.Request) { FILE: core/http/routes/elevenlabs.go function RegisterElevenLabsRoutes (line 12) | func RegisterElevenLabsRoutes(app *echo.Echo, FILE: core/http/routes/explorer.go function RegisterExplorerRoutes (line 9) | func RegisterExplorerRoutes(app *echo.Echo, db *coreExplorer.Database) { FILE: core/http/routes/health.go function HealthRoutes (line 7) | func HealthRoutes(app *echo.Echo) { FILE: core/http/routes/jina.go function RegisterJINARoutes (line 13) | func RegisterJINARoutes(app *echo.Echo, FILE: core/http/routes/localai.go function RegisterLocalAIRoutes (line 17) | func RegisterLocalAIRoutes(router *echo.Echo, FILE: core/http/routes/openai.go function RegisterOpenAIRoutes (line 13) | func RegisterOpenAIRoutes(app *echo.Echo, FILE: core/http/routes/openresponses.go function RegisterOpenResponsesRoutes (line 13) | func RegisterOpenResponsesRoutes(app *echo.Echo, function setOpenResponsesRequestContext (line 59) | func setOpenResponsesRequestContext(re *middleware.RequestExtractor) ech... FILE: core/http/routes/ui.go function RegisterUIRoutes (line 28) | func RegisterUIRoutes(app *echo.Echo, type backendLogsConn (line 185) | type backendLogsConn struct method writeJSON (line 190) | func (c *backendLogsConn) writeJSON(v any) error { method writePing (line 201) | func (c *backendLogsConn) writePing() error { FILE: core/http/routes/ui_api.go constant nameSortFieldName (line 35) | nameSortFieldName = "name" constant repositorySortFieldName (line 36) | repositorySortFieldName = "repository" constant licenseSortFieldName (line 37) | licenseSortFieldName = "license" constant statusSortFieldName (line 38) | statusSortFieldName = "status" constant ascSortOrder (line 39) | ascSortOrder = "asc" function getDirectorySize (line 43) | func getDirectorySize(path string) (int64, error) { function RegisterUIAPIRoutes (line 62) | func RegisterUIAPIRoutes(app *echo.Echo, cl *config.ModelConfigLoader, m... FILE: core/http/routes/ui_api_backends_test.go function TestRoutes (line 25) | func TestRoutes(t *testing.T) { function postRequest (line 182) | func postRequest(url string, body interface{}) (*http.Response, error) { function readResponseBody (line 199) | func readResponseBody(resp *http.Response) (map[string]interface{}, erro... FILE: core/http/routes/ui_backend_gallery.go function registerBackendGalleryRoutes (line 9) | func registerBackendGalleryRoutes(app *echo.Echo, appConfig *config.Appl... FILE: core/http/routes/ui_gallery.go function registerGalleryRoutes (line 9) | func registerGalleryRoutes(app *echo.Echo, cl *config.ModelConfigLoader,... FILE: core/http/static/assets/alpine.js function qt (line 1) | function qt(e){On(e)} function On (line 1) | function On(e){U.includes(e)||U.push(e),Cn()} function Ee (line 1) | function Ee(e){let t=U.indexOf(e);t!==-1&&t>it&&U.splice(t,1)} function Cn (line 1) | function Cn(){!nt&&!rt&&(rt=!0,queueMicrotask(Tn))} function Tn (line 1) | function Tn(){rt=!1,nt=!0;for(let e=0;ee.effect(t,{scheduler:r=>{o... function at (line 1) | function at(e){D=e} function Gt (line 1) | function Gt(e){let t=()=>{};return[n=>{let i=D(n);return e._x_effects||(... function Se (line 1) | function Se(e,t){let r=!0,n,i=D(()=>{let o=e();JSON.stringify(o),r?n=o:q... function Zt (line 1) | function Zt(e){Xt.push(e)} function ee (line 1) | function ee(e,t){typeof t=="function"?(e._x_cleanups||(e._x_cleanups=[])... function Ae (line 1) | function Ae(e){Jt.push(e)} function Oe (line 1) | function Oe(e,t,r){e._x_attributeCleanups||(e._x_attributeCleanups={}),e... function ct (line 1) | function ct(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCl... function Qt (line 1) | function Qt(e){if(e._x_cleanups)for(;e._x_cleanups.length;)e._x_cleanups... function le (line 1) | function le(){lt.observe(document,{subtree:!0,childList:!0,attributes:!0... function ft (line 1) | function ft(){Rn(),lt.disconnect(),ut=!1} function Rn (line 1) | function Rn(){let e=lt.takeRecords();ce.push(()=>e.length>0&&pt(e));let ... function _ (line 1) | function _(e){if(!ut)return e();ft();let t=e();return le(),t} function er (line 1) | function er(){dt=!0} function tr (line 1) | function tr(){dt=!1,pt(ve),ve=[]} function pt (line 1) | function pt(e){if(dt){ve=ve.concat(e);return}let t=new Set,r=new Set,n=n... function Ce (line 1) | function Ce(e){return F(j(e))} function P (line 1) | function P(e,t,r){return e._x_dataStack=[t,...j(r||e)],()=>{e._x_dataSta... function j (line 1) | function j(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot=="f... function F (line 1) | function F(e){return new Proxy({objects:e},Mn)} method ownKeys (line 1) | ownKeys({objects:e}){return Array.from(new Set(e.flatMap(t=>Object.keys(... method has (line 1) | has({objects:e},t){return t==Symbol.unscopables?!1:e.some(r=>Object.prot... method get (line 1) | get({objects:e},t,r){return t=="toJSON"?Nn:Reflect.get(e.find(n=>Reflect... method set (line 1) | set({objects:e},t,r,n){let i=e.find(s=>Object.prototype.hasOwnProperty.c... function Nn (line 1) | function Nn(){return Reflect.ownKeys(this).reduce((t,r)=>(t[r]=Reflect.g... function Te (line 1) | function Te(e){let t=n=>typeof n=="object"&&!Array.isArray(n)&&n!==null,... function Re (line 1) | function Re(e,t=()=>{}){let r={initialValue:void 0,_x_interceptor:!0,ini... function Dn (line 1) | function Dn(e,t){return t.split(".").reduce((r,n)=>r[n],e)} function mt (line 1) | function mt(e,t,r){if(typeof t=="string"&&(t=t.split(".")),t.length===1)... function y (line 1) | function y(e,t){rr[e]=t} function ue (line 1) | function ue(e,t){return Object.entries(rr).forEach(([r,n])=>{let i=null;... function nr (line 1) | function nr(e,t,r,...n){try{return r(...n)}catch(i){te(i,e,t)}} function te (line 1) | function te(e,t,r=void 0){e=Object.assign(e??{message:"No error message ... function De (line 5) | function De(e){let t=Me;Me=!1;let r=e();return Me=t,r} function M (line 5) | function M(e,t,r={}){let n;return x(e,t)(i=>n=i,r),n} function x (line 5) | function x(...e){return ir(...e)} function or (line 5) | function or(e){ir=e} function gt (line 5) | function gt(e,t){let r={};ue(r,e);let n=[r,...j(e)],i=typeof t=="functio... function Pn (line 5) | function Pn(e,t){return(r=()=>{},{scope:n={},params:i=[]}={})=>{let o=t.... function In (line 5) | function In(e,t){if(ht[e])return ht[e];let r=Object.getPrototypeOf(async... function kn (line 5) | function kn(e,t,r){let n=In(t,r);return(i=()=>{},{scope:o={},params:s=[]... function Ne (line 5) | function Ne(e,t,r,n,i){if(Me&&typeof t=="function"){let o=t.apply(r,n);o... function C (line 5) | function C(e=""){return bt+e} function sr (line 5) | function sr(e){bt=e} function d (line 5) | function d(e,t){return Pe[e]=t,{before(r){if(!Pe[r]){console.warn(String... function ar (line 5) | function ar(e){return Object.keys(Pe).includes(e)} function de (line 5) | function de(e,t,r){if(t=Array.from(t),e._x_virtualDirectives){let o=Obje... function wt (line 5) | function wt(e){return Array.from(e).map(ur()).filter(t=>!dr(t))} function lr (line 5) | function lr(e){xt=!0;let t=Symbol();cr=t,fe.set(t,[]);let r=()=>{for(;fe... function _t (line 5) | function _t(e){let t=[],r=a=>t.push(a),[n,i]=Gt(e);return t.push(i),[{Al... function Ln (line 5) | function Ln(e,t){let r=()=>{},n=Pe[t.type]||r,[i,o]=_t(e);Oe(e,t.origina... function ur (line 5) | function ur(e=()=>{}){return({name:t,value:r})=>{let{name:n,value:i}=fr.... function re (line 5) | function re(e){fr.push(e)} function dr (line 5) | function dr({name:e}){return pr().test(e)} function $n (line 5) | function $n(e,t){return({name:r,value:n})=>{let i=r.match(pr()),o=r.matc... function jn (line 5) | function jn(e,t){let r=W.indexOf(e.type)===-1?yt:e.type,n=W.indexOf(t.ty... function G (line 5) | function G(e,t,r={}){e.dispatchEvent(new CustomEvent(t,{detail:r,bubbles... function T (line 5) | function T(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoo... function E (line 5) | function E(e,...t){console.warn(`Alpine Warning: ${e}`,...t)} function _r (line 5) | function _r(){mr&&E("Alpine has already been initialized on this page. C... function gr (line 5) | function gr(){return Et.map(e=>e())} function xr (line 5) | function xr(){return Et.concat(hr).map(e=>e())} function Le (line 5) | function Le(e){Et.push(e)} function $e (line 5) | function $e(e){hr.push(e)} function J (line 5) | function J(e,t=!1){return z(e,r=>{if((t?xr():gr()).some(i=>r.matches(i))... function z (line 5) | function z(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_tel... function yr (line 5) | function yr(e){return gr().some(t=>e.matches(t))} function wr (line 5) | function wr(e){br.push(e)} function v (line 5) | function v(e,t=T,r=()=>{}){lr(()=>{t(e,(n,i)=>{r(n,i),br.forEach(o=>o(n,... function St (line 5) | function St(e,t=T){t(e,r=>{ct(r),Qt(r)})} function Fn (line 5) | function Fn(){[["ui","dialog",["[x-dialog], [x-popover]"]],["anchor","an... function ne (line 5) | function ne(e=()=>{}){return queueMicrotask(()=>{At||setTimeout(()=>{je(... function je (line 5) | function je(){for(At=!1;vt.length;)vt.shift()()} function Er (line 5) | function Er(){At=!0} function pe (line 5) | function pe(e,t){return Array.isArray(t)?Sr(e,t.join(" ")):typeof t=="ob... function Sr (line 5) | function Sr(e,t){let r=o=>o.split(" ").filter(Boolean),n=o=>o.split(" ")... function Bn (line 5) | function Bn(e,t){let r=a=>a.split(" ").filter(Boolean),n=Object.entries(... function Y (line 5) | function Y(e,t){return typeof t=="object"&&t!==null?zn(e,t):Kn(e,t)} function zn (line 5) | function zn(e,t){let r={};return Object.entries(t).forEach(([n,i])=>{r[n... function Kn (line 5) | function Kn(e,t){let r=e.getAttribute("style",t);return e.setAttribute("... function Hn (line 5) | function Hn(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()} function me (line 5) | function me(e,t=()=>{}){let r=!1;return function(){r?t.apply(this,argume... function Vn (line 5) | function Vn(e,t,r){vr(e,pe,""),{enter:i=>{e._x_transition.enter.during=i... function qn (line 5) | function qn(e,t,r){vr(e,Y);let n=!t.includes("in")&&!t.includes("out")&&... function vr (line 5) | function vr(e,t,r={}){e._x_transition||(e._x_transition={enter:{during:r... function Ar (line 5) | function Ar(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:Ar(t)} function Fe (line 5) | function Fe(e,t,{during:r,start:n,end:i}={},o=()=>{},s=()=>{}){if(e._x_t... function Un (line 5) | function Un(e,t){let r,n,i,o=me(()=>{_(()=>{r=!0,n||t.before(),i||(t.end... function _e (line 5) | function _e(e,t,r){if(e.indexOf(t)===-1)return r;let n=e[e.indexOf(t)+1]... function A (line 5) | function A(e,t=()=>{}){return(...r)=>I?t(...r):e(...r)} function Or (line 5) | function Or(e){return(...t)=>I&&e(...t)} function K (line 5) | function K(e){Cr.push(e)} function Tr (line 5) | function Tr(e,t){Cr.forEach(r=>r(e,t)),I=!0,Mr(()=>{v(t,(r,n)=>{n(r,()=>... function Rr (line 5) | function Rr(e,t){t._x_dataStack||(t._x_dataStack=e._x_dataStack),I=!0,Be... function Wn (line 5) | function Wn(e){let t=!1;v(e,(n,i)=>{T(n,(o,s)=>{if(t&&yr(o))return s();t... function Mr (line 5) | function Mr(e){let t=D;at((r,n)=>{let i=t(r);return L(i),()=>{}}),e(),at... function he (line 5) | function he(e,t,r,n=[]){switch(e._x_bindings||(e._x_bindings=R({})),e._x... function Gn (line 5) | function Gn(e,t){if(e.type==="radio")e.attributes.value===void 0&&(e.val... function Jn (line 5) | function Jn(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_und... function Yn (line 5) | function Yn(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles(),e._x_undoA... function Xn (line 5) | function Xn(e,t,r){Dr(e,t,r),Qn(e,t,r)} function Dr (line 5) | function Dr(e,t,r){[null,void 0,!1].includes(r)&&ri(t)?e.removeAttribute... function Zn (line 5) | function Zn(e,t,r){e.getAttribute(t)!=r&&e.setAttribute(t,r)} function Qn (line 5) | function Qn(e,t,r){e[t]!==r&&(e[t]=r)} function ei (line 5) | function ei(e,t){let r=[].concat(t).map(n=>n+"");Array.from(e.options).f... function ti (line 5) | function ti(e){return e.toLowerCase().replace(/-(\w)/g,(t,r)=>r.toUpperC... function Nr (line 5) | function Nr(e,t){return e==t} function ge (line 5) | function ge(e){return[1,"1","true","on","yes",!0].includes(e)?!0:[0,"0",... function Pr (line 5) | function Pr(e){return["disabled","checked","required","readonly","open",... function ri (line 5) | function ri(e){return!["aria-pressed","aria-checked","aria-expanded","ar... function Ir (line 5) | function Ir(e,t,r){return e._x_bindings&&e._x_bindings[t]!==void 0?e._x_... function kr (line 5) | function kr(e,t,r,n=!0){if(e._x_bindings&&e._x_bindings[t]!==void 0)retu... function Lr (line 5) | function Lr(e,t,r){let n=e.getAttribute(t);return n===null?typeof r=="fu... function ze (line 5) | function ze(e,t){var r;return function(){var n=this,i=arguments,o=functi... function Ke (line 5) | function Ke(e,t){let r;return function(){let n=this,i=arguments;r||(e.ap... function He (line 5) | function He({get:e,set:t},{get:r,set:n}){let i=!0,o,s,a=D(()=>{let c=e()... function Ot (line 5) | function Ot(e){return typeof e=="object"?JSON.parse(JSON.stringify(e)):e} function $r (line 5) | function $r(e){(Array.isArray(e)?e:[e]).forEach(r=>r(B))} function Fr (line 5) | function Fr(e,t){if(jr||(X=R(X),jr=!0),t===void 0)return X[e];X[e]=t,typ... function Br (line 5) | function Br(){return X} function Kr (line 5) | function Kr(e,t){let r=typeof t!="function"?()=>t:t;return e instanceof ... function Hr (line 5) | function Hr(e){return Object.entries(zr).forEach(([t,r])=>{Object.define... function Ct (line 5) | function Ct(e,t,r){let n=[];for(;n.length;)n.pop()();let i=Object.entrie... function qr (line 5) | function qr(e,t){Vr[e]=t} function Ur (line 5) | function Ur(e,t){return Object.entries(Vr).forEach(([r,n])=>{Object.defi... method reactive (line 5) | get reactive(){return R} method release (line 5) | get release(){return L} method effect (line 5) | get effect(){return D} method raw (line 5) | get raw(){return st} function Tt (line 5) | function Tt(e,t){let r=Object.create(null),n=e.split(",");for(let i=0;i<... function ui (line 5) | function ui(e){return e&&e._isEffect===!0} function en (line 5) | function en(e,t=Wr){ui(e)&&(e=e.raw);let r=di(e,t);return t.lazy||r(),r} function tn (line 5) | function tn(e){e.active&&(rn(e),e.options.onStop&&e.options.onStop(),e.a... function di (line 5) | function di(e,t){let r=function(){if(!r.active)return e();if(!be.include... function rn (line 5) | function rn(e){let{deps:t}=e;if(t.length){for(let r=0;r... function xi (line 5) | function xi(){let e={};return["includes","indexOf","lastIndexOf"].forEac... function sn (line 5) | function sn(e=!1,t=!1){return function(n,i,o){if(i==="__v_isReactive")re... function bi (line 5) | function bi(e=!1){return function(r,n,i,o){let s=r[n];if(!e&&(i=h(i),s=h... function wi (line 5) | function wi(e,t){let r=xe(e,t),n=e[t],i=Reflect.deleteProperty(e,t);retu... function Ei (line 5) | function Ei(e,t){let r=Reflect.has(e,t);return(!Ve(t)||!on.has(t))&&N(e,... function Si (line 5) | function Si(e){return N(e,"iterate",H(e)?"length":Z),Reflect.ownKeys(e)} method set (line 5) | set(e,t){return console.warn(`Set operation on key "${String(t)}" failed... method deleteProperty (line 5) | deleteProperty(e,t){return console.warn(`Delete operation on key "${Stri... function We (line 5) | function We(e,t,r=!1,n=!1){e=e.__v_raw;let i=h(e),o=h(t);t!==o&&!r&&N(i,... function Ge (line 5) | function Ge(e,t=!1){let r=this.__v_raw,n=h(r),i=h(e);return e!==i&&!t&&N... function Je (line 5) | function Je(e,t=!1){return e=e.__v_raw,!t&&N(h(e),"iterate",Z),Reflect.g... function Yr (line 5) | function Yr(e){e=h(e);let t=h(this);return Ze(t).has.call(t,e)||(t.add(e... function Xr (line 5) | function Xr(e,t){t=h(t);let r=h(this),{has:n,get:i}=Ze(r),o=n.call(r,e);... function Zr (line 5) | function Zr(e){let t=h(this),{has:r,get:n}=Ze(t),i=r.call(t,e);i?cn(t,r,... function Qr (line 5) | function Qr(){let e=h(this),t=e.size!==0,r=ie(e)?new Map(e):new Set(e),n... function Ye (line 5) | function Ye(e,t){return function(n,i){let o=this,s=o.__v_raw,a=h(s),c=t?... function Xe (line 5) | function Xe(e,t,r){return function(...n){let i=this.__v_raw,o=h(i),s=ie(... function V (line 5) | function V(e){return function(...t){{let r=t[0]?`on key "${t[0]}" `:"";c... function Oi (line 5) | function Oi(){let e={get(o){return We(this,o)},get size(){return Je(this... function an (line 5) | function an(e,t){let r=t?e?Mi:Ri:e?Ti:Ci;return(n,i,o)=>i==="__v_isReact... function cn (line 5) | function cn(e,t,r){let n=h(r);if(n!==r&&t.call(e,n)){let i=Rt(e);console... function ki (line 5) | function ki(e){switch(e){case"Object":case"Array":return 1;case"Map":cas... function Li (line 5) | function Li(e){return e.__v_skip||!Object.isExtensible(e)?0:ki(Rt(e))} function Qe (line 5) | function Qe(e){return e&&e.__v_isReadonly?e:dn(e,!1,vi,Ni,ln)} function fn (line 5) | function fn(e){return dn(e,!0,Ai,Di,un)} function dn (line 5) | function dn(e,t,r,n,i){if(!ye(e))return console.warn(`value cannot be ma... function h (line 5) | function h(e){return e&&h(e.__v_raw)||e} function It (line 5) | function It(e){return Boolean(e&&e.__v_isRef===!0)} function $i (line 5) | function $i(e){let t=[];return z(e,r=>{r._x_refs&&t.push(r._x_refs)}),t} function Bt (line 5) | function Bt(e){return Ft[e]||(Ft[e]=0),++Ft[e]} function pn (line 5) | function pn(e,t){return z(e,r=>{if(r._x_ids&&r._x_ids[t])return!0})} function mn (line 5) | function mn(e,t){e._x_ids||(e._x_ids={}),e._x_ids[t]||(e._x_ids[t]=Bt(t))} function ji (line 5) | function ji(e,t,r,n){if(e._x_id||(e._x_id={}),e._x_id[t])return e._x_id[... function _n (line 5) | function _n(e,t,r){y(t,n=>E(`You can't use [$${t}] without first install... method get (line 5) | get(){return u()} method set (line 5) | set(w){p(w)} method get (line 5) | get(){return s()} method set (line 5) | set(w){c(w)} function hn (line 5) | function hn(e){let t=A(()=>document.querySelector(e),()=>Fi)();return t|... function se (line 5) | function se(e,t,r,n){let i=e,o=c=>n(c),s={},a=(c,l)=>u=>l(c,u);if(r.incl... function Bi (line 5) | function Bi(e){return e.replace(/-/g,".")} function zi (line 5) | function zi(e){return e.toLowerCase().replace(/-(\w)/g,(t,r)=>r.toUpperC... function et (line 5) | function et(e){return!Array.isArray(e)&&!isNaN(e)} function Ki (line 5) | function Ki(e){return[" ","_"].includes(e)?e:e.replace(/([a-z])([A-Z])/g... function Hi (line 5) | function Hi(e){return["keydown","keyup"].includes(e)} function Vi (line 5) | function Vi(e,t){let r=t.filter(o=>!["window","document","prevent","stop... function xn (line 5) | function xn(e){if(!e)return[];e=Ki(e);let t={ctrl:"control",slash:"/",sp... method get (line 5) | get(){return c()} method set (line 5) | set(m){l(m)} function zt (line 5) | function zt(e,t,r,n){return _(()=>{if(r instanceof CustomEvent&&r.detail... function Kt (line 5) | function Kt(e){let t=e?parseFloat(e):null;return Ui(t)?t:e} function qi (line 5) | function qi(e,t){return e==t} function Ui (line 5) | function Ui(e){return!Array.isArray(e)&&!isNaN(e)} function yn (line 5) | function yn(e){return e!==null&&typeof e=="object"&&typeof e.get=="funct... function Wi (line 5) | function Wi(e,t){e._x_keyExpression=t} function Gi (line 5) | function Gi(e){return I?Be?!0:e.hasAttribute("data-has-alpine-state"):!1} function Ji (line 5) | function Ji(e,t,r,n){let i=s=>typeof s=="object"&&!Array.isArray(s),o=e;... function Yi (line 5) | function Yi(e){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,r=/^\s*\(|\)\s*$/g... function wn (line 5) | function wn(e,t,r,n){let i={};return/^\[.*\]$/.test(e.item)&&Array.isArr... function Xi (line 5) | function Xi(e){return!Array.isArray(e)&&!isNaN(e)} function En (line 5) | function En(){} function tt (line 5) | function tt(e,t,r){d(t,n=>E(`You can't use [x-${t}] without first instal... FILE: core/http/static/assets/highlightjs.js function e (line 6) | function e(n){ class n (line 12) | class n{constructor(e){ method constructor (line 12) | constructor(e){ method ignoreMatch (line 14) | ignoreMatch(){this.isMatchIgnored=!0} function t (line 14) | function t(e){ function a (line 16) | function a(e,...n){const t=Object.create(null);for(const n in e)t[n]=e[n] class r (line 18) | class r{constructor(e,n){ method constructor (line 18) | constructor(e,n){ method addText (line 19) | addText(e){ method openNode (line 20) | openNode(e){if(!i(e))return;const n=((e,{prefix:n})=>{ method closeNode (line 25) | closeNode(e){i(e)&&(this.buffer+="")} method value (line 25) | value(){return this.buffer} method span (line 25) | span(e){ class o (line 27) | class o{constructor(){ method constructor (line 27) | constructor(){ method top (line 28) | get top(){ method root (line 29) | get root(){return this.rootNode} method add (line 29) | add(e){ method openNode (line 30) | openNode(e){const n=s({scope:e}) method closeNode (line 31) | closeNode(){ method closeAllNodes (line 32) | closeAllNodes(){ method toJSON (line 33) | toJSON(){return JSON.stringify(this.rootNode,null,4)} method walk (line 34) | walk(e){return this.constructor._walk(e,this.rootNode)} method _walk (line 34) | static _walk(e,n){ method _collapse (line 36) | static _collapse(e){ class l (line 38) | class l extends o{constructor(e){super(),this.options=e} method constructor (line 38) | constructor(e){super(),this.options=e} method addText (line 39) | addText(e){""!==e&&this.add(e)} method startScope (line 39) | startScope(e){this.openNode(e)} method endScope (line 39) | endScope(){ method __addSublanguage (line 40) | __addSublanguage(e,n){const t=e.root method toHTML (line 41) | toHTML(){ method finalize (line 42) | finalize(){ function c (line 43) | function c(e){ function d (line 44) | function d(e){return b("(?=",e,")")} function g (line 45) | function g(e){return b("(?:",e,")*")} function u (line 45) | function u(e){return b("(?:",e,")?")} function b (line 46) | function b(...e){return e.map((e=>c(e))).join("")} function m (line 46) | function m(...e){const n=(e=>{ function p (line 50) | function p(e){return RegExp(e.toString()+"|").exec("").length-1} function h (line 52) | function h(e,{joinWith:n}){let t=0;return e.map((e=>{t+=1;const n=t function T (line 84) | function T(e,n){ function R (line 85) | function R(e,n){ function D (line 86) | function D(e,n){ function I (line 89) | function I(e,n){ function L (line 90) | function L(e,n){ function B (line 93) | function B(e,n){ function U (line 101) | function U(e,n,t=F){const a=Object.create(null) function j (line 105) | function j(e,n){ function Z (line 109) | function Z(e,n,{key:t}){let a=0;const i=e[t],r={},s={} function W (line 111) | function W(e){(e=>{ function Q (line 124) | function Q(e){ function X (line 171) | function X(e){ class V (line 172) | class V extends Error{ method constructor (line 173) | constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n} function _ (line 180) | function _(e){ function h (line 181) | function h(e,n,t){let a="",i="" function f (line 187) | function f(e,t,i,r){ function E (line 251) | function E(e,n){n=n||p.languages||Object.keys(a);const t=(e=>{ function y (line 258) | function y(e){let n=null;const t=(e=>{ function w (line 275) | function w(){ function v (line 277) | function v(e){return e=(e||"").toLowerCase(),a[e]||a[i[e]]} function O (line 278) | function O(e,{languageName:n}){"string"==typeof e&&(e=[e]),e.forEach((e=>{ function k (line 279) | function k(e){const n=v(e) function x (line 280) | function x(e,n){const t=e;r.forEach((e=>{ function pe (line 325) | function pe(e,n,t){return-1===t?"":e.replace(n,(a=>pe(e,n,t-1)))} function Oe (line 327) | function Oe(e){const n=e.regex,t=_e,a={begin:/<[A-Za-z0-9\\._:-]+/, FILE: core/http/static/assets/htmx.js function e (line 1) | function e(e,t){return new RegExp("<"+e+"(\\s[^>]*>|>)([\\s\\S]*?)<\\/"+... function d (line 1) | function d(e){if(e==undefined){return undefined}let t=NaN;if(e.slice(-2)... function ee (line 1) | function ee(e,t){return e.getAttribute&&e.getAttribute(t)} function o (line 1) | function o(e,t){return e.hasAttribute&&(e.hasAttribute(t)||e.hasAttribut... function te (line 1) | function te(e,t){return ee(e,t)||ee(e,"data-"+t)} function u (line 1) | function u(e){return e.parentElement} function re (line 1) | function re(){return document} function c (line 1) | function c(e,t){while(e&&!t(e)){e=u(e)}return e?e:null} function L (line 1) | function L(e,t,r){var n=te(t,r);var i=te(t,"hx-disinherit");if(e!==t&&i&... function ne (line 1) | function ne(t,r){var n=null;c(t,function(e){return n=L(t,e,r)});if(n!=="... function h (line 1) | function h(e,t){var r=e.matches||e.matchesSelector||e.msMatchesSelector|... function A (line 1) | function A(e){var t=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i;var r=t.exec(e);if(... function s (line 1) | function s(e,t){var r=new DOMParser;var n=r.parseFromString(e,"text/html... function N (line 1) | function N(e){return/")){return t.substring(... function Z (line 1) | function Z(e,t){if(t.indexOf("closest ")===0){return[v(e,J(t.substr(8)))... function ue (line 1) | function ue(e,t){if(t){return Z(e,t)[0]}else{return Z(re().body,e)[0]}} function p (line 1) | function p(e){if(I(e,"String")){return C(e)}else{return e}} function ve (line 1) | function ve(e,t,r){if(k(t)){return{target:re().body,event:e,listener:t}}... function de (line 1) | function de(t,r,n){jr(function(){var e=ve(t,r,n);e.target.addEventListen... function ge (line 1) | function ge(t,r,n){jr(function(){var e=ve(t,r,n);e.target.removeEventLis... function me (line 1) | function me(e,t){var r=ne(e,t);if(r){if(r==="this"){return[xe(e,t)]}else... function xe (line 1) | function xe(e,t){return c(e,function(e){return te(e,t)!=null})} function ye (line 1) | function ye(e){var t=ne(e,"hx-target");if(t){if(t==="this"){return xe(e,... function be (line 1) | function be(e){var t=Q.config.attributesToSettle;for(var r=0;r0){var i=r.first... function He (line 1) | function He(e,t){var r=0;while(r-1){var t=e.replace(H,"");var r=t.... function je (line 1) | function je(e,t,r,n,i,a){i.title=Ve(n);var o=l(n);if(o){Ce(r,o,i);o=Be(r... function _e (line 1) | function _e(e,t,r){var n=e.getResponseHeader(t);if(n.indexOf("{")===0){v... function Ye (line 1) | function Ye(e){var t=[];var r=0;while(r0&&!t.test(e[0])){r+=e.shift()}r... function tt (line 1) | function tt(e){var t;if(e.length>0&&Ze.test(e[0])){e.shift();t=y(e,Ke).t... function nt (line 1) | function nt(e,t,r){var n=[];var i=Ye(t);do{y(i,Je);var a=i.length;var o=... function it (line 1) | function it(e){var t=te(e,"hx-trigger");var r=[];if(t){var n=Q.config.tr... function at (line 1) | function at(e){ae(e).cancelled=true} function ot (line 1) | function ot(e,t,r){var n=ae(e);n.timeout=setTimeout(function(){if(se(e)&... function st (line 1) | function st(e){return location.hostname===e.hostname&&ee(e,"href")&&ee(e... function lt (line 1) | function lt(t,r,e){if(t.tagName==="A"&&st(t)&&(t.target===""||t.target==... function ut (line 1) | function ut(e,t){if(e.type==="submit"||e.type==="click"){if(t.tagName===... function ft (line 1) | function ft(e,t){return ae(e).boosted&&e.tagName==="A"&&t.type==="click"... function ct (line 1) | function ct(e,t,r){var n=e.eventFilter;if(n){try{return n.call(t,r)!==tr... function ht (line 1) | function ht(a,o,e,s,l){var u=ae(a);var t;if(s.from){t=Z(a,s.from)}else{t... function gt (line 1) | function gt(){if(!dt){dt=function(){vt=true};window.addEventListener("sc... function pt (line 1) | function pt(t){if(!o(t,"data-hx-revealed")&&X(t)){t.setAttribute("data-h... function mt (line 1) | function mt(e,t,r){var n=D(r);for(var i=0;i=0} function wr (line 1) | function wr(e,t){var r=t?t:ne(e,"hx-swap");var n={swapStyle:ae(e).booste... function Sr (line 1) | function Sr(e){return ne(e,"hx-encoding")==="multipart/form-data"||h(e,"... function Er (line 1) | function Er(t,r,n){var i=null;R(r,function(e){if(i==null){i=e.encodePara... function T (line 1) | function T(e){return{tasks:[],elts:[e]}} function Cr (line 1) | function Cr(e,t){var r=e[0];var n=e[e.length-1];if(t.scroll){var i=null;... function Rr (line 1) | function Rr(e,t,r,n){if(n==null){n={}}if(e==null){return n}var i=te(e,t)... function Tr (line 1) | function Tr(e,t,r){if(Q.config.allowEval){return t()}else{fe(e,"htmx:eva... function Or (line 1) | function Or(e,t){return Rr(e,"hx-vars",true,t)} function qr (line 1) | function qr(e,t){return Rr(e,"hx-vals",false,t)} function Hr (line 1) | function Hr(e){return le(Or(e),qr(e))} function Lr (line 1) | function Lr(t,r,n){if(n!==null){try{t.setRequestHeader(r,n)}catch(e){t.s... function Ar (line 1) | function Ar(t){if(t.responseURL&&typeof URL!=="undefined"){try{var e=new... function O (line 1) | function O(e,t){return t.test(e.getAllResponseHeaders())} function Nr (line 1) | function Nr(e,t,r){e=e.toLowerCase();if(r){if(r instanceof Element||I(r,... function Ir (line 1) | function Ir(e){var t=[];while(e){t.push(e);e=e.parentElement}return t} function kr (line 1) | function kr(e,t,r){var n;var i;if(typeof URL==="function"){i=new URL(t,d... function he (line 1) | function he(t,r,n,i,a,e){var o=null;var s=null;a=a!=null?a:{};if(a.retur... function Pr (line 1) | function Pr(e,t){var r=t.xhr;var n=null;var i=null;if(O(r,/HX-Push:/i)){... function Mr (line 1) | function Mr(l,u){var f=u.xhr;var c=u.target;var e=u.etc;var t=u.requestC... function Dr (line 1) | function Dr(){return{init:function(e){return null},onEvent:function(e,t)... function Ur (line 1) | function Ur(e,t){if(t.init){t.init(r)}Xr[e]=le(Dr(),t)} function Br (line 1) | function Br(e){delete Xr[e]} function Fr (line 1) | function Fr(e,r,n){if(e==undefined){return r}if(r==undefined){r=[]}if(n=... function jr (line 1) | function jr(e){if(Vr||re().readyState==="complete"){e()}else{re().addEve... function _r (line 1) | function _r(){if(Q.config.includeIndicatorStyles!==false){re().head.inse... function zr (line 1) | function zr(){var e=re().querySelector('meta[name="htmx-config"]');if(e)... function $r (line 1) | function $r(){var e=zr();if(e){Q.config=le(Q.config,e)}} FILE: core/http/static/assets/marked.js function t (line 6) | function t(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null... function n (line 6) | function n(t){e.defaults=t} function c (line 6) | function c(e,t){if(t){if(s.test(e))return e.replace(r,a)}else if(i.test(... function p (line 6) | function p(e){return e.replace(h,((e,t)=>"colon"===(t=t.toLowerCase())?"... function k (line 6) | function k(e,t){let n="string"==typeof e?e:e.source;t=t||"";const s={rep... function g (line 6) | function g(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return nul... function d (line 6) | function d(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let s=!1,r=t;for(;--r... function x (line 6) | function x(e,t,n){const s=e.length;if(0===s)return"";let r=0;for(;r0)... method code (line 6) | code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].repla... method fences (line 6) | fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n... method heading (line 6) | heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].t... method hr (line 6) | hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[... method blockquote (line 6) | blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let e=... method list (line 6) | list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();co... method html (line 6) | html(e){const t=this.rules.block.html.exec(e);if(t){return{type:"html"... method def (line 6) | def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLower... method table (line 6) | table(e){const t=this.rules.block.table.exec(e);if(!t)return;if(!/[:|]... method lheading (line 6) | lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type... method paragraph (line 6) | paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e=... method text (line 6) | text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",... method escape (line 6) | escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"e... method tag (line 6) | tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.st... method link (line 6) | link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim... method reflink (line 6) | reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.r... method emStrong (line 6) | emStrong(e,t,n=""){let s=this.rules.inline.emStrongLDelim.exec(e);if(!... method codespan (line 6) | codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].re... method br (line 6) | br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t... method del (line 6) | del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",ra... method autolink (line 6) | autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;r... method url (line 6) | url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2]... method inlineText (line 6) | inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let e;retur... class ne (line 6) | class ne{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.... method constructor (line 6) | constructor(t){this.tokens=[],this.tokens.links=Object.create(null),th... method rules (line 6) | static get rules(){return{block:ee,inline:te}} method lex (line 6) | static lex(e,t){return new ne(t).lex(e)} method lexInline (line 6) | static lexInline(e,t){return new ne(t).inlineTokens(e)} method lex (line 6) | lex(e){e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);fo... method blockTokens (line 6) | blockTokens(e,t=[]){let n,s,r,i;for(e=this.options.pedantic?e.replace(... method inline (line 6) | inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t} method inlineTokens (line 6) | inlineTokens(e,t=[]){let n,s,r,i,l,o,a=e;if(this.tokens.links){const e... class se (line 6) | class se{options;constructor(t){this.options=t||e.defaults}code(e,t,n){c... method constructor (line 6) | constructor(t){this.options=t||e.defaults} method code (line 6) | code(e,t,n){const s=(t||"").match(/^\S*/)?.[0];return e=e.replace(/\n$... method blockquote (line 6) | blockquote(e){return`
\n${e}
\n`} method html (line 6) | html(e,t){return e} method heading (line 6) | heading(e,t,n){return`${e}\n`} method hr (line 6) | hr(){return"
\n"} method list (line 6) | list(e,t,n){const s=t?"ol":"ul";return"<"+s+(t&&1!==n?' start="'+n+'"'... method listitem (line 6) | listitem(e,t,n){return`
  • ${e}
  • \n`} method checkbox (line 6) | checkbox(e){return"\n\n"+e+... method tablerow (line 6) | tablerow(e){return`\n${e}\n`} method tablecell (line 6) | tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align=... method strong (line 6) | strong(e){return`${e}`} method em (line 6) | em(e){return`${e}`} method codespan (line 6) | codespan(e){return`${e}`} method br (line 6) | br(){return"
    "} method del (line 6) | del(e){return`${e}`} method link (line 6) | link(e,t,n){const s=g(e);if(null===s)return n;let r='{const r={...s},i={...this.defaults,...r};!0===th... method #t (line 6) | #t(e,t){return n=>{if(n.message+="\nPlease report this to https://gith... function ce (line 6) | function ce(e,t){return ae.parse(e,t)} FILE: core/http/static/assets/purify.js function N (line 2) | function N(e){return function(t){for(var n=arguments.length,o=new Array(... function b (line 2) | function b(e,o){let r=arguments.length>2&&void 0!==arguments[2]?argument... function S (line 2) | function S(t){const n=l(null);for(const[o,i]of e(t))void 0!==r(t,o)&&(n[... function R (line 2) | function R(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return N(n... FILE: core/http/static/assets/tailwindcss.js method constructor (line 1) | constructor(e={}){if(!(e.maxSize&&e.maxSize>0))throw new TypeError("`max... method _set (line 1) | _set(e,t){if(this.cache.set(e,t),this._size++,this._size>=this.maxSize){... method get (line 1) | get(e){if(this.cache.has(e))return this.cache.get(e);if(this.oldCache.ha... method set (line 1) | set(e,t){return this.cache.has(e)?this.cache.set(e,t):this._set(e,t),this} method has (line 1) | has(e){return this.cache.has(e)||this.oldCache.has(e)} method peek (line 1) | peek(e){if(this.cache.has(e))return this.cache.get(e);if(this.oldCache.h... method delete (line 1) | delete(e){let t=this.cache.delete(e);return t&&this._size--,this.oldCach... method clear (line 1) | clear(){this.cache.clear(),this.oldCache.clear(),this._size=0} method keys (line 1) | *keys(){for(let[e]of this)yield e} method values (line 1) | *values(){for(let[,e]of this)yield e} method [Symbol.iterator] (line 1) | *[Symbol.iterator](){for(let e of this.cache)yield e;for(let e of this.o... method size (line 1) | get size(){let e=0;for(let t of this.oldCache.keys())this.cache.has(t)||... function bi (line 1) | function bi(r){return qu(r,{ignoreUnknown:!0})} function Ze (line 1) | function Ze(r){if(r=`${r}`,r==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[... function Lu (line 1) | function Lu(r,e){return r===void 0?e:Array.isArray(r)?r:[...new Set(e.fi... function cs (line 1) | function cs(r,e,t){typeof p!="undefined"&&p.env.JEST_WORKER_ID||t&&zu.ha... function ps (line 1) | function ps(r){return ee.dim(r)} method info (line 1) | info(r,e){cs(ee.bold(ee.cyan("info")),...Array.isArray(r)?[r]:[e,r])} method warn (line 1) | warn(r,e){["content-problems"].includes(r)||cs(ee.bold(ee.yellow("warn")... method risk (line 1) | risk(r,e){cs(ee.bold(ee.magenta("risk")),...Array.isArray(r)?[r]:[e,r])} function cr (line 1) | function cr({version:r,from:e,to:t}){M.warn(`${e}-color-renamed`,[`As of... method lightBlue (line 1) | get lightBlue(){return cr({version:"v2.2",from:"lightBlue",to:"sky"}),th... method warmGray (line 1) | get warmGray(){return cr({version:"v3.0",from:"warmGray",to:"stone"}),th... method trueGray (line 1) | get trueGray(){return cr({version:"v3.0",from:"trueGray",to:"neutral"}),... method coolGray (line 1) | get coolGray(){return cr({version:"v3.0",from:"coolGray",to:"gray"}),thi... method blueGray (line 1) | get blueGray(){return cr({version:"v3.0",from:"blueGray",to:"slate"}),th... function ds (line 1) | function ds(r,...e){for(let t of e){for(let i in t)r?.hasOwnProperty?.(i... function et (line 1) | function et(r){if(Array.isArray(r))return r;let e=r.split("[").length-1,... function B1 (line 1) | function B1(r,e){return r===void 0?e:!(r==="0"||r==="false")} function M1 (line 1) | function M1(r){if(r===void 0)return!1;if(r==="true"||r==="1")return!0;if... function J (line 1) | function J(r,e){return Si.future.includes(e)?r.future==="all"||(r?.futur... function Yu (line 1) | function Yu(r){return r.experimental==="all"?Si.experimental:Object.keys... function Qu (line 1) | function Qu(r){if(p.env.JEST_WORKER_ID===void 0&&Yu(r).length>0){let e=Y... method disableColorOpacityUtilitiesByDefault (line 1) | get disableColorOpacityUtilitiesByDefault(){return ie.OXIDE} method relativeContentPathsByDefault (line 1) | get relativeContentPathsByDefault(){return ie.OXIDE} function Xu (line 1) | function Xu(r,e){return{handler:r,config:e}} function tf (line 1) | function tf(r){(()=>{if(r.purge||!r.content||!Array.isArray(r.content)&&... function se (line 1) | function se(r){if(Object.prototype.toString.call(r)!=="[object Object]")... function Ci (line 1) | function Ci(r){return Array.isArray(r)?r.map(e=>Ci(e)):typeof r=="object... function bt (line 1) | function bt(r){return r.replace(/\\,/g,"\\2c ")} function dr (line 1) | function dr(r,{loose:e=!1}={}){if(typeof r!="string")return null;if(r=r.... function ws (line 1) | function ws({mode:r,color:e,alpha:t}){let i=t!==void 0;return r==="rgba"... function Re (line 1) | function Re(r,e,t){if(typeof r=="function")return r({opacityValue:e});le... function le (line 1) | function le({color:r,property:e,variable:t}){let i=[].concat(e);if(typeo... function ae (line 1) | function ae(r,e){let t=[],i=[],n=0,s=!1;for(let a=0;a{let i=t.trim(),n={raw:i},s=i.spl... function uf (line 1) | function uf(r){return r.map(e=>e.valid?[e.keyword,e.x,e.y,e.blur,e.sprea... function ks (line 1) | function ks(r){return Y1.some(e=>new RegExp(`^${e}\\(.*\\)`).test(r))} function G (line 1) | function G(r,e=!0){return r.startsWith("--")?`var(${r})`:r.includes("url... function Ss (line 1) | function Ss(r){return r.startsWith("url(")} function Cs (line 1) | function Cs(r){return!isNaN(Number(r))||ks(r)} function mr (line 1) | function mr(r){return r.endsWith("%")&&Cs(r.slice(0,-1))||ks(r)} function gr (line 1) | function gr(r){return r==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+... function cf (line 1) | function cf(r){return K1.has(r)} function pf (line 1) | function pf(r){let e=Ei(G(r));for(let t of e)if(!t.valid)return!1;return!0} function df (line 1) | function df(r){let e=0;return ae(r,"_").every(i=>(i=G(i),i.startsWith("v... function hf (line 1) | function hf(r){let e=0;return ae(r,",").every(i=>(i=G(i),i.startsWith("v... function ew (line 1) | function ew(r){r=G(r);for(let e of Z1)if(r.startsWith(`${e}(`))return!0;... function mf (line 1) | function mf(r){let e=0;return ae(r,"_").every(i=>(i=G(i),i.startsWith("v... function gf (line 1) | function gf(r){let e=0;return ae(r,",").every(i=>(i=G(i),i.startsWith("v... function yf (line 1) | function yf(r){return rw.has(r)} function bf (line 1) | function bf(r){return iw.has(r)} function wf (line 1) | function wf(r){return nw.has(r)} function xf (line 1) | function xf(r){let e=["cover","contain"];return ae(r,",").every(t=>{let ... function kf (line 1) | function kf(r,e){r.walkClasses(t=>{t.value=e(t.value),t.raws&&t.raws.val... function Sf (line 1) | function Sf(r,e){if(!it(r))return;let t=r.slice(1,-1);if(!!e(t))return G... function sw (line 1) | function sw(r,e={},t){let i=e[r];if(i!==void 0)return Ze(i);if(it(r)){le... function _i (line 1) | function _i(r,e={},{validate:t=()=>!0}={}){let i=e.values?.[r];return i!... function it (line 1) | function it(r){return r.startsWith("[")&&r.endsWith("]")} function Cf (line 1) | function Cf(r){let e=r.lastIndexOf("/");return e===-1||e===r.length-1?[r... function Tt (line 1) | function Tt(r){if(typeof r=="string"&&r.includes("")){let e... function Af (line 1) | function Af(r){return r=r.slice(1,-1),r.startsWith("--")&&(r=`var(${r})`... function aw (line 1) | function aw(r,e={},{tailwindConfig:t={}}={}){if(e.values?.[r]!==void 0)r... function ow (line 1) | function ow(r,e={}){return e.values?.[r]} function ye (line 1) | function ye(r){return(e,t)=>_i(e,t,{validate:r})} function lw (line 1) | function lw(r,e){let t=r.indexOf(e);return t===-1?[void 0,r]:[r.slice(0,... function Os (line 1) | function Os(r,e,t,i){if(t.values&&e in t.values)for(let{type:s}of r??[])... function L (line 1) | function L(r){return typeof r=="function"?r({}):r} function Pt (line 1) | function Pt(r){return typeof r=="function"} function wr (line 1) | function wr(r,...e){let t=e.pop();for(let i of e)for(let n in i){let s=t... function uw (line 1) | function uw(r,...e){return Pt(r)?r(...e):r} function fw (line 1) | function fw(r){return r.reduce((e,{extend:t})=>wr(e,t,(i,n)=>i===void 0?... function cw (line 1) | function cw(r){return{...r.reduce((e,t)=>ds(e,t),{}),extend:fw(r)}} function Ef (line 1) | function Ef(r,e){if(Array.isArray(r)&&se(r[0]))return r.concat(e);if(Arr... function pw (line 1) | function pw({extend:r,...e}){return wr(e,r,(t,i)=>!Pt(t)&&!i.some(Pt)?wr... function hw (line 1) | function hw(r){let e=(t,i)=>{for(let n of dw(t)){let s=0,a=r;for(;a!=nul... function _f (line 1) | function _f(r){let e=[];return r.forEach(t=>{e=[...e,t];let i=t?.plugins... function mw (line 1) | function mw(r){return[...r].reduceRight((t,i)=>Pt(i)?i({corePlugins:t}):... function gw (line 1) | function gw(r){return[...r].reduceRight((t,i)=>[...t,...i],[])} function Ps (line 1) | function Ps(r){let e=[..._f(r),{prefix:"",important:!1,separator:":"}];r... method negative (line 1) | negative(r){return Object.keys(r).filter(e=>r[e]!=="0").reduce((e,t)=>{l... method breakpoints (line 1) | breakpoints(r){return Object.keys(r).filter(e=>typeof r[e]=="string").re... function Ti (line 1) | function Ti(r){let e=(r?.presets??[If.default]).slice().reverse().flatMa... function Pi (line 1) | function Pi(...r){let[,...e]=Ti(r[0]);return Ps([...r,...e])} function Di (line 1) | function Di(r){return typeof r=="object"&&r!==null} function bw (line 1) | function bw(r){return Object.keys(r).length===0} function Bf (line 1) | function Bf(r){return typeof r=="string"||r instanceof String} function Ds (line 1) | function Ds(r){return Di(r)&&r.config===void 0&&!bw(r)?null:Di(r)&&r.con... function ww (line 1) | function ww(){for(let r of yw)try{let e=te.resolve(r);return re.accessSy... method constructor (line 1) | constructor(e,t,i,n,s,a){super(e);this.name="CssSyntaxError",this.reason... method setMessage (line 1) | setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=... method showSourceCode (line 1) | showSourceCode(e){if(!this.source)return"";let t=this.source;e==null&&(e... method toString (line 3) | toString(){let e=this.showSourceCode();return e&&(e=` function xw (line 11) | function xw(r){return r[0].toUpperCase()+r.slice(1)} method constructor (line 11) | constructor(e){this.builder=e} method stringify (line 11) | stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "... method document (line 11) | document(e){this.body(e)} method root (line 11) | root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)} method comment (line 11) | comment(e){let t=this.raw(e,"left","commentLeft"),i=this.raw(e,"right","... method decl (line 11) | decl(e,t){let i=this.raw(e,"between","colon"),n=e.prop+i+this.rawValue(e... method rule (line 11) | rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&t... method atrule (line 11) | atrule(e,t){let i="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(... method body (line 11) | body(e){let t=e.nodes.length-1;for(;t>0&&e.nodes[t].type==="comment";)t-... method block (line 11) | block(e,t){let i=this.raw(e,"between","beforeOpen");this.builder(t+i+"{"... method raw (line 11) | raw(e,t,i){let n;if(i||(i=t),t&&(n=e.raws[t],typeof n!="undefined"))retu... method rawSemicolon (line 11) | rawSemicolon(e){let t;return e.walk(i=>{if(i.nodes&&i.nodes.length&&i.la... method rawEmptyBody (line 11) | rawEmptyBody(e){let t;return e.walk(i=>{if(i.nodes&&i.nodes.length===0&&... method rawIndent (line 11) | rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(i... method rawBeforeComment (line 12) | rawBeforeComment(e,t){let i;return e.walkComments(n=>{if(typeof n.raws.b... method rawBeforeDecl (line 13) | rawBeforeDecl(e,t){let i;return e.walkDecls(n=>{if(typeof n.raws.before!... method rawBeforeRule (line 14) | rawBeforeRule(e){let t;return e.walk(i=>{if(i.nodes&&(i.parent!==e||e.fi... method rawBeforeClose (line 15) | rawBeforeClose(e){let t;return e.walk(i=>{if(i.nodes&&i.nodes.length>0&&... method rawBeforeOpen (line 16) | rawBeforeOpen(e){let t;return e.walk(i=>{if(i.type!=="decl"&&(t=i.raws.b... method rawColon (line 16) | rawColon(e){let t;return e.walkDecls(i=>{if(typeof i.raws.between!="unde... method beforeAfter (line 16) | beforeAfter(e,t){let i;e.type==="decl"?i=this.raw(e,null,"beforeDecl"):e... method rawValue (line 17) | rawValue(e,t){let i=e[t],n=e.raws[t];return n&&n.value===i?n.raw:i} function Ms (line 17) | function Ms(r,e){new vw(e).stringify(r)} function Ls (line 17) | function Ls(r,e){let t=new r.constructor;for(let i in r){if(!Object.prot... method constructor (line 17) | constructor(e={}){this.raws={},this[Fi]=!1,this[kw]=!0;for(let t in e)if... method error (line 17) | error(e,t={}){if(this.source){let{start:i,end:n}=this.rangeBy(t);return ... method warn (line 17) | warn(e,t,i){let n={node:this};for(let s in i)n[s]=i[s];return e.warn(t,n)} method remove (line 17) | remove(){return this.parent&&this.parent.removeChild(this),this.parent=v... method toString (line 17) | toString(e=Aw){e.stringify&&(e=e.stringify);let t="";return e(this,i=>{t... method assign (line 17) | assign(e={}){for(let t in e)this[t]=e[t];return this} method clone (line 17) | clone(e={}){let t=Ls(this);for(let i in e)t[i]=e[i];return t} method cloneBefore (line 17) | cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(th... method cloneAfter (line 17) | cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this... method replaceWith (line 17) | replaceWith(...e){if(this.parent){let t=this,i=!1;for(let n of e)n===thi... method next (line 17) | next(){if(!this.parent)return;let e=this.parent.index(this);return this.... method prev (line 17) | prev(){if(!this.parent)return;let e=this.parent.index(this);return this.... method before (line 17) | before(e){return this.parent.insertBefore(this,e),this} method after (line 17) | after(e){return this.parent.insertAfter(this,e),this} method root (line 17) | root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;... method raw (line 17) | raw(e,t){return new Cw().raw(this,e,t)} method cleanRaws (line 17) | cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete th... method toJSON (line 17) | toJSON(e,t){let i={},n=t==null;t=t||new Map;let s=0;for(let a in this){i... method positionInside (line 17) | positionInside(e){let t=this.toString(),i=this.source.start.column,n=thi... method positionBy (line 18) | positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e... method rangeBy (line 18) | rangeBy(e){let t={line:this.source.start.line,column:this.source.start.c... method getProxyProcessor (line 18) | getProxyProcessor(){return{set(e,t,i){return e[t]===i||(e[t]=i,(t==="pro... method toProxy (line 18) | toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.g... method addToError (line 18) | addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.t... method markDirty (line 18) | markDirty(){if(this[Fi]){this[Fi]=!1;let e=this;for(;e=e.parent;)e[Fi]=!1}} method proxyOf (line 18) | get proxyOf(){return this} method constructor (line 18) | constructor(e){e&&typeof e.value!="undefined"&&typeof e.value!="string"&... method variable (line 18) | get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"} method constructor (line 18) | constructor(e){super(e);this.type="comment"} function tc (line 18) | function tc(r){return r.map(e=>(e.nodes&&(e.nodes=tc(e.nodes)),delete e.... function rc (line 18) | function rc(r){if(r[Qf]=!1,r.proxyOf.nodes)for(let e of r.proxyOf.nodes)... method push (line 18) | push(e){return e.parent=this,this.proxyOf.nodes.push(e),this} method each (line 18) | each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),i,n;for(;... method walk (line 18) | walk(e){return this.each((t,i)=>{let n;try{n=e(t,i)}catch(s){throw t.add... method walkDecls (line 18) | walkDecls(e,t){return t?e instanceof RegExp?this.walk((i,n)=>{if(i.type=... method walkRules (line 18) | walkRules(e,t){return t?e instanceof RegExp?this.walk((i,n)=>{if(i.type=... method walkAtRules (line 18) | walkAtRules(e,t){return t?e instanceof RegExp?this.walk((i,n)=>{if(i.typ... method walkComments (line 18) | walkComments(e){return this.walk((t,i)=>{if(t.type==="comment")return e(... method append (line 18) | append(...e){for(let t of e){let i=this.normalize(t,this.last);for(let n... method prepend (line 18) | prepend(...e){e=e.reverse();for(let t of e){let i=this.normalize(t,this.... method cleanRaws (line 18) | cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.... method insertBefore (line 18) | insertBefore(e,t){let i=this.index(e),n=i===0?"prepend":!1,s=this.normal... method insertAfter (line 18) | insertAfter(e,t){let i=this.index(e),n=this.normalize(t,this.proxyOf.nod... method removeChild (line 18) | removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.... method removeAll (line 18) | removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.... method replaceValues (line 18) | replaceValues(e,t,i){return i||(i=t,t={}),this.walkDecls(n=>{t.props&&!t... method every (line 18) | every(e){return this.nodes.every(e)} method some (line 18) | some(e){return this.nodes.some(e)} method index (line 18) | index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.prox... method first (line 18) | get first(){if(!!this.proxyOf.nodes)return this.proxyOf.nodes[0]} method last (line 18) | get last(){if(!!this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyO... method normalize (line 18) | normalize(e,t){if(typeof e=="string")e=tc(Zf(e).nodes);else if(Array.isA... method getProxyProcessor (line 18) | getProxyProcessor(){return{set(e,t,i){return e[t]===i||(e[t]=i,(t==="nam... method getIterator (line 18) | getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.index... method constructor (line 18) | constructor(e){super({type:"document",...e});this.nodes||(this.nodes=[])} method toResult (line 18) | toResult(e={}){return new nc(new sc,this,e).stringify()} method constructor (line 18) | constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.so... method toString (line 18) | toString(){return this.node?this.node.error(this.text,{plugin:this.plugi... method constructor (line 18) | constructor(e,t,i){this.processor=e,this.messages=[],this.root=t,this.op... method toString (line 18) | toString(){return this.css} method warn (line 18) | warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(... method warnings (line 18) | warnings(){return this.messages.filter(e=>e.type==="warning")} method content (line 18) | get content(){return this.css} function C (line 19) | function C(){return b} function A (line 19) | function A(I){throw e.error("Unclosed "+I,b)} function P (line 19) | function P(){return k.length===0&&b>=v} function F (line 19) | function F(I){if(k.length)return k.pop();if(b>=v)return;let K=I?I.ignore... function B (line 19) | function B(I){k.push(I)} method constructor (line 19) | constructor(e){super(e);this.type="atrule"} method append (line 19) | append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)} method prepend (line 19) | prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(.... method constructor (line 19) | constructor(e){super(e);this.type="root",this.nodes||(this.nodes=[])} method removeChild (line 19) | removeChild(e,t){let i=this.index(e);return!t&&i===0&&this.nodes.length>... method normalize (line 19) | normalize(e,t,i){let n=super.normalize(e);if(t){if(i==="prepend")this.no... method toResult (line 19) | toResult(e={}){return new wc(new xc,this,e).stringify()} method split (line 19) | split(r,e,t){let i=[],n="",s=!1,a=0,o=!1,u="",c=!1;for(let f of r)c?c=!1... method space (line 19) | space(r){let e=[" ",` method comma (line 20) | comma(r){return Or.split(r,[","],!0)} method constructor (line 20) | constructor(e){super(e);this.type="rule",this.nodes||(this.nodes=[])} method selectors (line 20) | get selectors(){return jw.comma(this.selector)} method selectors (line 20) | set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,i=... function Yw (line 20) | function Yw(r){for(let e=r.length-1;e>=0;e--){let t=r[e],i=t[3]||t[2];if... method constructor (line 20) | constructor(e){this.input=e,this.root=new Hw,this.current=this.root,this... method createTokenizer (line 20) | createTokenizer(){this.tokenizer=Vw(this.input)} method parse (line 20) | parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.... method comment (line 20) | comment(e){let t=new Ww;this.init(t,e[2]),t.source.end=this.getPosition(... method emptyRule (line 20) | emptyRule(e){let t=new Ac;this.init(t,e[2]),t.selector="",t.raws.between... method other (line 20) | other(e){let t=!1,i=null,n=!1,s=null,a=[],o=e[1].startsWith("--"),u=[],c... method rule (line 20) | rule(e){e.pop();let t=new Ac;this.init(t,e[0][2]),t.raws.between=this.sp... method decl (line 20) | decl(e,t){let i=new Uw;this.init(i,e[0][2]);let n=e[e.length-1];for(n[0]... method atrule (line 20) | atrule(e){let t=new Gw;t.name=e[1].slice(1),t.name===""&&this.unnamedAtr... method end (line 20) | end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws... method endFile (line 20) | endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&... method freeSemicolon (line 20) | freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.cur... method getPosition (line 20) | getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.lin... method init (line 20) | init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input... method raw (line 20) | raw(e,t,i,n){let s,a,o=i.length,u="",c=!0,f,d;for(let h=0;hJs(e)),r} method constructor (line 21) | constructor(e,t,i){this.stringified=!1,this.processed=!1;let n;if(typeof... method [Symbol.toStringTag] (line 21) | get[Symbol.toStringTag](){return"LazyResult"} method processor (line 21) | get processor(){return this.result.processor} method opts (line 21) | get opts(){return this.result.opts} method css (line 21) | get css(){return this.stringify().css} method content (line 21) | get content(){return this.stringify().content} method map (line 21) | get map(){return this.stringify().map} method root (line 21) | get root(){return this.sync().root} method messages (line 21) | get messages(){return this.sync().messages} method warnings (line 21) | warnings(){return this.sync().warnings()} method toString (line 21) | toString(){return this.css} method then (line 21) | then(e,t){return this.async().then(e,t)} method catch (line 21) | catch(e){return this.async().catch(e)} method finally (line 21) | finally(e){return this.async().then(e,e)} method async (line 21) | async(){return this.error?Promise.reject(this.error):this.processed?Prom... method sync (line 21) | sync(){if(this.error)throw this.error;if(this.processed)return this.resu... method stringify (line 21) | stringify(){if(this.error)throw this.error;if(this.stringified)return th... method walkSync (line 21) | walkSync(e){e[Fe]=!0;let t=Nc(e);for(let i of t)if(i===Rt)e.nodes&&e.eac... method visitSync (line 21) | visitSync(e,t){for(let[i,n]of e){this.result.lastPlugin=i;let s;try{s=n(... method runOnRoot (line 21) | runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once)... method getAsyncError (line 21) | getAsyncError(){throw new Error("Use process(css).then(cb) to work with ... method handleError (line 21) | handleError(e,t){let i=this.result.lastPlugin;try{t&&t.addToError(e),thi... method runAsync (line 21) | async runAsync(){this.plugin=0;for(let e=0;e{this.listeners[i]||(... method visitTick (line 21) | visitTick(e){let t=e[e.length-1],{node:i,visitors:n}=t;if(i.type!=="root... method constructor (line 21) | constructor(e,t,i){t=t.toString(),this.stringified=!1,this._processor=e,... method [Symbol.toStringTag] (line 21) | get[Symbol.toStringTag](){return"NoWorkResult"} method processor (line 21) | get processor(){return this.result.processor} method opts (line 21) | get opts(){return this.result.opts} method css (line 21) | get css(){return this.result.css} method content (line 21) | get content(){return this.result.css} method map (line 21) | get map(){return this.result.map} method root (line 21) | get root(){if(this._root)return this._root;let e,t=bx;try{e=t(this._css,... method messages (line 21) | get messages(){return[]} method warnings (line 21) | warnings(){return[]} method toString (line 21) | toString(){return this._css} method then (line 21) | then(e,t){return this.async().then(e,t)} method catch (line 21) | catch(e){return this.async().catch(e)} method finally (line 21) | finally(e){return this.async().then(e,e)} method async (line 21) | async(){return this.error?Promise.reject(this.error):Promise.resolve(thi... method sync (line 21) | sync(){if(this.error)throw this.error;return this.result} method constructor (line 21) | constructor(e=[]){this.version="8.4.24",this.plugins=this.normalize(e)} method use (line 21) | use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this} method process (line 21) | process(e,t={}){return this.plugins.length===0&&typeof t.parser=="undefi... method normalize (line 21) | normalize(e){let t=[];for(let i of e)if(i.postcss===!0?i=i():i.postcss&&... function Pr (line 21) | function Pr(r,e){if(Array.isArray(r))return r.map(n=>Pr(n));let{inputs:t... function N (line 21) | function N(...r){return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new ... function n (line 21) | function n(...a){console&&console.warn&&!i&&(i=!0,console.warn(e+`: post... method get (line 23) | get(){return s||(s=n()),s} function jx (line 23) | function jx(r){for(var e=r.toLowerCase(),t="",i=!1,n=0;n<6&&e[n]!==void ... function Vx (line 23) | function Vx(r){var e=Ux.test(r);if(!e)return r;for(var t="",i=0;i1?e-1:0),i=1;i1?e-1:0),i=1;i=0;){e=e+r.slice(i,t... function un (line 23) | function un(r){return r&&r.__esModule?r:{default:r}} function cp (line 23) | function cp(r,e){for(var t=0;tr.length)&&(e=r.length);for(var t=0,i=new A... function mp (line 24) | function mp(r,e){for(var t=0;t(typeof e=="f... function Ya (line 25) | function Ya(r,e){let t;try{pd(i=>{t=i}).processSync(r)}catch(i){throw r.... function dd (line 25) | function dd(r,e){let t=!1;return r.each(i=>{if(i.type==="nesting"){let n... function hd (line 25) | function hd(r,e){let t=[];return r.selectors.forEach(i=>{let n=Ya(i,r);e... function yn (line 25) | function yn(r,e){let t=r.prev();for(e.after(r);t&&t.type==="comment";){l... function M5 (line 25) | function M5(r){return function e(t,i,n,s=n){let a=[];if(i.each(o=>{o.typ... function Qa (line 25) | function Qa(r,e,t){let i=new cd({selector:r,nodes:[]});return i.append(e... function md (line 25) | function md(r,e){let t={};for(let i of r)t[i]=!0;if(e)for(let i of e)t[i... function L5 (line 25) | function L5(r){r=r.trim();let e=r.match(/^\((.*)\)$/);if(!e)return{type:... function $5 (line 25) | function $5(r){let e=[],t=r.parent;for(;t&&t instanceof B5;)e.push(t),t=... function N5 (line 25) | function N5(r){let e=r[gd];if(!e)r.after(r.nodes);else{let t=r.nodes,i,n... function z5 (line 25) | function z5(r){let{params:e}=r,{type:t,selector:i,escapes:n}=L5(e);if(t=... method Once (line 25) | Once(a){a.walkAtRules(n,o=>{z5(o),a[Ja]=!0})} method Rule (line 25) | Rule(a){let o=!1,u=a,c=!1,f=[];a.each(d=>{d.type==="rule"?(f.length&&(u=... method RootExit (line 25) | RootExit(a){a[Ja]&&(a.walkAtRules(n,N5),a[Ja]=!1)} function Za (line 25) | function Za(r){return typeof r.nodes=="undefined"?!0:eo(r)} function eo (line 25) | function eo(r){let e,t={};return r.each(i=>{if(i.type==="atrule")e="@"+i... function G5 (line 25) | function G5(r){return r.replace(/([A-Z])/g,"-$1").replace(/^ms-/,"-ms-")... function Cd (line 25) | function Cd(r,e,t){t===!1||t===null||(e.startsWith("--")||(e=G5(e)),type... function Ad (line 25) | function Ad(r,e,t){let i=ei.atRule({name:e[1],params:e[3]||""});typeof t... function ro (line 25) | function ro(r,e){let t,i,n;for(t in r)if(i=r[t],!(i===null||typeof i=="u... function Nt (line 25) | function Nt(r){return Array.isArray(r)?r.flatMap(e=>z([(0,Bd.default)({b... function zt (line 25) | function zt(r,e,t=!1){if(r==="")return e;let i=typeof e=="string"?(0,Md.... function he (line 25) | function he(r){let e=Ld.default.className();return e.value=r,bt(e?.raws?... function so (line 25) | function so(r){return bt(`.${he(r)}`)} function xn (line 25) | function xn(r,e){return so(ti(r,e))} function ti (line 25) | function ti(r,e){return e==="DEFAULT"?r:e==="-"||e==="-DEFAULT"?`-${r}`:... function T (line 25) | function T(r,e=[[r,[r]]],{filterDefault:t=!1,...i}={}){let n=Xe(r);retur... function at (line 25) | function at(r){return r=Array.isArray(r)?r:[r],r.map(e=>{let t=e.values.... function oo (line 25) | function oo(r){return r.split(fS).map(t=>{let i=t.trim(),n={value:i},s=i... function ot (line 25) | function ot(r,e=!0){return Array.isArray(r)?r.map(t=>{if(e&&Array.isArra... function kn (line 25) | function kn(r){return r.values.length!==1?{result:!1,reason:"multiple-va... function Vd (line 25) | function Vd(r,e,t){let i=Sn(e,r),n=Sn(t,r),s=kn(i),a=kn(n);if(s.reason==... function Sn (line 25) | function Sn(r,e){return typeof r=="object"?r:{name:"arbitrary-screen",va... function Wd (line 25) | function Wd({"min-width":r,min:e=r,max:t,raw:i}={}){return{min:e,max:t,r... function An (line 25) | function An(r,e){r.walkDecls(t=>{if(e.includes(t.prop)){t.remove();retur... function o (line 25) | function o(w){return w.match(/(\D+)$/)?.[1]??"(none)"} function u (line 25) | function u(w){w!==void 0&&a.add(o(w))} function c (line 25) | function c(w){return u(w),a.size===1} function d (line 25) | function d(w){return Object.fromEntries(s.filter(k=>kn(k).result).map(k=... function h (line 25) | function h(w){return(k,C)=>Vd(w,k.value,C.value)} function v (line 25) | function v(w){return k=>{if(n)if(f){if(typeof k=="string"&&!c(k))return ... function r (line 25) | function r(t=[]){return t.flatMap(i=>i.values.map(n=>n.min)).filter(i=>i... function e (line 25) | function e(t,i,n){if(typeof n=="undefined")return[];if(!(typeof n=="obje... function r (line 25) | function r(e){return Re(e,0,"rgb(255 255 255 / 0)")} function Ut (line 25) | function Ut(r){let e=[],t=!1;for(let i=0;ie.type==="tag"&&t.type==="class"?-1:... function fo (line 25) | function fo(r,e){let t=!1;r.walk(i=>{if(i.type==="class"&&i.value===e)re... function On (line 25) | function On(r,e,{context:t,candidate:i,base:n}){let s=t?.tailwindConfig?... function mS (line 25) | function mS(r,e){let t=[];return r.walkPseudos(i=>{i.value===uo&&t.push(... function eh (line 25) | function eh(r){let e=[];for(let t of r.nodes)co(t)&&(e.push(t),r.removeC... function bS (line 25) | function bS(r,e){return r.type!=="pseudo"&&e.type!=="pseudo"||r.type==="... function co (line 25) | function co(r){return r.type!=="pseudo"||yS.includes(r.value)?!1:r.value... function En (line 25) | function En(r,e){let t=/^(.*?)(:before|:after|::[\w-]+)(\)*)$/g.exec(r);... function th (line 25) | function th(r){let e=ae(r," ");return e.length===1&&e[0].startsWith(":is... function mo (line 25) | function mo(r){return wS.transformSync(r)} function vS (line 25) | function vS(r,e){if(r.length===0||e.tailwindConfig.prefix==="")return r;... function kS (line 25) | function kS(r,e){if(r.length===0)return r;let t=[];for(let[i,n]of r){let... function SS (line 25) | function SS(r,e,t){if(e.length===0)return e;let i={modifier:null,value:p... function go (line 25) | function go(r,e,t={}){return!se(r)&&!Array.isArray(r)?[[r],t]:Array.isAr... function AS (line 25) | function AS(r){return CS.test(r)} function OS (line 25) | function OS(r){if(!r.includes("://"))return!1;try{let e=new URL(r);retur... function rh (line 25) | function rh(r){let e=!0;return r.walkDecls(t=>{if(!ih(t.prop,t.value))re... function ih (line 25) | function ih(r,e){if(OS(`${r}:${e}`))return!1;try{return z.parse(`a{${r}:... function ES (line 25) | function ES(r,e){let[,t,i]=r.match(/^\[([a-zA-Z0-9-_]+):(\S+)\]$/)??[];i... function TS (line 25) | function TS(r,e){return r===We?[We]:ae(r,e)} function DS (line 29) | function DS(r,{context:e,candidate:t,original:i}){if(!r[0].collectedForm... function Pn (line 29) | function Pn(r){return r.parent&&r.parent.type==="atrule"&&r.parent.name=... function IS (line 29) | function IS(r){if(r===!0)return e=>{Pn(e)||e.walkDecls(t=>{t.parent.type... function Dn (line 29) | function Dn(r,e){let t=[],i=IS(e.tailwindConfig.important);for(let n of ... function yo (line 29) | function yo(r){return r.startsWith("[")&&r.endsWith("]")} function qS (line 29) | function qS(r){try{return nh.createHash("md5").update(r,"utf-8").digest(... function ah (line 29) | function ah(r,e){let t=e.toString();if(!t.includes("@tailwind"))return!1... function Fn (line 29) | function Fn(r){return(r>0n)-(r<0n)} function uh (line 29) | function uh(r,e){let t=0n,i=0n;for(let[n,s]of e)r&n&&(t=t|n,i=i|s);retur... function ch (line 29) | function ch(r){let e=null;for(let t of r)e=e??t,e=e>t?e:t;return e} function RS (line 29) | function RS(r,e){let t=r.length,i=e.length,n=t... function ko (line 29) | function ko(r,e){let t=r.tailwindConfig.prefix;return typeof t=="functio... function hh (line 29) | function hh({type:r="any",...e}){let t=[].concat(r);return{...e,types:t.... function FS (line 29) | function FS(r){let e=[],t="",i=0;for(let n=0;n!Array.isArray(e)&&!... function gh (line 29) | function gh(r,e){return(0,wo.default)(i=>{let n=[];return e&&e(i),i.walk... function MS (line 29) | function MS(r,e={containsNonOnDemandable:!1},t=0){let i=[];if(r.type==="... function Bn (line 29) | function Bn(r){return mh(r).flatMap(e=>{let t=new Map,[i,n]=MS(e);return... function qn (line 29) | function qn(r){return r.startsWith("@")||r.includes("&")} function ri (line 29) | function ri(r){r=r.replace(/\n+/g,"").replace(/\s{1,}/g," ").trim();let ... function LS (line 29) | function LS(r,e,{variantList:t,variantMap:i,offsets:n,classList:s}){func... function Mn (line 29) | function Mn(r){return So.has(r)||So.set(r,new Map),So.get(r)} function yh (line 29) | function yh(r,e){let t=!1,i=new Map;for(let n of r){if(!n)continue;let s... function bh (line 29) | function bh(r){r.walkAtRules(e=>{["responsive","variants"].includes(e.na... function $S (line 29) | function $S(r){let e=[];return r.each(t=>{t.type==="atrule"&&["responsiv... function NS (line 29) | function NS(r,e){let t=Object.entries({...me,...Yd}).map(([o,u])=>r.tail... function zS (line 29) | function zS(r,e){let t=[],i=new Map;e.variantMap=i;let n=new bo;e.offset... function wh (line 29) | function wh(r,e){!r.classCache.has(e)||(r.notClassCache.add(e),r.classCa... function jS (line 29) | function jS(r,e){let t=e.raws.tailwind.candidate;if(!!t){for(let i of r.... function Co (line 29) | function Co(r,e=[],t=z.root()){let i={disposables:[],ruleCache:new Set,c... function xh (line 29) | function xh(r,e,t,i,n,s){let a=e.opts.from,o=i!==null;ie.DEBUG&&console.... function Ao (line 29) | function Ao(r){return r.ignore?[]:r.glob?p.env.ROLLUP_WATCH==="true"?[{t... function Oo (line 29) | function Oo(r){return r.content.files.length===0&&M.warn("content-proble... function Th (line 29) | function Th(r){let e=r,t=Eh(r);return t!=="."&&(e=r.substr(t.length),e.c... function Dh (line 29) | function Dh(r,e){let t=e.content.files;t=t.filter(o=>typeof o=="string")... function Ih (line 29) | function Ih(r,e){let t={original:r,base:r,ignore:e,pattern:r,glob:null};... function US (line 29) | function US(r){let e=Eo(r.base);return e=Ln.escapePath(e),r.pattern=r.gl... function VS (line 29) | function VS(r,e){let t=[];return r.userConfigPath&&r.tailwindConfig.cont... function WS (line 29) | function WS(r){let e=[r];try{let t=re.realpathSync(r.base);t!==r.base&&e... function qh (line 29) | function qh(r,e,t){let i=r.tailwindConfig.content.files.filter(a=>typeof... function GS (line 29) | function GS(r,e){let t=r.map(a=>a.pattern),i=new Map,n=new Set;ie.DEBUG&... function Fh (line 29) | function Fh(){} function XS (line 29) | function XS(r,e){for(let t of e){let i=`${r}${t}`;if(re.existsSync(i)&&r... function _o (line 29) | function _o(r){return r===null?new Set:new Set(Mh(r,te.dirname(r),new Se... function JS (line 29) | function JS(r,e){if(To.has(r))return To.get(r);let t=Dh(r,e);return To.s... function KS (line 29) | function KS(r){let e=Ds(r);if(e!==null){let[i,n,s,a]=Nh.get(e)||[],o=_o(... function Po (line 29) | function Po(r){return({tailwindDirectives:e,registerDependency:t})=>(i,n... function Do (line 29) | function Do(r){let e=new Set,t=new Set,i=new Set;if(r.walkAtRules(n=>{n.... function St (line 29) | function St(r,e=void 0,t=void 0){return r.map(i=>{let n=i.clone(),s=i.ra... function $n (line 29) | function $n(r){return r=Array.isArray(r)?r:[r],r=r.map(e=>e instanceof R... function Ce (line 29) | function Ce(r){return new RegExp($n(r),"g")} function Gt (line 29) | function Gt(r){return`(?:${r.map($n).join("|")})`} function Io (line 29) | function Io(r){return`(?:${$n(r)})?`} function Wh (line 29) | function Wh(r){return`(?:${$n(r)})*`} function Gh (line 29) | function Gh(r){return r&&ZS.test(r)?r.replace(Vh,"\\$&"):r||""} function Yh (line 29) | function Yh(r){let e=Array.from(e3(r));return t=>{let i=[];for(let n of ... function i3 (line 29) | function i3(r){if(!r.includes("-["))return r;let e=0,t=[],i=r.matchAll(t... function n3 (line 29) | function n3(){return[]} function s3 (line 29) | function s3(r,e){let t=r.tailwindConfig.content.extract;return t[e]||t.D... function a3 (line 29) | function a3(r,e){let t=r.content.transform;return t[e]||t.DEFAULT||em[e]... function o3 (line 29) | function o3(r,e,t,i){ni.has(e)||ni.set(e,new Kh.default({maxSize:25e3}))... function l3 (line 30) | function l3(r,e){let t=e.offsets.sort(r),i={base:new Set,defaults:new Se... function qo (line 30) | function qo(r){return e=>{let t={base:null,components:null,utilities:nul... function Nn (line 30) | function Nn(r){let e=new Map;z.root({nodes:[r.clone()]}).walkRules(s=>{(... function Fo (line 30) | function Fo(r){return u3.astSync(r)} function rm (line 30) | function rm(r,e){let t=new Set;for(let i of r)t.add(i.split(e).pop());re... function im (line 30) | function im(r,e){let t=r.tailwindConfig.prefix;return typeof t=="functio... function f3 (line 30) | function f3(r,e={}){let t=r.nodes;r.nodes=[];let i=r.clone(e);return r.n... function c3 (line 30) | function c3(r){for(let e of nm(r))if(r!==e){if(e.type==="root")break;r=f... function p3 (line 30) | function p3(r,e){let t=new Map;return r.walkRules(i=>{for(let a of nm(i)... function d3 (line 30) | function d3(r,e){for(let t of r){if(e.notClassCache.has(t)||e.applyClass... function h3 (line 30) | function h3(r){let e=null;return{get:t=>(e=e||r(),e.get(t)),has:t=>(e=e|... function m3 (line 30) | function m3(r){return{get:e=>r.flatMap(t=>t.get(e)||[]),has:e=>r.some(t=... function sm (line 30) | function sm(r){let e=r.split(/[\s\t\n]+/g);return e[e.length-1]==="!impo... function am (line 30) | function am(r,e,t){let i=new Set,n=[];if(r.walkAtRules("apply",u=>{let[c... function Bo (line 30) | function Bo(r){return e=>{let t=h3(()=>p3(e,r));am(e,r,t)}} function r (line 30) | function r(i,n,s){if(!i)return null;r.caseSensitive||(i=i.toLowerCase())... function t (line 30) | function t(i,n,s){s=s||s===0?s:e;var a=i.length,o=n.length;if(a===0)retu... function dm (line 30) | function dm(r,e){var t=r.type,i=r.value,n,s;return e&&(s=e(r))!==void 0?... function hm (line 30) | function hm(r,e){var t,i;if(Array.isArray(r)){for(t="",i=r.length-1;~i;i... function k3 (line 30) | function k3(r){var e=r.charCodeAt(0),t;if(e===Wn||e===Vn){if(t=r.charCod... function ut (line 30) | function ut(r){return this instanceof ut?(this.nodes=S3(r),this):new ut(r)} function Wo (line 30) | function Wo(r){return typeof r=="object"&&r!==null} function C3 (line 30) | function C3(r,e){let t=et(e);do if(t.pop(),(0,ai.default)(r,t)!==void 0)... function Yt (line 30) | function Yt(r){return typeof r=="string"?r:r.reduce((e,t,i)=>t.includes(... function Sm (line 30) | function Sm(r){return r.map(e=>`'${e}'`).join(", ")} function Cm (line 30) | function Cm(r){return Sm(Object.keys(r))} function Go (line 30) | function Go(r,e,t,i={}){let n=Array.isArray(e)?Yt(e):e.replace(/^['"]+|[... function A3 (line 30) | function A3(r,e,t){e=e.map(n=>Am(r,n,t));let i=[""];for(let n of e)n.typ... function Am (line 30) | function Am(r,e,t){if(e.type==="function"&&t[e.value]!==void 0){let i=A3... function O3 (line 30) | function O3(r,e,t){return(0,Vo.default)(e).walk(i=>{Am(r,i,t)}).toString()} function T3 (line 30) | function T3(r,e,t){let i=Array.from(_3(e)).map(([n,s])=>Object.assign(Go... function Om (line 30) | function Om(r){let e=r.tailwindConfig,t={theme:(i,n,...s)=>{let{isValid:... function _m (line 30) | function _m({tailwindConfig:{theme:r}}){return function(e){e.walkAtRules... function P3 (line 30) | function P3(r){let e=r.filter(o=>o.type!=="pseudo"||o.nodes.length>0?!0:... function I3 (line 30) | function I3(r){return Ho.has(r)||Ho.set(r,D3.transformSync(r)),Ho.get(r)} function Yo (line 30) | function Yo({tailwindConfig:r}){return e=>{let t=new Map,i=new Set;if(e.... method id (line 30) | id(r){return Gn.default.attribute({attribute:"id",operator:"=",value:r.v... function Qo (line 30) | function Qo(){function r(e){let t=null;e.each(i=>{if(!q3.has(i.type)){t=... function Xo (line 30) | function Xo(){return r=>{r.walkRules(e=>{let t=new Map,i=new Set([]),n=n... function F3 (line 30) | function F3(r){let e=/^-?\d*.?\d+([\w%]+)?$/g.exec(r);return e?e[1]??R3:... function B3 (line 30) | function B3(r){if(!r.walkAtRules)return;let e=new Set;if(r.walkAtRules("... function Hn (line 30) | function Hn(){return r=>{B3(r)}} function M3 (line 30) | function M3(r){return r.type==="root"} function L3 (line 30) | function L3(r){return r.type==="atrule"&&r.name==="layer"} function Bm (line 30) | function Bm(r){return(e,t)=>{let i=!1;e.walkAtRules("tailwind",n=>{if(i)... function Yn (line 32) | function Yn(r){return function(e,t){let{tailwindDirectives:i,applyDirect... function $m (line 32) | function $m(r,e){let t=null,i=null;return r.walkAtRules("config",n=>{if(... function $3 (line 32) | function $3({code:r}){return{code:{toString(){return r}}}} method toJSON (line 33) | toJSON(){return u.map.toJSON()} method toString (line 33) | toString(){return u.map.toString()} function z3 (line 36) | function z3(){return{status:"cr",title:"CSS Feature Queries",stats:{ie:{... method prefixes (line 36) | static prefixes(){if(this.prefixesCache)return this.prefixesCache;this.p... method withPrefix (line 36) | static withPrefix(e){return this.prefixesRegexp||(this.prefixesRegexp=ne... method constructor (line 36) | constructor(e,t,i,n){this.data=e,this.options=i||{},this.browserslistOpt... method parse (line 36) | parse(e){let t={};for(let i in this.browserslistOpts)t[i]=this.browsersl... method prefix (line 36) | prefix(e){let[t,i]=e.split(" "),n=this.data[t],s=n.prefix_exceptions&&n.... method isSelected (line 36) | isSelected(e){return this.selected.includes(e)} method prefix (line 36) | prefix(r){let e=r.match(/^(-\w+-)/);return e?e[0]:""} method unprefixed (line 36) | unprefixed(r){return r.replace(/^-\w+-/,"")} function el (line 36) | function el(r,e){let t=new r.constructor;for(let i of Object.keys(r||{})... method hack (line 36) | static hack(e){return this.hacks||(this.hacks={}),e.names.map(t=>(this.h... method load (line 36) | static load(e,t,i){let n=this.hacks&&this.hacks[e];return n?new n(e,t,i)... method clone (line 36) | static clone(e,t){let i=el(e);for(let n in t)i[n]=t[n];return i} method constructor (line 36) | constructor(e,t,i){this.prefixes=t,this.name=e,this.all=i} method parentPrefix (line 36) | parentPrefix(e){let t;return typeof e._autoprefixerPrefix!="undefined"?t... method process (line 36) | process(e,t){if(!this.check(e))return;let i=this.parentPrefix(e),n=this.... method clone (line 36) | clone(e,t){return Kn.clone(e,t)} method check (line 36) | check(){return!0} method prefixed (line 36) | prefixed(e,t){return t+e} method normalize (line 36) | normalize(e){return e} method otherPrefixes (line 36) | otherPrefixes(e,t){for(let i of H3.prefixes())if(i!==t&&e.includes(i))re... method set (line 36) | set(e,t){return e.prop=this.prefixed(e.prop,t),e} method needCascade (line 36) | needCascade(e){return e._autoprefixerCascade||(e._autoprefixerCascade=th... method maxPrefixed (line 37) | maxPrefixed(e,t){if(t._autoprefixerMax)return t._autoprefixerMax;let i=0... method calcBefore (line 37) | calcBefore(e,t,i=""){let s=this.maxPrefixed(e,t)-Zm.removeNote(i).length... method restoreBefore (line 37) | restoreBefore(e){let t=e.raw("before").split(` method insert (line 40) | insert(e,t,i){let n=this.set(this.clone(e),t);if(!(!n||e.parent.some(a=>... method isAlready (line 40) | isAlready(e,t){let i=this.all.group(e).up(n=>n.prop===t);return i||(i=th... method add (line 40) | add(e,t,i,n){let s=this.prefixed(e.prop,t);if(!(this.isAlready(e,s)||thi... method process (line 40) | process(e,t){if(!this.needCascade(e)){super.process(e,t);return}let i=su... method old (line 40) | old(e,t){return[this.prefixed(e,t)]} method prefixName (line 40) | prefixName(e,t){return e==="-moz-"?t+"--moz-device-pixel-ratio":e+t+"-de... method prefixQuery (line 40) | prefixQuery(e,t,i,n,s){return n=new Y3(n),s==="dpi"?n=n.div(96):s==="dpc... method clean (line 40) | clean(e){if(!this.bad){this.bad=[];for(let t of this.prefixes)this.bad.p... method process (line 40) | process(e){let t=this.parentPrefix(e),i=t?[t]:this.prefixes;e.params=tl.... method constructor (line 40) | constructor(e){this.props=["transition","transition-property"],this.pref... method add (line 40) | add(e,t){let i,n,s=this.prefixes.add[e.prop],a=this.ruleVendorPrefixes(e... method findProp (line 40) | findProp(e){let t=e[0].value;if(/^\d/.test(t)){for(let[i,n]of e.entries(... method already (line 40) | already(e,t,i){return e.parent.some(n=>n.prop===t&&n.value===i)} method cloneBefore (line 40) | cloneBefore(e,t,i){this.already(e,t,i)||e.cloneBefore({prop:t,value:i})} method checkForWarning (line 40) | checkForWarning(e,t){if(t.prop!=="transition-property")return;let i=!1,n... method remove (line 40) | remove(e){let t=this.parse(e.value);t=t.filter(a=>{let o=this.prefixes.r... method parse (line 40) | parse(e){let t=og(e),i=[],n=[];for(let s of t.nodes)n.push(s),s.type==="... method stringify (line 40) | stringify(e){if(e.length===0)return"";let t=[];for(let i of e)i[i.length... method clone (line 40) | clone(e,t,i){let n=[],s=!1;for(let a of i)!s&&a.type==="word"&&a.value==... method div (line 40) | div(e){for(let t of e)for(let i of t)if(i.type==="div"&&i.value===",")re... method cleanOtherPrefixes (line 40) | cleanOtherPrefixes(e,t){return e.filter(i=>{let n=lg.prefix(this.findPro... method cleanFromUnprefixed (line 40) | cleanFromUnprefixed(e,t){let i=e.map(s=>this.findProp(s)).filter(s=>s.sl... method disabled (line 40) | disabled(e,t){let i=["order","justify-content","align-self","align-conte... method ruleVendorPrefixes (line 40) | ruleVendorPrefixes(e){let{parent:t}=e;if(t.type!=="rule")return!1;if(!t.... method constructor (line 40) | constructor(e,t,i,n){this.unprefixed=e,this.prefixed=t,this.string=i||t,... method check (line 40) | check(e){return e.includes(this.string)?!!e.match(this.regexp):!1} method save (line 40) | static save(e,t){let i=t.prop,n=[];for(let s in t._autoprefixerValues){l... method check (line 40) | check(e){let t=e.value;return t.includes(this.name)?!!t.match(this.regex... method regexp (line 40) | regexp(){return this.regexpCache||(this.regexpCache=nC.regexp(this.name))} method replace (line 40) | replace(e,t){return e.replace(this.regexp(),`$1${t}$2`)} method value (line 40) | value(e){return e.raws.value&&e.raws.value.value===e.value?e.raws.value.... method add (line 40) | add(e,t){e._autoprefixerValues||(e._autoprefixerValues={});let i=e._auto... method old (line 40) | old(e){return new rC(this.name,e+this.name)} function rl (line 40) | function rl(r){return r.parent.some(e=>e.prop==="grid-template"||e.prop=... function pC (line 40) | function pC(r){let e=r.parent.some(i=>i.prop==="grid-template-rows"),t=r... method constructor (line 40) | constructor(e){this.prefixes=e} method add (line 40) | add(e,t){let i=this.prefixes.add["@resolution"],n=this.prefixes.add["@ke... method remove (line 40) | remove(e,t){let i=this.prefixes.remove["@resolution"];e.walkAtRules((n,s... method withHackValue (line 41) | withHackValue(e){return e.prop==="-webkit-background-clip"&&e.value==="t... method disabledValue (line 41) | disabledValue(e,t){return this.gridStatus(e,t)===!1&&e.type==="decl"&&e.... method disabledDecl (line 41) | disabledDecl(e,t){if(this.gridStatus(e,t)===!1&&e.type==="decl"&&(e.prop... method disabled (line 41) | disabled(e,t){if(!e)return!1;if(e._autoprefixerDisabled!==void 0)return ... method reduceSpaces (line 41) | reduceSpaces(e){let t=!1;if(this.prefixes.group(e).up(()=>(t=!0,!0)),t)r... method displayType (line 44) | displayType(e){for(let t of e.parent.nodes)if(t.prop==="display"){if(t.v... method gridStatus (line 44) | gridStatus(e,t){if(!e)return!1;if(e._autoprefixerGridStatus!==void 0)ret... function kg (line 44) | function kg(r){return r[r.length-1]} method parse (line 44) | parse(r){let e=[""],t=[e];for(let i of r){if(i==="("){e=[""],kg(t).push(... method stringify (line 44) | stringify(r){let e="";for(let t of r){if(typeof t=="object"){e+=`(${Sg.s... method constructor (line 44) | constructor(e,t){this.Prefixes=e,this.all=t} method prefixer (line 44) | prefixer(){if(this.prefixerCache)return this.prefixerCache;let e=this.al... method parse (line 44) | parse(e){let t=e.split(":"),i=t[0],n=t[1];return n||(n=""),[i.trim(),n.t... method virtual (line 44) | virtual(e){let[t,i]=this.parse(e),n=mC("a{}").first;return n.append({pro... method prefixed (line 44) | prefixed(e){let t=this.virtual(e);if(this.disabled(t.first))return t.nod... method isNot (line 44) | isNot(e){return typeof e=="string"&&/not\s*/i.test(e)} method isOr (line 44) | isOr(e){return typeof e=="string"&&/\s*or\s*/i.test(e)} method isProp (line 44) | isProp(e){return typeof e=="object"&&e.length===1&&typeof e[0]=="string"} method isHack (line 44) | isHack(e,t){return!new RegExp(`(\\(|\\s)${bC.escapeRegexp(t)}:`).test(e)} method toRemove (line 44) | toRemove(e,t){let[i,n]=this.parse(e),s=this.all.unprefixed(i),a=this.all... method remove (line 44) | remove(e,t){let i=0;for(;itypeof t!="object"?t:t.length===1&&type... method convert (line 44) | convert(e){let t=[""];for(let i of e)t.push([`${i.prop}: ${i.value}`]),t... method normalize (line 44) | normalize(e){if(typeof e!="object")return e;if(e=e.filter(t=>t!==""),typ... method add (line 44) | add(e,t){return e.map(i=>{if(this.isProp(i)){let n=this.prefixed(i[0]);r... method process (line 44) | process(e){let t=nl.parse(e.params);t=this.normalize(t),t=this.remove(t,... method disabled (line 44) | disabled(e){if(!this.all.options.grid&&(e.prop==="display"&&e.value.incl... method constructor (line 44) | constructor(e,t){this.prefix=t,this.prefixed=e.prefixed(this.prefix),thi... method isHack (line 44) | isHack(e){let t=e.parent.index(e)+1,i=e.parent.nodes;for(;t=0;){let s=e.parent.node... method replace (line 44) | replace(e,t){return e.replace(this.regexp(),`$1${this.prefixed(t)}`)} method add (line 44) | add(e,t){let i=this.prefixeds(e);if(this.already(e,i,t))return;let n=thi... method old (line 44) | old(e){return new xC(this,e)} method add (line 44) | add(e,t){let i=t+e.name;if(e.parent.some(a=>a.name===i&&a.params===e.par... method process (line 44) | process(e){let t=this.parentPrefix(e);for(let i of this.prefixes)(!t||t=... method prefixed (line 44) | prefixed(e){return e==="-webkit-"?":-webkit-full-screen":e==="-moz-"?":-... method possible (line 44) | possible(){return super.possible().concat(["-moz- old","-ms- old"])} method prefixed (line 44) | prefixed(e){return e==="-webkit-"?"::-webkit-input-placeholder":e==="-ms... method prefixed (line 44) | prefixed(e){return e==="-ms-"?":-ms-input-placeholder":`:${e}placeholder... method constructor (line 44) | constructor(e,t,i){super(e,t,i);this.prefixes&&(this.prefixes=TC.uniq(th... method prefixed (line 44) | prefixed(e){return e==="-webkit-"?"::-webkit-file-upload-button":`::${e}... method prefixed (line 44) | prefixed(e,t){let i;return[i,t]=Qg(t),i===2009?t+"box-flex":super.prefix... method normalize (line 44) | normalize(){return"flex"} method set (line 44) | set(e,t){let i=Qg(t)[0];if(i===2009)return e.value=Yg.space(e.value)[0],... method prefixed (line 44) | prefixed(e,t){let i;return[i,t]=Kg(t),i===2009?t+"box-ordinal-group":i==... method normalize (line 44) | normalize(){return"order"} method set (line 44) | set(e,t){return Kg(t)[0]===2009&&/\d/.test(e.value)?(e.value=(parseInt(e... method check (line 44) | check(e){let t=e.value;return!t.toLowerCase().includes("alpha(")&&!t.inc... method insert (line 44) | insert(e,t,i,n){if(t!=="-ms-")return super.insert(e,t,i);let s=this.clon... method check (line 44) | check(e){return!e.value.split(/\s+/).some(t=>{let i=t.toLowerCase();retu... method insert (line 44) | insert(e,t,i){let n;if([n,t]=FC(t),n!==2009)return super.insert(e,t,i);l... method normalize (line 44) | normalize(){return"flex"} method prefixed (line 44) | prefixed(e,t){let i;return[i,t]=MC(t),i===2009?t+"box-flex":i===2012?t+"... method set (line 44) | set(e,t){if($C(t)[0]!==2009)return super.set(e,t)} method insert (line 44) | insert(e,t,i,n){if(t!=="-ms-")return super.insert(e,t,i);let s=Zt.parse(... method insert (line 44) | insert(e,t,i){if(t!=="-ms-")return super.insert(e,t,i);if(e.parent.some(... method check (line 44) | check(e){let t=e.value;return!t.includes("/")||t.includes("span")} method normalize (line 44) | normalize(e){return e.replace("-start","")} method prefixed (line 44) | prefixed(e,t){let i=super.prefixed(e,t);return t==="-ms-"&&(i=i.replace(... method check (line 44) | check(e){return e.parent&&!e.parent.some(t=>t.prop&&t.prop.startsWith("g... method prefixed (line 44) | prefixed(e,t){let i;return[i,t]=w0(t),i===2012?t+"flex-item-align":super... method normalize (line 44) | normalize(){return"align-self"} method set (line 44) | set(e,t){let i=w0(t)[0];if(i===2012)return e.value=er.oldValues[e.value]... method constructor (line 44) | constructor(e,t,i){super(e,t,i);this.prefixes&&(this.prefixes=GC.uniq(th... method normalize (line 44) | normalize(){return"flex-basis"} method prefixed (line 44) | prefixed(e,t){let i;return[i,t]=C0(t),i===2012?t+"flex-preferred-size":s... method set (line 44) | set(e,t){let i;if([i,t]=C0(t),i===2012||i==="final")return super.set(e,t)} method normalize (line 44) | normalize(){return this.name.replace("box-image","border")} method prefixed (line 44) | prefixed(e,t){let i=super.prefixed(e,t);return t==="-webkit-"&&(i=i.repl... method insert (line 44) | insert(e,t,i){let n=e.prop==="mask-composite",s;n?s=e.value.split(","):s... method prefixed (line 44) | prefixed(e,t){let i;return[i,t]=D0(t),i===2009?t+"box-align":i===2012?t+... method normalize (line 44) | normalize(){return"align-items"} method set (line 44) | set(e,t){let i=D0(t)[0];return(i===2009||i===2012)&&(e.value=tr.oldValue... method set (line 44) | set(e,t){return t==="-ms-"&&e.value==="contain"&&(e.value="element"),sup... method insert (line 44) | insert(e,t,i){if(!(e.value==="all"&&t==="-ms-"))return super.insert(e,t,i)} method normalize (line 44) | normalize(){return"flex-shrink"} method prefixed (line 44) | prefixed(e,t){let i;return[i,t]=B0(t),i===2012?t+"flex-negative":super.p... method set (line 44) | set(e,t){let i;if([i,t]=B0(t),i===2012||i==="final")return super.set(e,t)} method prefixed (line 44) | prefixed(e,t){return`${t}column-${e}`} method normalize (line 44) | normalize(e){return e.includes("inside")?"break-inside":e.includes("befo... method set (line 44) | set(e,t){return(e.prop==="break-inside"&&e.value==="avoid-column"||e.val... method insert (line 44) | insert(e,t,i){if(e.prop!=="break-inside")return super.insert(e,t,i);if(!... method prefixed (line 44) | prefixed(e,t){return t+"print-color-adjust"} method normalize (line 44) | normalize(){return"color-adjust"} method insert (line 44) | insert(e,t,i){if(t==="-ms-"){let n=this.set(this.clone(e),t);this.needCa... method set (line 44) | set(e,t){return e.value=e.value.replace(/\s+fill(\s)/,"$1"),super.set(e,t)} method prefixed (line 44) | prefixed(e,t){let i;return[i,t]=H0(t),i===2012?t+"flex-line-pack":super.... method normalize (line 44) | normalize(){return"align-content"} method set (line 44) | set(e,t){let i=H0(t)[0];if(i===2012)return e.value=ir.oldValues[e.value]... method prefixed (line 44) | prefixed(e,t){return t==="-moz-"?t+(Oe.toMozilla[e]||e):super.prefixed(e... method normalize (line 44) | normalize(e){return Oe.toNormal[e]||e} method prefixed (line 44) | prefixed(e,t){return e.includes("-start")?t+e.replace("-block-start","-b... method normalize (line 44) | normalize(e){return e.includes("-before")?e.replace("-before","-block-st... method insert (line 44) | insert(e,t,i,n){if(t!=="-ms-")return super.insert(e,t,i);if(e.parent.som... method prefixed (line 44) | prefixed(e,t){return t+e.replace("-inline","")} method normalize (line 44) | normalize(e){return e.replace(/(margin|padding|border)-(start|end)/,"$1-... method check (line 44) | check(e){return!e.value.includes("flex-")&&e.value!=="baseline"} method prefixed (line 44) | prefixed(e,t){return t+"grid-row-align"} method normalize (line 44) | normalize(){return"align-self"} method keyframeParents (line 44) | keyframeParents(e){let{parent:t}=e;for(;t;){if(t.type==="atrule"&&t.name... method contain3d (line 44) | contain3d(e){if(e.prop==="transform-origin")return!1;for(let t of nr.fun... method set (line 44) | set(e,t){return e=super.set(e,t),t==="-ms-"&&(e.value=e.value.replace(/r... method insert (line 44) | insert(e,t,i){if(t==="-ms-"){if(!this.contain3d(e)&&!this.keyframeParent... method normalize (line 44) | normalize(){return"flex-direction"} method insert (line 44) | insert(e,t,i){let n;if([n,t]=ly(t),n!==2009)return super.insert(e,t,i);i... method old (line 44) | old(e,t){let i;return[i,t]=ly(t),i===2009?[t+"box-orient",t+"box-directi... method check (line 44) | check(e){return e.value==="pixelated"} method prefixed (line 44) | prefixed(e,t){return t==="-ms-"?"-ms-interpolation-mode":super.prefixed(... method set (line 44) | set(e,t){return t!=="-ms-"?super.set(e,t):(e.prop="-ms-interpolation-mod... method normalize (line 44) | normalize(){return"image-rendering"} method process (line 44) | process(e,t){return super.process(e,t)} method constructor (line 44) | constructor(e,t,i){super(e,t,i);this.prefixes&&(this.prefixes=bA.uniq(th... method constructor (line 44) | constructor(e,t,i){super(e,t,i);this.prefixes&&(this.prefixes=xA.uniq(th... method check (line 44) | check(e){return e.value.toLowerCase()==="text"} method check (line 44) | check(e){return e.value.split(/\s+/).some(t=>!kA.includes(t))} method prefixed (line 44) | prefixed(e,t){let i;return[i,t]=wy(t),i===2009?t+"box-pack":i===2012?t+"... method normalize (line 44) | normalize(){return"justify-content"} method set (line 44) | set(e,t){let i=wy(t)[0];if(i===2009||i===2012){let n=sr.oldValues[e.valu... method set (line 44) | set(e,t){let i=e.value.toLowerCase();return t==="-webkit-"&&!i.includes(... method insert (line 44) | insert(e,t,i){if(t!=="-ms-")return super.insert(e,t,i);let n=Ml.parse(e)... method prefixed (line 44) | prefixed(e,t){return t==="-ms-"?Oy({prop:e,prefix:t}):super.prefixed(e,t)} method normalize (line 44) | normalize(e){return e.replace(/^grid-(rows|columns)/,"grid-template-$1")} method insert (line 44) | insert(e,t,i,n){if(t!=="-ms-")return super.insert(e,t,i);let{parent:s,pr... method check (line 44) | check(e){return!e.value.includes("flex-")&&e.value!=="baseline"} method prefixed (line 44) | prefixed(e,t){return t+"grid-column-align"} method normalize (line 44) | normalize(){return"justify-self"} method prefixed (line 44) | prefixed(e,t){return t+"scroll-chaining"} method normalize (line 44) | normalize(){return"overscroll-behavior"} method set (line 44) | set(e,t){return e.value==="auto"?e.value="chained":(e.value==="none"||e.... function zA (line 44) | function zA(r){return r.trim().slice(1,-1).split(/["']\s*["']?/g)} method insert (line 44) | insert(e,t,i,n){if(t!=="-ms-")return super.insert(e,t,i);let s=!1,a=!1,o... method set (line 44) | set(e,t){return t==="-webkit-"&&(e.value=e.value.replace(/\s*(right|left... method set (line 44) | set(e,t){return e.prop==="text-decoration-skip-ink"&&e.value==="auto"?(e... function Ny (line 44) | function Ny(r,e,t){var i=e-r;return((t-r)%i+i)%i+r} function zy (line 44) | function zy(r,e,t){return Math.max(r,Math.min(e,t))} function jy (line 44) | function jy(r,e,t,i,n){if(!Wl(r,e,t,i,n))throw new Error(t+" is outside ... function Wl (line 44) | function Wl(r,e,t,i,n){return!(te||n&&t===e||i&&t===r)} function Uy (line 44) | function Uy(r,e,t,i){return(t?"(":"[")+r+","+e+(i?")":"]")} function VA (line 44) | function VA(r,e,t,i){var n=Uy.bind(null,r,e,t,i);return{wrap:Ny.bind(nul... method replace (line 44) | replace(e,t){let i=Gl(e);for(let n of i.nodes)if(n.type==="function"&&n.... method replaceFirst (line 44) | replaceFirst(e,...t){return t.map(n=>n===" "?{type:"space",value:n}:{typ... method normalizeUnit (line 44) | normalizeUnit(e,t){return`${parseFloat(e)/t*360}deg`} method normalize (line 44) | normalize(e){if(!e[0])return e;if(/-?\d+(.\d+)?grad/.test(e[0].value))e[... method newDirection (line 44) | newDirection(e){if(e[0].value==="to"||(Gy.lastIndex=0,!Gy.test(e[0].valu... method isRadial (line 44) | isRadial(e){let t="before";for(let i of e)if(t==="before"&&i.type==="spa... method convertDirection (line 44) | convertDirection(e){return e.length>0&&(e[0].value==="to"?this.fixDirect... method fixDirection (line 44) | fixDirection(e){e.splice(0,2);for(let t of e){if(t.type==="div")break;t.... method fixAngle (line 44) | fixAngle(e){let t=e[0].value;t=parseFloat(t),t=Math.abs(450-t)%360,t=thi... method fixRadial (line 44) | fixRadial(e){let t=[],i=[],n,s,a,o,u;for(o=0;o{if(i.slice(0,+this.name.length+1... method constructor (line 44) | constructor(e,t){super(e,t);e==="display-flex"&&(this.name="flex")} method check (line 44) | check(e){return e.prop==="display"&&e.value===this.name} method prefixed (line 44) | prefixed(e){let t,i;return[t,e]=t4(e),t===2009?this.name==="flex"?i="box... method replace (line 44) | replace(e,t){return this.prefixed(t)} method old (line 44) | old(e){let t=this.prefixed(e);if(!!t)return new r4(this.name,t)} method constructor (line 44) | constructor(e,t){super(e,t);e==="display-grid"&&(this.name="grid")} method check (line 44) | check(e){return e.prop==="display"&&e.value===this.name} method constructor (line 44) | constructor(e,t){super(e,t);e==="filter-function"&&(this.name="filter")} method constructor (line 44) | constructor(e,t,i={}){this.data=e,this.browsers=t,this.options=i,[this.a... method cleaner (line 44) | cleaner(){if(this.cleanerCache)return this.cleanerCache;if(this.browsers... method select (line 44) | select(e){let t={add:{},remove:{}};for(let i in e){let n=e[i],s=n.browse... method sort (line 44) | sort(e){return e.sort((t,i)=>{let n=or.removeNote(t).length,s=or.removeN... method preprocess (line 44) | preprocess(e){let t={selectors:[],"@supports":new l4(ui,this)};for(let n... method decl (line 44) | decl(e){return tu.has(e)||tu.set(e,R.load(e)),tu.get(e)} method unprefixed (line 44) | unprefixed(e){let t=this.normalize(cb.unprefixed(e));return t==="flex-di... method normalize (line 44) | normalize(e){return this.decl(e).normalize(e)} method prefixed (line 44) | prefixed(e,t){return e=cb.unprefixed(e),this.decl(e).prefixed(e,t)} method values (line 44) | values(e,t){let i=this[e],n=i["*"]&&i["*"].values,s=i[t]&&i[t].values;re... method group (line 44) | group(e){let t=e.parent,i=t.index(e),{length:n}=t.nodes,s=this.unprefixe... function b6 (line 57) | function b6(r){return Object.prototype.toString.apply(r)==="[object Obje... function w6 (line 57) | function w6(r,e){e.browsers.selected.length!==0&&(e.add.selectors.length... function lr (line 64) | function lr(...r){let e;if(r.length===1&&b6(r[0])?(e=r[0],r=void 0):r.le... function dt (line 64) | function dt(r){return Array.isArray(r)?r.map(e=>dt(e)):typeof r=="object... function nu (line 64) | function nu(r,e,t){typeof p!="undefined"&&p.env.JEST_WORKER_ID||t&&Ib.ha... function su (line 64) | function su(r){return ee.dim(r)} method info (line 64) | info(r,e){nu(ee.bold(ee.cyan("info")),...Array.isArray(r)?[r]:[e,r])} method warn (line 64) | warn(r,e){["content-problems"].includes(r)||nu(ee.bold(ee.yellow("warn")... method risk (line 64) | risk(r,e){nu(ee.bold(ee.magenta("risk")),...Array.isArray(r)?[r]:[e,r])} function fi (line 64) | function fi({version:r,from:e,to:t}){ht.warn(`${e}-color-renamed`,[`As o... method lightBlue (line 64) | get lightBlue(){return fi({version:"v2.2",from:"lightBlue",to:"sky"}),th... method warmGray (line 64) | get warmGray(){return fi({version:"v3.0",from:"warmGray",to:"stone"}),th... method trueGray (line 64) | get trueGray(){return fi({version:"v3.0",from:"trueGray",to:"neutral"}),... method coolGray (line 64) | get coolGray(){return fi({version:"v3.0",from:"coolGray",to:"gray"}),thi... method blueGray (line 64) | get blueGray(){return fi({version:"v3.0",from:"blueGray",to:"slate"}),th... function ur (line 64) | function ur(r){if(r=`${r}`,r==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[... function Bb (line 64) | function Bb(r,e){return r===void 0?e:Array.isArray(r)?r:[...new Set(e.fi... function uu (line 64) | function uu(r,...e){for(let t of e){for(let i in t)r?.hasOwnProperty?.(i... function fu (line 64) | function fu(r){if(Array.isArray(r))return r;let e=r.split("[").length-1,... function ci (line 64) | function ci(r,e){return zb.future.includes(e)?r.future==="all"||(r?.futu... method disableColorOpacityUtilitiesByDefault (line 64) | get disableColorOpacityUtilitiesByDefault(){return!1} method relativeContentPathsByDefault (line 64) | get relativeContentPathsByDefault(){return!1} function jb (line 64) | function jb(r){(()=>{if(r.purge||!r.content||!Array.isArray(r.content)&&... function mt (line 64) | function mt(r){if(Object.prototype.toString.call(r)!=="[object Object]")... function ns (line 64) | function ns(r,{loose:e=!1}={}){if(typeof r!="string")return null;if(r=r.... function Yb (line 64) | function Yb({mode:r,color:e,alpha:t}){let i=t!==void 0;return r==="rgba"... function pi (line 64) | function pi(r,e,t){if(typeof r=="function")return r({opacityValue:e});le... function je (line 64) | function je(r,e){let t=[],i=[],n=0,s=!1;for(let a=0;a{let i=t.trim(),n={raw:i},s=i.spl... function hu (line 64) | function hu(r){return T6.some(e=>new RegExp(`^${e}\\(.*\\)`).test(r))} function Ue (line 64) | function Ue(r,e=null,t=!0){let i=e&&P6.has(e.property);return r.startsWi... function D6 (line 64) | function D6(r){let e=["theme"],t=["min-content","max-content","fit-conte... function mu (line 64) | function mu(r){return r.startsWith("url(")} function gu (line 64) | function gu(r){return!isNaN(Number(r))||hu(r)} function di (line 64) | function di(r){return r.endsWith("%")&&gu(r.slice(0,-1))||hu(r)} function hi (line 64) | function hi(r){return r==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+... function Kb (line 64) | function Kb(r){return R6.has(r)} function Zb (line 64) | function Zb(r){let e=Xb(Ue(r));for(let t of e)if(!t.valid)return!1;retur... function e1 (line 64) | function e1(r){let e=0;return je(r,"_").every(i=>(i=Ue(i),i.startsWith("... function t1 (line 64) | function t1(r){let e=0;return je(r,",").every(i=>(i=Ue(i),i.startsWith("... function B6 (line 64) | function B6(r){r=Ue(r);for(let e of F6)if(r.startsWith(`${e}(`))return!0... function r1 (line 64) | function r1(r){let e=0;return je(r,"_").every(i=>(i=Ue(i),i.startsWith("... function i1 (line 64) | function i1(r){let e=0;return je(r,",").every(i=>(i=Ue(i),i.startsWith("... function n1 (line 64) | function n1(r){return L6.has(r)} function s1 (line 64) | function s1(r){return $6.has(r)} function a1 (line 64) | function a1(r){return N6.has(r)} function o1 (line 64) | function o1(r){let e=["cover","contain"];return je(r,",").every(t=>{let ... function u1 (line 64) | function u1(r,e){if(!mi(r))return;let t=r.slice(1,-1);if(!!e(t))return U... function z6 (line 64) | function z6(r,e={},t){let i=e[r];if(i!==void 0)return ur(i);if(mi(r)){le... function bu (line 64) | function bu(r,e={},{validate:t=()=>!0}={}){let i=e.values?.[r];return i!... function mi (line 64) | function mi(r){return r.startsWith("[")&&r.endsWith("]")} function j6 (line 64) | function j6(r){let e=r.lastIndexOf("/");return e===-1||e===r.length-1?[r... function as (line 64) | function as(r){if(typeof r=="string"&&r.includes("")){let e... function U6 (line 64) | function U6(r){return Ue(r.slice(1,-1))} function V6 (line 64) | function V6(r,e={},{tailwindConfig:t={}}={}){if(e.values?.[r]!==void 0)r... function W6 (line 64) | function W6(r,e={}){return e.values?.[r]} function be (line 64) | function be(r){return(e,t)=>bu(e,t,{validate:r})} function wu (line 64) | function wu(r){return typeof r=="function"?r({}):r} function fr (line 64) | function fr(r){return typeof r=="function"} function gi (line 64) | function gi(r,...e){let t=e.pop();for(let i of e)for(let n in i){let s=t... function H6 (line 64) | function H6(r,...e){return fr(r)?r(...e):r} function Y6 (line 64) | function Y6(r){return r.reduce((e,{extend:t})=>gi(e,t,(i,n)=>i===void 0?... function Q6 (line 64) | function Q6(r){return{...r.reduce((e,t)=>uu(e,t),{}),extend:Y6(r)}} function p1 (line 64) | function p1(r,e){if(Array.isArray(r)&&mt(r[0]))return r.concat(e);if(Arr... function X6 (line 64) | function X6({extend:r,...e}){return gi(e,r,(t,i)=>!fr(t)&&!i.some(fr)?gi... function K6 (line 64) | function K6(r){let e=(t,i)=>{for(let n of J6(t)){let s=0,a=r;for(;a!=nul... function d1 (line 64) | function d1(r){let e=[];return r.forEach(t=>{e=[...e,t];let i=t?.plugins... function Z6 (line 64) | function Z6(r){return[...r].reduceRight((t,i)=>fr(i)?i({corePlugins:t}):... function eO (line 64) | function eO(r){return[...r].reduceRight((t,i)=>[...t,...i],[])} function vu (line 64) | function vu(r){let e=[...d1(r),{prefix:"",important:!1,separator:":"}];r... method negative (line 64) | negative(r){return Object.keys(r).filter(e=>r[e]!=="0").reduce((e,t)=>{l... method breakpoints (line 64) | breakpoints(r){return Object.keys(r).filter(e=>typeof r[e]=="string").re... function os (line 64) | function os(r){let e=(r?.presets??[m1.default]).slice().reverse().flatMa... function y1 (line 64) | function y1(...r){let[,...e]=os(r[0]);return vu([...r,...e])} function Ke (line 64) | function Ke(r){return r&&r.__esModule?r:{default:r}} method get (line 64) | get(e,t){return(!r||t==="config")&&typeof e[t]=="object"&&e[t]!==null?ne... method set (line 64) | set(e,t,i){return e[t]=i,(!r||t==="config")&&Au(!0),!0} function A1 (line 64) | function A1(r){Cu.observe(r,{attributes:!0,attributeFilter:["type"],char... function Au (line 64) | async function Au(r=!1){r&&(k1++,Su.clear());let e="";for(let i of docum... FILE: core/http/static/assets/tw-elements.js method set (line 17) | set(e,s,n){typeof e[s]>"u"&&(e[s]={key:s,id:t},t++),i[e[s].id]=n} method get (line 17) | get(e,s){if(!e||typeof e[s]>"u")return null;const n=e[s];return n.key===... method delete (line 17) | delete(e,s){if(typeof e[s]>"u")return;const n=e[s];n.key===s&&(delete i[... method setData (line 17) | setData(i,t,e){P.set(i,t,e)} method getData (line 17) | getData(i,t){return P.get(i,t)} method removeData (line 17) | removeData(i,t){P.delete(i,t)} function Bi (line 17) | function Bi(i,t){return t&&`${t}::${Vi++}`||i.uidEvent||Vi++} function ji (line 17) | function ji(i){const t=Bi(i);return i.uidEvent=t,Pe[t]=Pe[t]||{},Pe[t]} function Gn (line 17) | function Gn(i,t){return function e(s){return s.delegateTarget=i,e.oneOff... function Qn (line 17) | function Qn(i,t,e){return function s(n){const r=i.querySelectorAll(t);fo... function Ui (line 17) | function Ui(i,t,e=null){const s=Object.keys(i);for(let n=0,r=s.length;n<... function Yi (line 17) | function Yi(i,t,e){const s=typeof t=="string",n=s?e:t;let r=Fi(i);return... function Ki (line 17) | function Ki(i,t,e,s,n){if(typeof t!="string"||!i)return;if(e||(e=s,s=nul... function Me (line 17) | function Me(i,t,e,s,n){const r=Ui(t[e],s,n);r&&(i.removeEventListener(e,... function Zn (line 17) | function Zn(i,t,e,s){const n=t[e]||{};Object.keys(n).forEach(r=>{if(r.in... function Fi (line 17) | function Fi(i){return i=i.replace(Fn,""),qn[i]||i} method on (line 17) | on(i,t,e,s){Ki(i,t,e,s,!1)} method one (line 17) | one(i,t,e,s){Ki(i,t,e,s,!0)} method off (line 17) | off(i,t,e,s){if(typeof t!="string"||!i)return;const[n,r,o]=Yi(t,e,s),a=o... method trigger (line 17) | trigger(i,t,e){if(typeof t!="string"||!i)return null;const s=xi(),n=Fi(t... class et (line 17) | class et{constructor(t){t=nt(t),t&&(this._element=t,R.setData(this._elem... method constructor (line 17) | constructor(t){t=nt(t),t&&(this._element=t,R.setData(this._element,thi... method dispose (line 17) | dispose(){R.removeData(this._element,this.constructor.DATA_KEY),d.off(... method _queueCallback (line 17) | _queueCallback(t,e,s=!0){Mi(t,e,s)} method getInstance (line 17) | static getInstance(t){return R.getData(nt(t),this.DATA_KEY)} method getOrCreateInstance (line 17) | static getOrCreateInstance(t,e={}){return this.getInstance(t)||new thi... method VERSION (line 17) | static get VERSION(){return Jn} method NAME (line 17) | static get NAME(){throw new Error('You have to implement the static me... method DATA_KEY (line 17) | static get DATA_KEY(){return`twe.${this.NAME}`} method EVENT_KEY (line 17) | static get EVENT_KEY(){return`.${this.DATA_KEY}`} class ne (line 17) | class ne extends et{static get NAME(){return tr}toggle(){this._element.s... method NAME (line 17) | static get NAME(){return tr} method toggle (line 17) | toggle(){this._element.setAttribute("aria-pressed",this._element.class... method jQueryInterface (line 17) | static jQueryInterface(t){return this.each(function(){const e=ne.getOr... function Q (line 17) | function Q(i){return i?(i.nodeName||"").toLowerCase():null} function U (line 17) | function U(i){if(i==null)return window;if(i.toString()!=="[object Window... function ht (line 17) | function ht(i){var t=U(i).Element;return i instanceof t||i instanceof El... function F (line 17) | function F(i){var t=U(i).HTMLElement;return i instanceof t||i instanceof... function Be (line 17) | function Be(i){if(typeof ShadowRoot>"u")return!1;var t=U(i).ShadowRoot;r... function ir (line 17) | function ir(i){var t=i.state;Object.keys(t.elements).forEach(function(e)... function sr (line 17) | function sr(i){var t=i.state,e={popper:{position:t.options.strategy,left... function Z (line 17) | function Z(i){return i.split("-")[0]} function Ue (line 17) | function Ue(){var i=navigator.userAgentData;return i!=null&&i.brands&&Ar... function rs (line 17) | function rs(){return!/^((?!chrome|android).)*safari/i.test(Ue())} function Lt (line 17) | function Lt(i,t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var s=i.getBoun... function Ye (line 17) | function Ye(i){var t=Lt(i),e=i.offsetWidth,s=i.offsetHeight;return Math.... function os (line 17) | function os(i,t){var e=t.getRootNode&&t.getRootNode();if(i.contains(t))r... function it (line 17) | function it(i){return U(i).getComputedStyle(i)} function nr (line 17) | function nr(i){return["table","td","th"].indexOf(Q(i))>=0} function rt (line 17) | function rt(i){return((ht(i)?i.ownerDocument:i.document)||window.documen... function ae (line 17) | function ae(i){return Q(i)==="html"?i:i.assignedSlot||i.parentNode||(Be(... function as (line 17) | function as(i){return!F(i)||it(i).position==="fixed"?null:i.offsetParent} function rr (line 17) | function rr(i){var t=/firefox/i.test(Ue()),e=/Trident/i.test(Ue());if(e&... function Kt (line 17) | function Kt(i){for(var t=U(i),e=as(i);e&&nr(e)&&it(e).position==="static... function Ke (line 17) | function Ke(i){return["top","bottom"].indexOf(i)>=0?"x":"y"} function Ft (line 17) | function Ft(i,t,e){return ft(i,oe(t,e))} function or (line 17) | function or(i,t,e){var s=Ft(i,t,e);return s>e?e:s} function ls (line 17) | function ls(){return{top:0,right:0,bottom:0,left:0}} function cs (line 17) | function cs(i){return Object.assign({},ls(),i)} function ds (line 17) | function ds(i,t){return t.reduce(function(e,s){return e[s]=i,e},{})} function lr (line 17) | function lr(i){var t,e=i.state,s=i.name,n=i.options,r=e.elements.arrow,o... function cr (line 17) | function cr(i){var t=i.state,e=i.options,s=e.element,n=s===void 0?"[data... function $t (line 17) | function $t(i){return i.split("-")[1]} function ur (line 17) | function ur(i,t){var e=i.x,s=i.y,n=t.devicePixelRatio||1;return{x:St(e*n... function hs (line 17) | function hs(i){var t,e=i.popper,s=i.popperRect,n=i.placement,r=i.variati... function hr (line 17) | function hr(i){var t=i.state,e=i.options,s=e.gpuAcceleration,n=s===void ... function fr (line 17) | function fr(i){var t=i.state,e=i.instance,s=i.options,n=s.scroll,r=n===v... function ce (line 17) | function ce(i){return i.replace(/left|right|bottom|top/g,function(t){ret... function fs (line 17) | function fs(i){return i.replace(/start|end/g,function(t){return _r[t]})} function qe (line 17) | function qe(i){var t=U(i),e=t.pageXOffset,s=t.pageYOffset;return{scrollL... function Xe (line 17) | function Xe(i){return Lt(rt(i)).left+qe(i).scrollLeft} function gr (line 17) | function gr(i,t){var e=U(i),s=rt(i),n=e.visualViewport,r=s.clientWidth,o... function mr (line 17) | function mr(i){var t,e=rt(i),s=qe(i),n=(t=i.ownerDocument)==null?void 0:... function Ge (line 17) | function Ge(i){var t=it(i),e=t.overflow,s=t.overflowX,n=t.overflowY;retu... function ps (line 17) | function ps(i){return["html","body","#document"].indexOf(Q(i))>=0?i.owne... function zt (line 17) | function zt(i,t){var e;t===void 0&&(t=[]);var s=ps(i),n=s===((e=i.ownerD... function Qe (line 17) | function Qe(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.w... function Er (line 17) | function Er(i,t){var e=Lt(i,!1,t==="fixed");return e.top=e.top+i.clientT... function _s (line 17) | function _s(i,t,e){return t===He?Qe(gr(i,e)):ht(t)?Er(t,e):Qe(mr(rt(i)))} function vr (line 17) | function vr(i){var t=zt(ae(i)),e=["absolute","fixed"].indexOf(it(i).posi... function br (line 17) | function br(i,t,e,s){var n=t==="clippingParents"?vr(i):[].concat(t),r=[]... function gs (line 17) | function gs(i){var t=i.reference,e=i.element,s=i.placement,n=s?Z(s):null... function It (line 17) | function It(i,t){t===void 0&&(t={});var e=t,s=e.placement,n=s===void 0?i... function wr (line 17) | function wr(i,t){t===void 0&&(t={});var e=t,s=e.placement,n=e.boundary,r... function Tr (line 17) | function Tr(i){if(Z(i)===re)return[];var t=ce(i);return[fs(i),t,fs(t)]} function Ar (line 17) | function Ar(i){var t=i.state,e=i.options,s=i.name;if(!t.modifiersData[s]... function Es (line 17) | function Es(i,t,e){return e===void 0&&(e={x:0,y:0}),{top:i.top-t.height-... function vs (line 17) | function vs(i){return[M,j,B,H].some(function(t){return i[t]>=0})} function yr (line 17) | function yr(i){var t=i.state,e=i.name,s=t.rects.reference,n=t.rects.popp... function Cr (line 17) | function Cr(i,t,e){var s=Z(i),n=[H,M].indexOf(s)>=0?-1:1,r=typeof e=="fu... function Or (line 17) | function Or(i){var t=i.state,e=i.options,s=i.name,n=e.offset,r=n===void ... function Dr (line 17) | function Dr(i){var t=i.state,e=i.name;t.modifiersData[e]=gs({reference:t... function Nr (line 17) | function Nr(i){return i==="x"?"y":"x"} function Sr (line 17) | function Sr(i){var t=i.state,e=i.options,s=i.name,n=e.mainAxis,r=n===voi... function Lr (line 17) | function Lr(i){return{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}} function $r (line 17) | function $r(i){return i===U(i)||!F(i)?qe(i):Lr(i)} function Ir (line 17) | function Ir(i){var t=i.getBoundingClientRect(),e=St(t.width)/i.offsetWid... function Rr (line 17) | function Rr(i,t,e){e===void 0&&(e=!1);var s=F(t),n=F(t)&&Ir(t),r=rt(t),o... function kr (line 17) | function kr(i){var t=new Map,e=new Set,s=[];i.forEach(function(r){t.set(... function xr (line 17) | function xr(i){var t=kr(i);return ns.reduce(function(e,s){return e.conca... function Pr (line 17) | function Pr(i){var t;return function(){return t||(t=new Promise(function... function Mr (line 17) | function Mr(i){var t=i.reduce(function(e,s){var n=e[s.name];return e[s.n... function ys (line 17) | function ys(){for(var i=arguments.length,t=new Array(i),e=0;e`-${t.toLowerCase()}`)} method setDataAttribute (line 17) | setDataAttribute(i,t,e){i.setAttribute(`data-twe-${ei(t)}`,e)} method removeDataAttribute (line 17) | removeDataAttribute(i,t){i.removeAttribute(`data-twe-${ei(t)}`)} method getDataAttributes (line 17) | getDataAttributes(i){if(!i)return{};const t={};return Object.keys(i.data... method getDataClassAttributes (line 17) | getDataClassAttributes(i){if(!i)return{};const t={...i.dataset};return O... method getDataAttribute (line 17) | getDataAttribute(i,t){return ti(i.getAttribute(`data-twe-${ei(t)}`))} method offset (line 17) | offset(i){const t=i.getBoundingClientRect();return{top:t.top+document.bo... method position (line 17) | position(i){return{top:i.offsetTop,left:i.offsetLeft}} method style (line 17) | style(i,t){Object.assign(i.style,t)} method toggleClass (line 17) | toggleClass(i,t){i&&ii(t).forEach(e=>{i.classList.contains(e)?i.classLis... method addClass (line 17) | addClass(i,t){ii(t).forEach(e=>!i.classList.contains(e)&&i.classList.add... method addStyle (line 17) | addStyle(i,t){Object.keys(t).forEach(e=>{i.style[e]=t[e]})} method removeClass (line 17) | removeClass(i,t){ii(t).forEach(e=>i.classList.contains(e)&&i.classList.r... method hasClass (line 17) | hasClass(i,t){return i.classList.contains(t)} method maxOffset (line 17) | maxOffset(i){const t=i.getBoundingClientRect();return{top:t.top+Math.max... function ii (line 17) | function ii(i){return typeof i=="string"?i.split(" "):Array.isArray(i)?i... method closest (line 17) | closest(i,t){return i.closest(t)} method matches (line 17) | matches(i,t){return i.matches(t)} method find (line 17) | find(i,t=document.documentElement){return[].concat(...Element.prototype.... method findOne (line 17) | findOne(i,t=document.documentElement){return Element.prototype.querySele... method children (line 17) | children(i,t){return[].concat(...i.children).filter(s=>s.matches(t))} method parents (line 17) | parents(i,t){const e=[];let s=i.parentNode;for(;s&&s.nodeType===Node.ELE... method prev (line 17) | prev(i,t){let e=i.previousElementSibling;for(;e;){if(e.matches(t))return... method next (line 17) | next(i,t){let e=i.nextElementSibling;for(;e;){if(this.matches(e,t))retur... method focusableChildren (line 17) | focusableChildren(i){const t=["a","button","input","textarea","select","... class z (line 17) | class z extends et{constructor(t,e){super(t),this._popper=null,this._con... method constructor (line 17) | constructor(t,e){super(t),this._popper=null,this._config=this._getConf... method Default (line 17) | static get Default(){return ho} method DefaultType (line 17) | static get DefaultType(){return fo} method NAME (line 17) | static get NAME(){return si} method toggle (line 17) | toggle(){return this._isShown()?this.hide():this.show()} method show (line 17) | show(){if(ct(this._element)||this._isShown(this._menu))return;const t=... method hide (line 17) | hide(){if(ct(this._element)||!this._isShown(this._menu))return;const t... method dispose (line 17) | dispose(){this._popper&&this._popper.destroy(),super.dispose()} method update (line 17) | update(){this._inNavbar=this._detectNavbar(),this._popper&&this._poppe... method _init (line 17) | _init(){this._didInit||(d.on(document,Ns,fe,z.dataApiKeydownHandler),d... method _completeHide (line 17) | _completeHide(t){this._fadeOutAnimate&&this._fadeOutAnimate.playState=... method _getConfig (line 17) | _getConfig(t){if(t={...this.constructor.Default,...E.getDataAttributes... method _createPopper (line 17) | _createPopper(t){if(typeof Cs>"u")throw new TypeError("Bootstrap's dro... method _isShown (line 17) | _isShown(t=this._element){return t.dataset[`tweDropdown${ot.charAt(0).... method _getMenuElement (line 17) | _getMenuElement(){return h.next(this._element,oi)[0]} method _getPlacement (line 17) | _getPlacement(){const t=this._element.parentNode;if(t.dataset.tweDropd... method _detectNavbar (line 17) | _detectNavbar(){return this._element.closest(to)!==null} method _getOffset (line 17) | _getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.... method _getPopperConfig (line 17) | _getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[... method _selectMenuItem (line 17) | _selectMenuItem({key:t,target:e}){const s=h.find(io,this._menu).filter... method jQueryInterface (line 17) | static jQueryInterface(t){return this.each(function(){const e=z.getOrC... method clearMenus (line 17) | static clearMenus(t){if(t&&(t.button===Ur||t.type==="keyup"&&t.key!==D... method getParentFromElement (line 17) | static getParentFromElement(t){return st(t)||t.parentNode} method dataApiKeydownHandler (line 17) | static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tag... class kt (line 17) | class kt extends et{constructor(t,e,s){super(t),this._isTransitioning=!1... method constructor (line 17) | constructor(t,e,s){super(t),this._isTransitioning=!1,this._config=this... method Default (line 17) | static get Default(){return $s} method NAME (line 17) | static get NAME(){return ai} method toggle (line 17) | toggle(){this._isShown()?this.hide():this.show()} method show (line 17) | show(){if(this._isTransitioning||this._isShown())return;let t=[],e;if(... method hide (line 17) | hide(){if(this._isTransitioning||!this._isShown()||d.trigger(this._ele... method _isShown (line 17) | _isShown(t=this._element){return t.hasAttribute(li)} method _getConfig (line 17) | _getConfig(t){return t={...$s,...E.getDataAttributes(this._element),..... method _getClasses (line 17) | _getClasses(t){const e=E.getDataClassAttributes(this._element);return ... method _getDimension (line 17) | _getDimension(){return this._element.hasAttribute(vo)?bo:wo} method _initializeChildren (line 17) | _initializeChildren(){if(!this._config.parent)return;const t=h.find(Rs... method _addAriaAndCollapsedClass (line 17) | _addAriaAndCollapsedClass(t,e){t.length&&t.forEach(s=>{e?s.removeAttri... method jQueryInterface (line 17) | static jQueryInterface(t){return this.each(function(){const e={};typeo... class ci (line 17) | class ci{constructor(){this._element=document.body}getWidth(){const t=do... method constructor (line 17) | constructor(){this._element=document.body} method getWidth (line 17) | getWidth(){const t=document.documentElement.clientWidth;return Math.ab... method hide (line 17) | hide(){const t=this.getWidth();this._disableOverFlow(),this._setElemen... method _disableOverFlow (line 17) | _disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"... method _setElementAttributes (line 17) | _setElementAttributes(t,e,s){const n=this.getWidth(),r=o=>{if(o!==this... method reset (line 17) | reset(){this._resetElementAttributes(this._element,"overflow"),this._r... method _saveInitialAttribute (line 17) | _saveInitialAttribute(t,e){const s=t.style[e];s&&E.setDataAttribute(t,... method _resetElementAttributes (line 17) | _resetElementAttributes(t,e){const s=n=>{const r=E.getDataAttribute(n,... method _applyManipulationCallback (line 17) | _applyManipulationCallback(t,e){yt(t)?e(t):h.find(t,this._element).for... method isOverflowing (line 17) | isOverflowing(){return this.getWidth()>0} class Vs (line 17) | class Vs{constructor(t){this._config=this._getConfig(t),this._isAppended... method constructor (line 17) | constructor(t){this._config=this._getConfig(t),this._isAppended=!1,thi... method show (line 17) | show(t){if(!this._config.isVisible){dt(t);return}this._append(),this._... method hide (line 17) | hide(t){if(!this._config.isVisible){dt(t);return}this._element.removeA... method update (line 17) | update(t={}){this._config=this._getConfig({...this._config,...t})} method _getElement (line 17) | _getElement(){if(!this._element){const t=document.createElement("div")... method _getConfig (line 17) | _getConfig(t){return t={...Co,...typeof t=="object"?t:{}},t.rootElemen... method _append (line 17) | _append(){this._isAppended||(this._config.rootElement.append(this._get... method dispose (line 17) | dispose(){this._isAppended&&(d.off(this._element,Hs),this._element.rem... method _emulateAnimation (line 17) | _emulateAnimation(t){Mi(t,this._getElement(),this._config.isAnimated)} class Ws (line 17) | class Ws{constructor(t,e={},s){this._element=t,this._toggler=s,this._eve... method constructor (line 17) | constructor(t,e={},s){this._element=t,this._toggler=s,this._event=e.ev... method trap (line 17) | trap(){this._setElements(),this._init(),this._setFocusTrap()} method disable (line 17) | disable(){this._focusableElements.forEach(t=>{t.removeEventListener(th... method update (line 17) | update(){this._setElements(),this._setFocusTrap()} method _init (line 17) | _init(){const t=e=>{!this._firstElement||e.key!=="Tab"||this._focusabl... method _filterVisible (line 17) | _filterVisible(t){return t.filter(e=>{if(!Ct(e))return!1;const s=h.par... method _setElements (line 17) | _setElements(){const t=h.find(this._selector,this._element);this._focu... method _setFocusTrap (line 17) | _setFocusTrap(){this._focusableElements.forEach((t,e)=>{e===this._focu... class Pt (line 17) | class Pt extends et{constructor(t,e){super(t),this._config=this._getConf... method constructor (line 17) | constructor(t,e){super(t),this._config=this._getConfig(e),this._isShow... method NAME (line 17) | static get NAME(){return Us} method Default (line 17) | static get Default(){return Ys} method toggle (line 17) | toggle(t){return this._isShown?this.hide():this.show(t)} method show (line 17) | show(t){if(this._isShown||d.trigger(this._element,Io,{relatedTarget:t}... method hide (line 17) | hide(){if(!this._isShown||d.trigger(this._element,ko).defaultPrevented... method dispose (line 17) | dispose(){this._backdrop.dispose(),this._focustrap.disable(),super.dis... method _init (line 17) | _init(){this._didInit||(d.on(window,No,()=>h.find($o).forEach(t=>Pt.ge... method _getConfig (line 17) | _getConfig(t){return t={...Ys,...E.getDataAttributes(this._element),..... method _initializeBackDrop (line 17) | _initializeBackDrop(){return new Vs({isVisible:this._config.backdrop,i... method _initializeFocusTrap (line 17) | _initializeFocusTrap(){return new Ws(this._element,{event:"keydown",co... method _addEventListeners (line 17) | _addEventListeners(){d.on(this._element,Po,t=>{this._config.keyboard&&... method jQueryInterface (line 17) | static jQueryInterface(t){return this.each(function(){const e=Pt.getOr... class q (line 17) | class q extends et{constructor(t,e,s){super(t),this._items=null,this._in... method constructor (line 17) | constructor(t,e,s){super(t),this._items=null,this._interval=null,this.... method Default (line 17) | static get Default(){return zs} method NAME (line 17) | static get NAME(){return di} method next (line 17) | next(){this._slide(_t)} method nextWhenVisible (line 17) | nextWhenVisible(){!document.hidden&&Ct(this._element)&&this.next()} method prev (line 17) | prev(){this._slide(gt)} method pause (line 17) | pause(t){t||(this._isPaused=!0),h.findOne(aa,this._element)&&(Ri(this.... method cycle (line 17) | cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._i... method to (line 17) | to(t){this._activeElement=h.findOne(Mt,this._element);const e=this._ge... method dispose (line 17) | dispose(){d.off(document,Xs,Qs,q.dataApiClickHandler),d.off(window,qs)... method _init (line 17) | _init(){this._didInit||(d.on(document,Xs,Qs,q.dataApiClickHandler),d.o... method _getConfig (line 17) | _getConfig(t){return t={...zs,...E.getDataAttributes(this._element),..... method _getClasses (line 17) | _getClasses(t){const e=E.getDataClassAttributes(this._element);return ... method _enableCycle (line 17) | _enableCycle(){if(this._config.ride){if(this._isSliding){d.one(this._e... method _applyInitialClasses (line 17) | _applyInitialClasses(){const t=h.findOne(Mt,this._element);t.classList... method _handleSwipe (line 17) | _handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=Wo)return;cons... method _setActiveElementClass (line 17) | _setActiveElementClass(){this._activeElement=h.findOne(Mt,this._elemen... method _addEventListeners (line 17) | _addEventListeners(){this._config.keyboard&&d.on(this._element,Fo,t=>t... method _addTouchEventListeners (line 17) | _addTouchEventListeners(){const t=r=>this._pointerEvent&&(r.pointerTyp... method _keydown (line 17) | _keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e... method _getItemIndex (line 17) | _getItemIndex(t){return this._items=t&&t.parentNode?h.find(fi,t.parent... method _getItemByOrder (line 17) | _getItemByOrder(t,e){const s=t===_t;return Hi(this._items,e,s,this._co... method _triggerSlideEvent (line 17) | _triggerSlideEvent(t,e){const s=this._getItemIndex(t),n=this._getItemI... method _setActiveIndicatorElement (line 17) | _setActiveIndicatorElement(t){if(this._indicatorsElement){const e=h.fi... method _updateInterval (line 17) | _updateInterval(){const t=this._activeElement||h.findOne(Mt,this._elem... method _slide (line 17) | _slide(t,e){const s=this._directionToOrder(t),n=h.findOne(Mt,this._ele... method _directionToOrder (line 17) | _directionToOrder(t){return[qt,mt].includes(t)?W()?t===mt?gt:_t:t===mt... method _orderToDirection (line 17) | _orderToDirection(t){return[_t,gt].includes(t)?W()?t===gt?mt:qt:t===gt... method carouselInterface (line 17) | static carouselInterface(t,e){const s=q.getOrCreateInstance(t,e);let{_... method jQueryInterface (line 17) | static jQueryInterface(t){return this.each(function(){let e=q.getOrCre... method dataApiClickHandler (line 17) | static dataApiClickHandler(t){const e=st(this);if(!e)return;const s={.... function Zs (line 17) | function Zs(i,t,e){if(!i.length)return i;if(e&&typeof e=="function")retu... class Et (line 21) | class Et extends et{constructor(t,e){if(typeof Cs>"u")throw new TypeErro... method constructor (line 21) | constructor(t,e){if(typeof Cs>"u")throw new TypeError("Bootstrap's too... method Default (line 21) | static get Default(){return Aa} method NAME (line 21) | static get NAME(){return Js} method Event (line 21) | static get Event(){return ya} method DefaultType (line 21) | static get DefaultType(){return wa} method enable (line 21) | enable(){this._isEnabled=!0} method disable (line 21) | disable(){this._isEnabled=!1} method toggleEnabled (line 21) | toggleEnabled(){this._isEnabled=!this._isEnabled} method toggle (line 21) | toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegated... method dispose (line 21) | dispose(){clearTimeout(this._timeout),d.off(this._element.closest(en),... method show (line 21) | show(){if(this._element.style.display==="none")throw new Error("Please... method hide (line 21) | hide(){if(!this._popper)return;const t=this.getTipElement(),e=()=>{thi... method update (line 21) | update(){this._popper!==null&&this._popper.update()} method isWithContent (line 21) | isWithContent(){return!!this.getTitle()} method getTipElement (line 21) | getTipElement(){if(this.tip)return this.tip;const t=document.createEle... method setContent (line 21) | setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),tn)} method _sanitizeAndSetContent (line 21) | _sanitizeAndSetContent(t,e,s){const n=h.findOne(s,t);if(!e&&n){n.remov... method setElementContent (line 21) | setElementContent(t,e){if(t!==null){if(yt(e)){e=nt(e),this._config.htm... method getTitle (line 21) | getTitle(){const t=this._element.getAttribute("data-twe-original-title... method updateAttachment (line 21) | updateAttachment(t){return t==="right"?"end":t==="left"?"start":t} method _initializeOnDelegatedTarget (line 21) | _initializeOnDelegatedTarget(t,e){return e||this.constructor.getOrCrea... method _getOffset (line 21) | _getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.... method _resolvePossibleFunction (line 21) | _resolvePossibleFunction(t){return typeof t=="function"?t.call(this._e... method _getPopperConfig (line 21) | _getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",optio... method _addAttachmentClass (line 21) | _addAttachmentClass(t){this.getTipElement().classList.add(`${this._get... method _getAttachment (line 21) | _getAttachment(t){return Ta[t.toUpperCase()]} method _setListeners (line 21) | _setListeners(){this._config.trigger.split(" ").forEach(e=>{if(e==="cl... method _fixTitle (line 21) | _fixTitle(){const t=this._element.getAttribute("title"),e=typeof this.... method _enter (line 21) | _enter(t,e){if(e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeT... method _leave (line 21) | _leave(t,e){if(e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeT... method _isWithActiveTrigger (line 21) | _isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._act... method _getConfig (line 21) | _getConfig(t){const e=E.getDataAttributes(this._element);return Object... method _getDelegateConfig (line 21) | _getDelegateConfig(){const t={};for(const e in this._config)this.const... method _cleanTipClass (line 21) | _cleanTipClass(){const t=this.getTipElement(),e=new RegExp(`(^|\\s)${t... method _getBasicClassPrefix (line 21) | _getBasicClassPrefix(){return va} method _handlePopperPlacementChange (line 21) | _handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elemen... method _disposePopper (line 21) | _disposePopper(){this._popper&&(this._popper.destroy(),this._popper=nu... method jQueryInterface (line 21) | static jQueryInterface(t){return this.each(function(){const e=Et.getOr... class ge (line 26) | class ge extends Et{static get Default(){return $a}static get NAME(){ret... method Default (line 26) | static get Default(){return $a} method NAME (line 26) | static get NAME(){return Sa} method Event (line 26) | static get Event(){return Ra} method DefaultType (line 26) | static get DefaultType(){return Ia} method isWithContent (line 26) | isWithContent(){return this.getTitle()||this._getContent()} method setContent (line 26) | setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),ka),this._... method _getContent (line 26) | _getContent(){return this._resolvePossibleFunction(this._config.content)} method _getBasicClassPrefix (line 26) | _getBasicClassPrefix(){return La} method jQueryInterface (line 26) | static jQueryInterface(t){return this.each(function(){const e=ge.getOr... class me (line 26) | class me extends et{constructor(t,e,s){super(t),this._scrollElement=this... method constructor (line 26) | constructor(t,e,s){super(t),this._scrollElement=this._element.tagName=... method Default (line 26) | static get Default(){return nn} method NAME (line 26) | static get NAME(){return mi} method refresh (line 26) | refresh(){const t=this._scrollElement===this._scrollElement.window?Ka:... method dispose (line 26) | dispose(){d.off(this._scrollElement,Ei),d.off(this._scrollElement,vi),... method _getConfig (line 26) | _getConfig(t){return t={...nn,...E.getDataAttributes(this._element),..... method _getClasses (line 26) | _getClasses(t){const e=E.getDataClassAttributes(this._element);return ... method _getScrollTop (line 26) | _getScrollTop(){return this._scrollElement===window?this._scrollElemen... method _getScrollHeight (line 26) | _getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(d... method _getOffsetHeight (line 26) | _getOffsetHeight(){return this._scrollElement===window?window.innerHei... method _process (line 26) | _process(){const t=this._getScrollTop()+this._config.offset,e=this._ge... method _activate (line 26) | _activate(t){this._activeTarget=t,this._clear();const e=wi.split(",").... method _clear (line 26) | _clear(){h.find(wi,this._config.target).filter(t=>t.classList.contains... method _hide (line 26) | _hide(t){const e=h.findOne(Ti,t.parentNode);e.style.overflow="hidden",... method _show (line 26) | _show(t,e){t.style.height=e} method _getCollapsibles (line 26) | _getCollapsibles(){const t=h.find(ln);t&&t.forEach(e=>{const s=e.paren... method _showSubsection (line 26) | _showSubsection(){h.find(Ya).filter(s=>s.hasAttribute(rn)).forEach(s=>... method _hideSubsection (line 26) | _hideSubsection(){h.find(ln).filter(e=>e.hasAttribute(Zt)===!1).forEac... method _bindActivateEvent (line 26) | _bindActivateEvent(){d.on(this._element,vi,()=>{this._showSubsection()... method jQueryInterface (line 26) | static jQueryInterface(t){return this.each(function(){const e=me.getOr... class be (line 26) | class be extends et{constructor(t,e){super(t),this._classes=this._getCla... method constructor (line 26) | constructor(t,e){super(t),this._classes=this._getClasses(e)} method NAME (line 26) | static get NAME(){return dn} method show (line 26) | show(){if(this._element.parentNode&&this._element.parentNode.nodeType=... method _getClasses (line 26) | _getClasses(t){const e=E.getDataClassAttributes(this._element);return ... method _activate (line 26) | _activate(t,e,s,n,r){const a=(e&&(e.nodeName==="UL"||e.nodeName==="OL"... method _transitionComplete (line 26) | _transitionComplete(t,e,s,n,r){if(e&&n){e.removeAttribute(Ht),n.remove... method jQueryInterface (line 26) | static jQueryInterface(t){return this.each(function(){const e=be.getOr... function u (line 26) | function u(m){for(var p=-1,_=0;_0)return;this... method _bindCounter (line 28) | _bindCounter(){d.on(this.input,"input",()=>{const t=this.input.value.l... method _toggleDefaultDatePlaceholder (line 28) | _toggleDefaultDatePlaceholder(t=this.input){if(!(t.getAttribute("type"... method _showPlaceholder (line 28) | _showPlaceholder(){this.input.setAttribute(ol,"")} method _getNotchData (line 28) | _getNotchData(){this._notchMiddle=h.findOne(bn,this._element),this._no... method _getLabelWidth (line 28) | _getLabelWidth(){this._labelWidth=this._label.clientWidth*.8+8} method _getLabelPositionInInputGroup (line 28) | _getLabelPositionInInputGroup(){if(this._labelMarginLeft=0,!this._elem... method _applyDivs (line 28) | _applyDivs(){const t=this._config.inputFormWhite?this._classes.notchLe... method _applyNotch (line 28) | _applyNotch(){this._notchMiddle.style.width=`${this._labelWidth}px`,th... method _removeBorder (line 28) | _removeBorder(){const t=h.findOne(Vt,this._element);t&&t.remove()} method _activate (line 28) | _activate(t){Pi(()=>{this._getElements(t);const e=t?t.target:this.inpu... method _getElements (line 28) | _getElements(t){if(t&&(this._element=t.target.parentNode,this._label=h... method _deactivate (line 28) | _deactivate(t){const e=t?t.target:this.input;if(e.getAttribute("aria-e... method activate (line 28) | static activate(t){return function(e){t._activate(e)}} method deactivate (line 28) | static deactivate(t){return function(e){t._deactivate(e)}} method jQueryInterface (line 28) | static jQueryInterface(t,e){return this.each(function(){let s=R.getDat... method getInstance (line 28) | static getInstance(t){return R.getData(t,we)} method getOrCreateInstance (line 28) | static getOrCreateInstance(t,e={}){return this.getInstance(t)||new thi... class Oe (line 28) | class Oe{constructor(t,e,s){this._element=t,this._options=this._getConfi... method constructor (line 28) | constructor(t,e,s){this._element=t,this._options=this._getConfig(e),th... method NAME (line 28) | static get NAME(){return yi} method init (line 28) | init(){this._addClickEvent(this._element)} method dispose (line 28) | dispose(){R.removeData(this._element,ye),d.off(this._element,"mousedow... method _autoInit (line 28) | _autoInit(t){pl.forEach(e=>{h.closest(t.target,e)&&(this._element=h.cl... method _addClickEvent (line 28) | _addClickEvent(t){d.on(t,"mousedown",this._clickHandler)} method _createRipple (line 28) | _createRipple(t){this._element.className.indexOf(this._classes.ripple)... method _createHTMLRipple (line 28) | _createHTMLRipple({wrapper:t,ripple:e,styles:s}){Object.keys(s).forEac... method _removeHTMLRipple (line 28) | _removeHTMLRipple({ripple:t,duration:e}){this._rippleTimer&&(clearTime... method _addedNewRippleClasses (line 28) | _addedNewRippleClasses(t,e){return t.split(" ").filter(s=>e.findIndex(... method _durationToMsNumber (line 28) | _durationToMsNumber(t){return Number(t.replace("ms","").replace("s","0... method _getConfig (line 28) | _getConfig(t={}){const e=E.getDataAttributes(this._element);return t={... method _getClasses (line 28) | _getClasses(t={}){const e=E.getDataClassAttributes(this._element);retu... method _getDiameter (line 28) | _getDiameter({offsetX:t,offsetY:e,height:s,width:n}){const r=e<=s/2,o=... method _appendRipple (line 28) | _appendRipple(t,e){e.appendChild(t),setTimeout(()=>{E.addClass(t,"opac... method _toggleUnbound (line 28) | _toggleUnbound(t){this._options.rippleUnbound===!0?E.addClass(t,this._... method _addColor (line 28) | _addColor(t){let e=this._options.rippleColor||"rgb(0,0,0)";(localStora... method _colorToRGB (line 28) | _colorToRGB(t){function e(r){return r.length<7&&(r=`#${r[1]}${r[1]}${r... method autoInitial (line 28) | static autoInitial(t){return function(e){t._autoInit(e)}} method jQueryInterface (line 28) | static jQueryInterface(t){return this.each(function(){return R.getData... method getInstance (line 28) | static getInstance(t){return R.getData(t,ye)} method getOrCreateInstance (line 28) | static getOrCreateInstance(t,e={}){return this.getInstance(t)||new thi... class te (line 28) | class te extends et{constructor(t,e,s){super(t),this._config=this._getCo... method constructor (line 28) | constructor(t,e,s){super(t),this._config=this._getConfig(e),this._clas... method NAME (line 28) | static get NAME(){return Ci} method Default (line 28) | static get Default(){return An} method getDefaultType (line 28) | static get getDefaultType(){return yn} method toggle (line 28) | toggle(t){return this._isShown?this.hide():this.show(t)} method show (line 28) | show(t){this._isShown||this._isTransitioning||d.trigger(this._element,... method hide (line 28) | hide(){if(!this._isShown||this._isTransitioning||d.trigger(this._eleme... method dispose (line 28) | dispose(){[window,document,this._dialog].forEach(t=>d.off(t,X)),this._... method handleUpdate (line 28) | handleUpdate(){this._adjustDialog()} method _init (line 28) | _init(){this._didInit||(js(te),this._didInit=!0)} method _initializeBackDrop (line 28) | _initializeBackDrop(){return new Vs({isVisible:!!this._config.backdrop... method _initializeFocusTrap (line 28) | _initializeFocusTrap(){return new Ws(this._element,{event:"keydown",co... method _showElement (line 28) | _showElement(t){const e=this._isAnimated(),s=h.findOne(Nl,this._dialog... method _setEscapeEvent (line 28) | _setEscapeEvent(){this._isShown?d.on(document,Dn,t=>{this._config.keyb... method _setResizeEvent (line 28) | _setResizeEvent(){this._isShown?d.on(window,Cn,()=>this._adjustDialog(... method _hideModal (line 28) | _hideModal(){const t=h.findOne(Jt,this._element);t.classList.remove(th... method _showBackdrop (line 28) | _showBackdrop(t){d.on(this._element,On,e=>{if(this._ignoreBackdropClic... method _isAnimated (line 28) | _isAnimated(){return!!h.findOne(Jt,this._element)} method _triggerBackdropTransition (line 28) | _triggerBackdropTransition(){if(d.trigger(this._element,Al).defaultPre... method _getConfig (line 28) | _getConfig(t){return t={...An,...E.getDataAttributes(this._element),..... method _getClasses (line 28) | _getClasses(t){const e=E.getDataClassAttributes(this._element);return ... method _adjustDialog (line 28) | _adjustDialog(){const t=this._element.scrollHeight>document.documentEl... method _resetAdjustments (line 28) | _resetAdjustments(){this._element.style.paddingLeft="",this._element.s... method jQueryInterface (line 28) | static jQueryInterface(t,e){return this.each(function(){const s=te.get... class $l (line 28) | class $l{constructor(){this.inits=[]}get initialized(){return this.inits... method constructor (line 28) | constructor(){this.inits=[]} method initialized (line 28) | get initialized(){return this.inits} method isInited (line 28) | isInited(t){return this.inits.includes(t)} method add (line 28) | add(t){this.isInited(t)||this.inits.push(t)} class xl (line 28) | class xl{constructor(t){$i(this,"init",(t,e)=>{t.forEach(s=>Rl(s,e))});$... method constructor (line 28) | constructor(t){$i(this,"init",(t,e)=>{t.forEach(s=>Rl(s,e))});$i(this,... FILE: core/http/static/chat.js constant CHATS_STORAGE_KEY (line 41) | const CHATS_STORAGE_KEY = 'localai_chats_data'; constant SYSTEM_PROMPT_STORAGE_KEY (line 42) | const SYSTEM_PROMPT_STORAGE_KEY = 'system_prompt'; constant SAVE_DEBOUNCE_MS (line 46) | const SAVE_DEBOUNCE_MS = 500; function saveChatsToStorage (line 49) | function saveChatsToStorage() { function loadChatsFromStorage (line 113) | function loadChatsFromStorage() { function autoSaveChats (line 170) | function autoSaveChats() { function isChatRequestActive (line 180) | function isChatRequestActive(chatId) { function updateRequestTracking (line 189) | function updateRequestTracking(chatId, isActive) { function createNewChat (line 207) | function createNewChat(model, systemPrompt, mcpMode) { function switchChat (line 225) | function switchChat(chatId) { function deleteChat (line 307) | function deleteChat(chatId) { function bulkDeleteChats (line 335) | function bulkDeleteChats(options) { function updateUIForActiveChat (line 395) | function updateUIForActiveChat() { function updateChatName (line 454) | function updateChatName(chatId, name) { function toggleLoader (line 467) | function toggleLoader(show, chatId = null) { function startTokensPerSecondInterval (line 544) | function startTokensPerSecondInterval() { function stopTokensPerSecondInterval (line 640) | function stopTokensPerSecondInterval() { function updateTokensPerSecond (line 654) | function updateTokensPerSecond(chatId) { function updateMaxTokensPerSecondBadge (line 707) | function updateMaxTokensPerSecondBadge(chatId, maxRate) { function scrollThinkingBoxToBottom (line 729) | function scrollThinkingBoxToBottom() { function stopRequest (line 746) | function stopRequest() { function processThinkingTags (line 788) | function processThinkingTags(content) { function submitSystemPrompt (line 814) | function submitSystemPrompt(event) { function handleShutdownResponse (line 826) | function handleShutdownResponse(event, modelName) { function extractTextFromPDF (line 852) | async function extractTextFromPDF(pdfData) { function readInputFile (line 951) | function readInputFile() { function readInputFileFile (line 959) | function readInputFileFile(file) { function submitPrompt (line 986) | function submitPrompt(event) { function processAndSendMessage (line 1015) | function processAndSendMessage(inputValue) { function readInputImage (line 1088) | function readInputImage() { function readInputImageFile (line 1096) | function readInputImageFile(file) { function readInputAudio (line 1108) | function readInputAudio() { function readInputAudioFile (line 1116) | function readInputAudioFile(file) { function promptGPT (line 1128) | async function promptGPT(systemPrompt, input) { function generateChatId (line 2291) | function generateChatId() { function getCurrentModel (line 2295) | function getCurrentModel() { method activeChat (line 2307) | activeChat() { method getChat (line 2312) | getChat(chatId) { method createChat (line 2316) | createChat(model, systemPrompt, mcpMode) { method switchChat (line 2341) | switchChat(chatId) { method deleteChat (line 2349) | deleteChat(chatId) { method updateChatName (line 2365) | updateChatName(chatId, name) { method clear (line 2375) | clear() { method updateTokenUsage (line 2389) | updateTokenUsage(usage, targetChatId = null) { method getRemainingTokens (line 2422) | getRemainingTokens() { method getContextUsagePercent (line 2428) | getContextUsagePercent() { method hasActiveRequest (line 2435) | hasActiveRequest(chatId) { method updateActiveRequestTracking (line 2442) | updateActiveRequestTracking(chatId, isActive) { method add (line 2455) | add(role, content, image, audio, targetChatId = null) { method messages (line 2533) | messages() { method activeHistory (line 2547) | get activeHistory() { FILE: core/http/static/image.js function fileToBase64 (line 2) | function fileToBase64(file) { function filesToBase64Array (line 16) | async function filesToBase64Array(fileList) { function genImage (line 25) | function genImage(event) { function promptDallE (line 30) | async function promptDallE() { function escapeHtml (line 247) | function escapeHtml(text) { FILE: core/http/static/p2panimation.js function resizeCanvas (line 11) | function resizeCanvas() { class Particle (line 22) | class Particle { method constructor (line 23) | constructor(x, y) { method update (line 32) | update() { method draw (line 47) | draw() { method isMouseOver (line 54) | isMouseOver(mouseX, mouseY) { function connectParticles (line 60) | function connectParticles() { function initParticles (line 75) | function initParticles(num) { function animate (line 81) | function animate() { FILE: core/http/static/sound.js function showNotification (line 1) | function showNotification(type, message) { function buildRequestBody (line 23) | function buildRequestBody() { function generateSound (line 56) | async function generateSound(event) { FILE: core/http/static/talk.js function getModel (line 61) | function getModel() { function setStatus (line 65) | function setStatus(state, text) { function addTranscript (line 112) | function addTranscript(role, text) { function updateStreamingTranscript (line 138) | function updateStreamingTranscript(role, delta) { function finalizeStreamingTranscript (line 148) | function finalizeStreamingTranscript(role, fullText) { function sendSessionUpdate (line 160) | function sendSessionUpdate() { function handleServerEvent (line 197) | function handleServerEvent(event) { function connect (line 255) | async function connect() { function sendTestTone (line 368) | function sendTestTone() { function disconnect (line 378) | function disconnect() { function toggleDiagnostics (line 406) | function toggleDiagnostics() { function startDiagnostics (line 417) | function startDiagnostics() { function stopDiagnostics (line 444) | function stopDiagnostics() { function drawDiagnostics (line 460) | function drawDiagnostics() { function pollWebRTCStats (line 571) | async function pollWebRTCStats() { FILE: core/http/static/tts.js function genAudio (line 6) | function genAudio(event) { function showNotification (line 18) | function showNotification(type, message) { function tts (line 78) | async function tts(input) { FILE: core/http/static/video.js function fileToBase64 (line 2) | function fileToBase64(file) { function genVideo (line 15) | function genVideo(event) { function promptVideo (line 20) | async function promptVideo() { function escapeHtml (line 281) | function escapeHtml(text) { function downloadVideo (line 288) | function downloadVideo(item, button) { FILE: core/p2p/federated.go constant FederatedID (line 11) | FederatedID = "federated" function NetworkID (line 13) | func NetworkID(networkID, serviceID string) string { type FederatedServer (line 20) | type FederatedServer struct method RandomServer (line 39) | func (fs *FederatedServer) RandomServer() string { method syncTableStatus (line 57) | func (fs *FederatedServer) syncTableStatus() { method SelectLeastUsedServer (line 77) | func (fs *FederatedServer) SelectLeastUsedServer() string { method RecordRequest (line 101) | func (fs *FederatedServer) RecordRequest(nodeID string) { method ensureRecordExist (line 110) | func (fs *FederatedServer) ensureRecordExist(nodeID string) { function NewFederatedServer (line 28) | func NewFederatedServer(listenAddr, service, p2pToken string, loadBalanc... FILE: core/p2p/federated_server.go method Start (line 15) | func (f *FederatedServer) Start(ctx context.Context) error { method proxy (line 34) | func (fs *FederatedServer) proxy(ctx context.Context, node *node.Node) e... method sendHTMLResponse (line 107) | func (fs *FederatedServer) sendHTMLResponse(conn net.Conn, statusCode in... function getHTTPStatusText (line 131) | func getHTTPStatusText(statusCode int) string { FILE: core/p2p/node.go constant defaultServicesID (line 12) | defaultServicesID = "services" constant LlamaCPPWorkerID (line 13) | LlamaCPPWorkerID = "worker" constant MLXWorkerID (line 14) | MLXWorkerID = "mlx_worker" function GetAvailableNodes (line 20) | func GetAvailableNodes(serviceID string) []schema.NodeData { function GetNode (line 38) | func GetNode(serviceID, nodeID string) (schema.NodeData, bool) { function AddNode (line 51) | func AddNode(serviceID string, node schema.NodeData) { FILE: core/p2p/p2p.go function generateNewConnectionData (line 31) | func generateNewConnectionData(DHTInterval, OTPInterval int) *node.YAMLC... function GenerateToken (line 61) | func GenerateToken(DHTInterval, OTPInterval int) string { function nodeID (line 66) | func nodeID(s string) string { function nodeAnnounce (line 71) | func nodeAnnounce(ctx context.Context, node *node.Node) { function proxyP2PConnection (line 89) | func proxyP2PConnection(ctx context.Context, node *node.Node, serviceID ... function allocateLocalService (line 133) | func allocateLocalService(ctx context.Context, node *node.Node, listenAd... function ServiceDiscoverer (line 173) | func ServiceDiscoverer(ctx context.Context, n *node.Node, token, service... function discoveryTunnels (line 204) | func discoveryTunnels(ctx context.Context, n *node.Node, token, services... type nodeServiceData (line 257) | type nodeServiceData struct function ensureService (line 265) | func ensureService(ctx context.Context, n *node.Node, nd *schema.NodeDat... function ExposeService (line 314) | func ExposeService(ctx context.Context, host, port, token, servicesID st... function NewNode (line 362) | func NewNode(token string) (*node.Node, error) { function newNodeOpts (line 376) | func newNodeOpts(token string) ([]node.Option, error) { function stringsToMultiAddr (line 449) | func stringsToMultiAddr(peers []string) []multiaddr.Multiaddr { function copyStream (line 461) | func copyStream(closer chan struct{}, dst io.Writer, src io.Reader) { FILE: core/p2p/p2p_common.go constant logLevelDebug (line 11) | logLevelDebug = "debug" constant logLevelInfo (line 12) | logLevelInfo = "info" function init (line 15) | func init() { FILE: core/schema/agent_jobs.go type Task (line 8) | type Task struct type WebhookConfig (line 37) | type WebhookConfig struct type MultimediaSourceConfig (line 53) | type MultimediaSourceConfig struct type MultimediaAttachment (line 59) | type MultimediaAttachment struct type JobStatus (line 67) | type JobStatus constant JobStatusPending (line 70) | JobStatusPending JobStatus = "pending" constant JobStatusRunning (line 71) | JobStatusRunning JobStatus = "running" constant JobStatusCompleted (line 72) | JobStatusCompleted JobStatus = "completed" constant JobStatusFailed (line 73) | JobStatusFailed JobStatus = "failed" constant JobStatusCancelled (line 74) | JobStatusCancelled JobStatus = "cancelled" type Job (line 78) | type Job struct type JobTrace (line 107) | type JobTrace struct type JobExecutionRequest (line 116) | type JobExecutionRequest struct type JobExecutionResponse (line 128) | type JobExecutionResponse struct type TasksFile (line 135) | type TasksFile struct type JobsFile (line 140) | type JobsFile struct FILE: core/schema/anthropic.go type AnthropicSystemParam (line 9) | type AnthropicSystemParam method UnmarshalJSON (line 12) | func (s *AnthropicSystemParam) UnmarshalJSON(data []byte) error { type AnthropicRequest (line 38) | type AnthropicRequest struct method ModelName (line 58) | func (ar *AnthropicRequest) ModelName(s *string) string { type AnthropicTool (line 66) | type AnthropicTool struct type AnthropicMessage (line 73) | type AnthropicMessage struct method GetStringContent (line 161) | func (m *AnthropicMessage) GetStringContent() string { method GetContentBlocks (line 182) | func (m *AnthropicMessage) GetContentBlocks() []AnthropicContentBlock { type AnthropicContentBlock (line 79) | type AnthropicContentBlock struct type AnthropicImageSource (line 92) | type AnthropicImageSource struct type AnthropicResponse (line 99) | type AnthropicResponse struct type AnthropicUsage (line 111) | type AnthropicUsage struct type AnthropicStreamEvent (line 117) | type AnthropicStreamEvent struct type AnthropicStreamDelta (line 127) | type AnthropicStreamDelta struct type AnthropicStreamMessage (line 136) | type AnthropicStreamMessage struct type AnthropicErrorResponse (line 148) | type AnthropicErrorResponse struct type AnthropicError (line 154) | type AnthropicError struct FILE: core/schema/backend.go type BackendResponse (line 4) | type BackendResponse struct FILE: core/schema/elevenlabs.go type ElevenLabsTTSRequest (line 3) | type ElevenLabsTTSRequest struct method ModelName (line 28) | func (elttsr *ElevenLabsTTSRequest) ModelName(s *string) string { type ElevenLabsSoundGenerationRequest (line 9) | type ElevenLabsSoundGenerationRequest struct method ModelName (line 35) | func (elsgr *ElevenLabsSoundGenerationRequest) ModelName(s *string) st... FILE: core/schema/jina.go type JINARerankRequest (line 4) | type JINARerankRequest struct type JINADocumentResult (line 13) | type JINADocumentResult struct type JINAText (line 20) | type JINAText struct type JINARerankResponse (line 25) | type JINARerankResponse struct type JINAUsageInfo (line 32) | type JINAUsageInfo struct FILE: core/schema/localai.go type BackendMonitorRequest (line 10) | type BackendMonitorRequest struct type TokenMetricsRequest (line 14) | type TokenMetricsRequest struct type BackendMonitorResponse (line 18) | type BackendMonitorResponse struct type GalleryResponse (line 24) | type GalleryResponse struct type VideoRequest (line 34) | type VideoRequest struct type TTSRequest (line 54) | type TTSRequest struct type VADRequest (line 66) | type VADRequest struct type VADSegment (line 71) | type VADSegment struct type VADResponse (line 76) | type VADResponse struct type StoreCommon (line 80) | type StoreCommon struct type StoresSet (line 83) | type StoresSet struct type StoresDelete (line 91) | type StoresDelete struct type StoresGet (line 98) | type StoresGet struct type StoresGetResponse (line 105) | type StoresGetResponse struct type StoresFind (line 110) | type StoresFind struct type StoresFindResponse (line 118) | type StoresFindResponse struct type NodeData (line 124) | type NodeData struct method IsOnline (line 132) | func (d NodeData) IsOnline() bool { type P2PNodesResponse (line 138) | type P2PNodesResponse struct type SysInfoModel (line 144) | type SysInfoModel struct type SystemInformationResponse (line 148) | type SystemInformationResponse struct type DetectionRequest (line 153) | type DetectionRequest struct type DetectionResponse (line 158) | type DetectionResponse struct type Detection (line 162) | type Detection struct type ImportModelRequest (line 170) | type ImportModelRequest struct type SettingsResponse (line 176) | type SettingsResponse struct FILE: core/schema/message.go type Message (line 11) | type Message struct type ToolCall (line 37) | type ToolCall struct type FunctionCall (line 44) | type FunctionCall struct type Messages (line 49) | type Messages method ToProto (line 53) | func (messages Messages) ToProto() []*proto.Message { FILE: core/schema/openai.go type APIError (line 10) | type APIError struct type ErrorResponse (line 17) | type ErrorResponse struct type InputTokensDetails (line 21) | type InputTokensDetails struct type OpenAIUsage (line 26) | type OpenAIUsage struct type Item (line 39) | type Item struct type OpenAIResponse (line 49) | type OpenAIResponse struct type Choice (line 60) | type Choice struct type Logprobs (line 69) | type Logprobs struct type LogprobContent (line 73) | type LogprobContent struct type Content (line 81) | type Content struct type ContentURL (line 90) | type ContentURL struct type InputAudio (line 94) | type InputAudio struct type OpenAIModel (line 101) | type OpenAIModel struct type ImageGenerationResponseFormat (line 106) | type ImageGenerationResponseFormat type ChatCompletionResponseFormatType (line 108) | type ChatCompletionResponseFormatType type TranscriptionResponseFormatType (line 110) | type TranscriptionResponseFormatType constant TranscriptionResponseFormatText (line 113) | TranscriptionResponseFormatText = TranscriptionResponseFormatType... constant TranscriptionResponseFormatSrt (line 114) | TranscriptionResponseFormatSrt = TranscriptionResponseFormatType... constant TranscriptionResponseFormatVtt (line 115) | TranscriptionResponseFormatVtt = TranscriptionResponseFormatType... constant TranscriptionResponseFormatLrc (line 116) | TranscriptionResponseFormatLrc = TranscriptionResponseFormatType... constant TranscriptionResponseFormatJson (line 117) | TranscriptionResponseFormatJson = TranscriptionResponseFormatType... constant TranscriptionResponseFormatJsonVerbose (line 118) | TranscriptionResponseFormatJsonVerbose = TranscriptionResponseFormatType... type ChatCompletionResponseFormat (line 121) | type ChatCompletionResponseFormat struct type JsonSchemaRequest (line 125) | type JsonSchemaRequest struct type JsonSchema (line 130) | type JsonSchema struct type OpenAIRequest (line 136) | type OpenAIRequest struct type ModelsDataResponse (line 191) | type ModelsDataResponse struct FILE: core/schema/openresponses.go constant ORStatusQueued (line 9) | ORStatusQueued = "queued" constant ORStatusInProgress (line 10) | ORStatusInProgress = "in_progress" constant ORStatusCompleted (line 11) | ORStatusCompleted = "completed" constant ORStatusFailed (line 12) | ORStatusFailed = "failed" constant ORStatusIncomplete (line 13) | ORStatusIncomplete = "incomplete" constant ORStatusCancelled (line 14) | ORStatusCancelled = "cancelled" type ORWebSocketMessage (line 20) | type ORWebSocketMessage struct type OpenResponsesRequest (line 27) | type OpenResponsesRequest struct method ModelName (line 64) | func (r *OpenResponsesRequest) ModelName(s *string) string { type ORFunctionTool (line 72) | type ORFunctionTool struct type ORReasoningParam (line 81) | type ORReasoningParam struct type ORItemParam (line 87) | type ORItemParam struct type ORContentPart (line 114) | type ORContentPart struct type ORResponseResource (line 134) | type ORResponseResource struct type ORTextConfig (line 183) | type ORTextConfig struct type ORTextFormat (line 188) | type ORTextFormat struct type ORError (line 193) | type ORError struct type ORUsage (line 201) | type ORUsage struct type ORInputTokensDetails (line 210) | type ORInputTokensDetails struct type OROutputTokensDetails (line 215) | type OROutputTokensDetails struct type ORReasoning (line 220) | type ORReasoning struct type ORIncompleteDetails (line 226) | type ORIncompleteDetails struct type ORStreamEvent (line 233) | type ORStreamEvent struct type ORErrorPayload (line 255) | type ORErrorPayload struct type ORLogProb (line 264) | type ORLogProb struct type ORTopLogProb (line 272) | type ORTopLogProb struct type ORAnnotation (line 279) | type ORAnnotation struct function ORContentPartWithLogprobs (line 288) | func ORContentPartWithLogprobs(text string, logprobs *Logprobs) ORConten... FILE: core/schema/prediction.go type LogprobsValue (line 12) | type LogprobsValue struct method UnmarshalJSON (line 17) | func (l *LogprobsValue) UnmarshalJSON(data []byte) error { method MarshalJSON (line 43) | func (l LogprobsValue) MarshalJSON() ([]byte, error) { method UnmarshalYAML (line 48) | func (l *LogprobsValue) UnmarshalYAML(value *yaml.Node) error { method IsEnabled (line 76) | func (l *LogprobsValue) IsEnabled() bool { type PredictionOptions (line 81) | type PredictionOptions struct FILE: core/schema/request.go type LocalAIRequest (line 4) | type LocalAIRequest interface type BasicModelRequest (line 9) | type BasicModelRequest struct method ModelName (line 18) | func (bmr *BasicModelRequest) ModelName(s *string) string { FILE: core/schema/schema_suite_test.go function TestSchema (line 10) | func TestSchema(t *testing.T) { FILE: core/schema/tokenize.go type TokenizeRequest (line 3) | type TokenizeRequest struct type TokenizeResponse (line 8) | type TokenizeResponse struct FILE: core/schema/transcription.go type TranscriptionSegment (line 5) | type TranscriptionSegment struct type TranscriptionResult (line 14) | type TranscriptionResult struct FILE: core/services/agent_jobs.go type AgentJobService (line 36) | type AgentJobService struct method LoadTasksFromFile (line 137) | func (s *AgentJobService) LoadTasksFromFile() error { method SaveTasksToFile (line 176) | func (s *AgentJobService) SaveTasksToFile() error { method LoadJobsFromFile (line 201) | func (s *AgentJobService) LoadJobsFromFile() error { method SaveJobsToFile (line 234) | func (s *AgentJobService) SaveJobsToFile() error { method CreateTask (line 260) | func (s *AgentJobService) CreateTask(task schema.Task) (string, error) { method UpdateTask (line 302) | func (s *AgentJobService) UpdateTask(id string, task schema.Task) error { method DeleteTask (line 337) | func (s *AgentJobService) DeleteTask(id string) error { method GetTask (line 357) | func (s *AgentJobService) GetTask(id string) (*schema.Task, error) { method ListTasks (line 366) | func (s *AgentJobService) ListTasks() []schema.Task { method buildPrompt (line 379) | func (s *AgentJobService) buildPrompt(templateStr string, params map[s... method ExecuteJob (line 395) | func (s *AgentJobService) ExecuteJob(taskID string, params map[string]... method GetJob (line 497) | func (s *AgentJobService) GetJob(id string) (*schema.Job, error) { method ListJobs (line 506) | func (s *AgentJobService) ListJobs(taskID *string, status *schema.JobS... method CancelJob (line 538) | func (s *AgentJobService) CancelJob(id string) error { method DeleteJob (line 572) | func (s *AgentJobService) DeleteJob(id string) error { method fetchMultimediaFromURL (line 598) | func (s *AgentJobService) fetchMultimediaFromURL(url string, headers m... method getMimeTypeForMediaType (line 642) | func (s *AgentJobService) getMimeTypeForMediaType(mediaType string) st... method convertToMultimediaContent (line 658) | func (s *AgentJobService) convertToMultimediaContent(items []string, m... method executeJobInternal (line 690) | func (s *AgentJobService) executeJobInternal(job schema.Job, task sche... method worker (line 1037) | func (s *AgentJobService) worker(ctx context.Context) { method ScheduleCronTask (line 1069) | func (s *AgentJobService) ScheduleCronTask(task schema.Task) error { method UnscheduleCronTask (line 1100) | func (s *AgentJobService) UnscheduleCronTask(taskID string) { method sendWebhooks (line 1110) | func (s *AgentJobService) sendWebhooks(job schema.Job, task schema.Tas... method sendWebhook (line 1189) | func (s *AgentJobService) sendWebhook(job schema.Job, task schema.Task... method buildWebhookPayload (line 1231) | func (s *AgentJobService) buildWebhookPayload(job schema.Job, task sch... method buildPayloadFromTemplate (line 1255) | func (s *AgentJobService) buildPayloadFromTemplate(job schema.Job, tas... method executeWithRetry (line 1294) | func (s *AgentJobService) executeWithRetry(client *http.Client, req *h... method CleanupOldJobs (line 1326) | func (s *AgentJobService) CleanupOldJobs() error { method Start (line 1350) | func (s *AgentJobService) Start(ctx context.Context) error { method Stop (line 1398) | func (s *AgentJobService) Stop() error { method UpdateRetentionDays (line 1411) | func (s *AgentJobService) UpdateRetentionDays(days int) { type JobExecution (line 70) | type JobExecution struct constant JobImageType (line 78) | JobImageType = "image" constant JobVideoType (line 79) | JobVideoType = "video" constant JobAudioType (line 80) | JobAudioType = "audio" constant JobFileType (line 81) | JobFileType = "file" function NewAgentJobService (line 85) | func NewAgentJobService( function NewAgentJobServiceWithPaths (line 107) | func NewAgentJobServiceWithPaths( type multimediaContent (line 587) | type multimediaContent struct method URL (line 592) | func (mu multimediaContent) URL() string { type webhookError (line 1182) | type webhookError struct FILE: core/services/agent_pool.go type AgentPoolService (line 35) | type AgentPoolService struct method Start (line 57) | func (s *AgentPoolService) Start(ctx context.Context) error { method Stop (line 193) | func (s *AgentPoolService) Stop() { method Pool (line 200) | func (s *AgentPoolService) Pool() *state.AgentPool { method ListAgents (line 206) | func (s *AgentPoolService) ListAgents() map[string]bool { method CreateAgent (line 219) | func (s *AgentPoolService) CreateAgent(config *state.AgentConfig) error { method GetAgent (line 226) | func (s *AgentPoolService) GetAgent(name string) *agent.Agent { method GetAgentConfig (line 230) | func (s *AgentPoolService) GetAgentConfig(name string) *state.AgentCon... method UpdateAgent (line 234) | func (s *AgentPoolService) UpdateAgent(name string, config *state.Agen... method DeleteAgent (line 242) | func (s *AgentPoolService) DeleteAgent(name string) error { method PauseAgent (line 246) | func (s *AgentPoolService) PauseAgent(name string) error { method ResumeAgent (line 255) | func (s *AgentPoolService) ResumeAgent(name string) error { method GetAgentStatus (line 264) | func (s *AgentPoolService) GetAgentStatus(name string) *state.Status { method GetAgentObservables (line 268) | func (s *AgentPoolService) GetAgentObservables(name string) ([]coreTyp... method ClearAgentObservables (line 276) | func (s *AgentPoolService) ClearAgentObservables(name string) error { method Chat (line 286) | func (s *AgentPoolService) Chat(name, message string) (string, error) { method userOutputsDir (line 381) | func (s *AgentPoolService) userOutputsDir(userID string) string { method copyToOutputs (line 392) | func (s *AgentPoolService) copyToOutputs(srcPath, userID string) (stri... method collectAndCopyMetadata (line 424) | func (s *AgentPoolService) collectAndCopyMetadata(metadata map[string]... method GetSSEManager (line 448) | func (s *AgentPoolService) GetSSEManager(name string) sse.Manager { method GetConfigMeta (line 452) | func (s *AgentPoolService) GetConfigMeta() state.AgentConfigMeta { method AgentHubURL (line 456) | func (s *AgentPoolService) AgentHubURL() string { method StateDir (line 460) | func (s *AgentPoolService) StateDir() string { method OutputsDir (line 464) | func (s *AgentPoolService) OutputsDir() string { method ExportAgent (line 469) | func (s *AgentPoolService) ExportAgent(name string) ([]byte, error) { method ImportAgent (line 478) | func (s *AgentPoolService) ImportAgent(data []byte) error { method SkillsService (line 491) | func (s *AgentPoolService) SkillsService() *skills.Service { method GetSkillsConfig (line 495) | func (s *AgentPoolService) GetSkillsConfig() map[string]any { method ListSkills (line 502) | func (s *AgentPoolService) ListSkills() ([]skilldomain.Skill, error) { method GetSkill (line 516) | func (s *AgentPoolService) GetSkill(name string) (*skilldomain.Skill, ... method SearchSkills (line 527) | func (s *AgentPoolService) SearchSkills(query string) ([]skilldomain.S... method CreateSkill (line 538) | func (s *AgentPoolService) CreateSkill(name, description, content, lic... method UpdateSkill (line 591) | func (s *AgentPoolService) UpdateSkill(name, description, content, lic... method DeleteSkill (line 639) | func (s *AgentPoolService) DeleteSkill(name string) error { method ExportSkill (line 665) | func (s *AgentPoolService) ExportSkill(name string) ([]byte, error) { method ImportSkill (line 684) | func (s *AgentPoolService) ImportSkill(archiveData []byte) (*skilldoma... method ListSkillResources (line 708) | func (s *AgentPoolService) ListSkillResources(skillName string) ([]ski... method GetSkillResource (line 727) | func (s *AgentPoolService) GetSkillResource(skillName, resourcePath st... method CreateSkillResource (line 750) | func (s *AgentPoolService) CreateSkillResource(skillName, path string,... method UpdateSkillResource (line 775) | func (s *AgentPoolService) UpdateSkillResource(skillName, resourcePath... method DeleteSkillResource (line 797) | func (s *AgentPoolService) DeleteSkillResource(skillName, resourcePath... method getSkillsDir (line 821) | func (s *AgentPoolService) getSkillsDir() string { method ListGitRepos (line 835) | func (s *AgentPoolService) ListGitRepos() ([]GitRepoInfo, error) { method AddGitRepo (line 852) | func (s *AgentPoolService) AddGitRepo(repoURL string) (*GitRepoInfo, e... method UpdateGitRepo (line 900) | func (s *AgentPoolService) UpdateGitRepo(id, repoURL string, enabled *... method DeleteGitRepo (line 939) | func (s *AgentPoolService) DeleteGitRepo(id string) error { method SyncGitRepo (line 971) | func (s *AgentPoolService) SyncGitRepo(id string) error { method ToggleGitRepo (line 1008) | func (s *AgentPoolService) ToggleGitRepo(id string) (*GitRepoInfo, err... method CollectionsBackend (line 1033) | func (s *AgentPoolService) CollectionsBackend() collections.Backend { method ListCollections (line 1037) | func (s *AgentPoolService) ListCollections() ([]string, error) { method CreateCollection (line 1041) | func (s *AgentPoolService) CreateCollection(name string) error { method UploadToCollection (line 1045) | func (s *AgentPoolService) UploadToCollection(collection, filename str... method ListCollectionEntries (line 1049) | func (s *AgentPoolService) ListCollectionEntries(collection string) ([... method GetCollectionEntryContent (line 1053) | func (s *AgentPoolService) GetCollectionEntryContent(collection, entry... method SearchCollection (line 1057) | func (s *AgentPoolService) SearchCollection(collection, query string, ... method ResetCollection (line 1061) | func (s *AgentPoolService) ResetCollection(collection string) error { method DeleteCollectionEntry (line 1065) | func (s *AgentPoolService) DeleteCollectionEntry(collection, entry str... method AddCollectionSource (line 1069) | func (s *AgentPoolService) AddCollectionSource(collection, sourceURL s... method RemoveCollectionSource (line 1073) | func (s *AgentPoolService) RemoveCollectionSource(collection, sourceUR... method ListCollectionSources (line 1077) | func (s *AgentPoolService) ListCollectionSources(collection string) ([... method CollectionEntryExists (line 1081) | func (s *AgentPoolService) CollectionEntryExists(collection, entry str... method GetCollectionEntryFilePath (line 1085) | func (s *AgentPoolService) GetCollectionEntryFilePath(collection, entr... method SetUserServicesManager (line 1092) | func (s *AgentPoolService) SetUserServicesManager(usm *UserServicesMan... method UserStorage (line 1097) | func (s *AgentPoolService) UserStorage() *UserScopedStorage { method UserServicesManager (line 1102) | func (s *AgentPoolService) UserServicesManager() *UserServicesManager { method SetAuthDB (line 1107) | func (s *AgentPoolService) SetAuthDB(db *gorm.DB) { method ListAllAgentsGrouped (line 1121) | func (s *AgentPoolService) ListAllAgentsGrouped() map[string][]UserAge... method ListSkillsForUser (line 1146) | func (s *AgentPoolService) ListSkillsForUser(userID string) ([]skilldo... method GetSkillForUser (line 1165) | func (s *AgentPoolService) GetSkillForUser(userID, name string) (*skil... method SearchSkillsForUser (line 1181) | func (s *AgentPoolService) SearchSkillsForUser(userID, query string) (... method CreateSkillForUser (line 1197) | func (s *AgentPoolService) CreateSkillForUser(userID, name, descriptio... method UpdateSkillForUser (line 1255) | func (s *AgentPoolService) UpdateSkillForUser(userID, name, descriptio... method DeleteSkillForUser (line 1308) | func (s *AgentPoolService) DeleteSkillForUser(userID, name string) err... method ExportSkillForUser (line 1339) | func (s *AgentPoolService) ExportSkillForUser(userID, name string) ([]... method ImportSkillForUser (line 1363) | func (s *AgentPoolService) ImportSkillForUser(userID string, archiveDa... method GetSkillsConfigForUser (line 1390) | func (s *AgentPoolService) GetSkillsConfigForUser(userID string) map[s... method ListSkillResourcesForUser (line 1401) | func (s *AgentPoolService) ListSkillResourcesForUser(userID, skillName... method GetSkillResourceForUser (line 1425) | func (s *AgentPoolService) GetSkillResourceForUser(userID, skillName, ... method CreateSkillResourceForUser (line 1453) | func (s *AgentPoolService) CreateSkillResourceForUser(userID, skillNam... method UpdateSkillResourceForUser (line 1483) | func (s *AgentPoolService) UpdateSkillResourceForUser(userID, skillNam... method DeleteSkillResourceForUser (line 1510) | func (s *AgentPoolService) DeleteSkillResourceForUser(userID, skillNam... method ListCollectionsForUser (line 1539) | func (s *AgentPoolService) ListCollectionsForUser(userID string) ([]st... method CreateCollectionForUser (line 1548) | func (s *AgentPoolService) CreateCollectionForUser(userID, name string... method UploadToCollectionForUser (line 1557) | func (s *AgentPoolService) UploadToCollectionForUser(userID, collectio... method CollectionEntryExistsForUser (line 1566) | func (s *AgentPoolService) CollectionEntryExistsForUser(userID, collec... method ListCollectionEntriesForUser (line 1575) | func (s *AgentPoolService) ListCollectionEntriesForUser(userID, collec... method GetCollectionEntryContentForUser (line 1584) | func (s *AgentPoolService) GetCollectionEntryContentForUser(userID, co... method SearchCollectionForUser (line 1593) | func (s *AgentPoolService) SearchCollectionForUser(userID, collection,... method ResetCollectionForUser (line 1602) | func (s *AgentPoolService) ResetCollectionForUser(userID, collection s... method DeleteCollectionEntryForUser (line 1611) | func (s *AgentPoolService) DeleteCollectionEntryForUser(userID, collec... method AddCollectionSourceForUser (line 1620) | func (s *AgentPoolService) AddCollectionSourceForUser(userID, collecti... method RemoveCollectionSourceForUser (line 1629) | func (s *AgentPoolService) RemoveCollectionSourceForUser(userID, colle... method ListCollectionSourcesForUser (line 1638) | func (s *AgentPoolService) ListCollectionSourcesForUser(userID, collec... method GetCollectionEntryFilePathForUser (line 1647) | func (s *AgentPoolService) GetCollectionEntryFilePathForUser(userID, c... method getSkillsDirForUser (line 1658) | func (s *AgentPoolService) getSkillsDirForUser(userID string) string { method ListGitReposForUser (line 1667) | func (s *AgentPoolService) ListGitReposForUser(userID string) ([]GitRe... method AddGitRepoForUser (line 1685) | func (s *AgentPoolService) AddGitRepoForUser(userID, repoURL string) (... method UpdateGitRepoForUser (line 1737) | func (s *AgentPoolService) UpdateGitRepoForUser(userID, id, repoURL st... method DeleteGitRepoForUser (line 1780) | func (s *AgentPoolService) DeleteGitRepoForUser(userID, id string) err... method SyncGitRepoForUser (line 1816) | func (s *AgentPoolService) SyncGitRepoForUser(userID, id string) error { method ToggleGitRepoForUser (line 1858) | func (s *AgentPoolService) ToggleGitRepoForUser(userID, id string) (*G... method ListAgentsForUser (line 1896) | func (s *AgentPoolService) ListAgentsForUser(userID string) map[string... method CreateAgentForUser (line 1923) | func (s *AgentPoolService) CreateAgentForUser(userID string, config *s... method GetAgentForUser (line 1944) | func (s *AgentPoolService) GetAgentForUser(userID, name string) *agent... method GetAgentConfigForUser (line 1949) | func (s *AgentPoolService) GetAgentConfigForUser(userID, name string) ... method UpdateAgentForUser (line 1954) | func (s *AgentPoolService) UpdateAgentForUser(userID, name string, con... method DeleteAgentForUser (line 1975) | func (s *AgentPoolService) DeleteAgentForUser(userID, name string) err... method PauseAgentForUser (line 1980) | func (s *AgentPoolService) PauseAgentForUser(userID, name string) error { method ResumeAgentForUser (line 1990) | func (s *AgentPoolService) ResumeAgentForUser(userID, name string) err... method GetAgentStatusForUser (line 2000) | func (s *AgentPoolService) GetAgentStatusForUser(userID, name string) ... method GetAgentObservablesForUser (line 2005) | func (s *AgentPoolService) GetAgentObservablesForUser(userID, name str... method ClearAgentObservablesForUser (line 2014) | func (s *AgentPoolService) ClearAgentObservablesForUser(userID, name s... method ChatForUser (line 2024) | func (s *AgentPoolService) ChatForUser(userID, name, message string) (... method GetSSEManagerForUser (line 2029) | func (s *AgentPoolService) GetSSEManagerForUser(userID, name string) s... method ExportAgentForUser (line 2034) | func (s *AgentPoolService) ExportAgentForUser(userID, name string) ([]... method ImportAgentForUser (line 2039) | func (s *AgentPoolService) ImportAgentForUser(userID string, data []by... method CollectionsBackendForUser (line 2065) | func (s *AgentPoolService) CollectionsBackendForUser(userID string) (c... method SkillsServiceForUser (line 2075) | func (s *AgentPoolService) SkillsServiceForUser(userID string) (*skill... method JobServiceForUser (line 2085) | func (s *AgentPoolService) JobServiceForUser(userID string) (*AgentJob... method ListAvailableActions (line 2095) | func (s *AgentPoolService) ListAvailableActions() []string { method GetActionDefinition (line 2100) | func (s *AgentPoolService) GetActionDefinition(actionName string, acti... method ExecuteAction (line 2112) | func (s *AgentPoolService) ExecuteAction(ctx context.Context, actionNa... function NewAgentPoolService (line 51) | func NewAgentPoolService(appConfig *config.ApplicationConfig) (*AgentPoo... type GitRepoInfo (line 828) | type GitRepoInfo struct type UserAgentInfo (line 1114) | type UserAgentInfo struct function agentKey (line 1887) | func agentKey(userID, name string) string { FILE: core/services/agent_pool_sse.go function HandleSSE (line 13) | func HandleSSE(c echo.Context, manager sse.Manager) error { function randString (line 47) | func randString(n int) string { FILE: core/services/backend_monitor.go type BackendMonitorService (line 18) | type BackendMonitorService struct method SampleLocalBackendProcess (line 32) | func (bms *BackendMonitorService) SampleLocalBackendProcess(model stri... method CheckAndSample (line 87) | func (bms BackendMonitorService) CheckAndSample(modelName string) (*pr... method ShutdownModel (line 113) | func (bms BackendMonitorService) ShutdownModel(modelName string) error { function NewBackendMonitorService (line 24) | func NewBackendMonitorService(modelLoader *model.ModelLoader, configLoad... FILE: core/services/backends.go method backendHandler (line 20) | func (g *GalleryService) backendHandler(op *GalleryOp[gallery.GalleryBac... function InstallExternalBackend (line 110) | func InstallExternalBackend(ctx context.Context, galleries []config.Gall... FILE: core/services/gallery.go type GalleryService (line 14) | type GalleryService struct method UpdateStatus (line 36) | func (g *GalleryService) UpdateStatus(s string, op *GalleryOpStatus) { method GetStatus (line 42) | func (g *GalleryService) GetStatus(s string) *GalleryOpStatus { method GetAllStatus (line 49) | func (g *GalleryService) GetAllStatus() map[string]*GalleryOpStatus { method CancelOperation (line 57) | func (g *GalleryService) CancelOperation(id string) error { method storeCancellation (line 96) | func (g *GalleryService) storeCancellation(id string, cancelFunc conte... method StoreCancellation (line 105) | func (g *GalleryService) StoreCancellation(id string, cancelFunc conte... method removeCancellation (line 110) | func (g *GalleryService) removeCancellation(id string) { method Start (line 116) | func (g *GalleryService) Start(c context.Context, cl *config.ModelConf... function NewGalleryService (line 25) | func NewGalleryService(appConfig *config.ApplicationConfig, ml *model.Mo... FILE: core/services/list_models.go type LooseFilePolicy (line 8) | type LooseFilePolicy constant LOOSE_ONLY (line 11) | LOOSE_ONLY LooseFilePolicy = iota constant SKIP_IF_CONFIGURED (line 12) | SKIP_IF_CONFIGURED constant SKIP_ALWAYS (line 13) | SKIP_ALWAYS constant ALWAYS_INCLUDE (line 14) | ALWAYS_INCLUDE function ListModels (line 17) | func ListModels(bcl *config.ModelConfigLoader, ml *model.ModelLoader, fi... function CheckIfModelExists (line 53) | func CheckIfModelExists(bcl *config.ModelConfigLoader, ml *model.ModelLo... FILE: core/services/metrics.go type LocalAIMetricsService (line 13) | type LocalAIMetricsService struct method ObserveAPICall (line 18) | func (m *LocalAIMetricsService) ObserveAPICall(method string, path str... method Shutdown (line 47) | func (lams LocalAIMetricsService) Shutdown() error { function NewLocalAIMetricsService (line 28) | func NewLocalAIMetricsService() (*LocalAIMetricsService, error) { FILE: core/services/models.go constant processingMessage (line 20) | processingMessage = "processing file: %s. Total: %s. Current: %s" method modelHandler (line 23) | func (g *GalleryService) modelHandler(op *GalleryOp[gallery.GalleryModel... function installModelFromRemoteConfig (line 110) | func installModelFromRemoteConfig(ctx context.Context, systemState *syst... type galleryModel (line 132) | type galleryModel struct function processRequests (line 137) | func processRequests(systemState *system.SystemState, modelLoader *model... function ApplyGalleryFromFile (line 153) | func ApplyGalleryFromFile(systemState *system.SystemState, modelLoader *... function ApplyGalleryFromString (line 167) | func ApplyGalleryFromString(systemState *system.SystemState, modelLoader... function processModelOperation (line 178) | func processModelOperation( FILE: core/services/operation.go type GalleryOp (line 10) | type GalleryOp struct type GalleryOpStatus (line 34) | type GalleryOpStatus struct type OpCache (line 48) | type OpCache struct method Set (line 62) | func (m *OpCache) Set(key string, value string) { method SetBackend (line 67) | func (m *OpCache) SetBackend(key string, value string) { method IsBackendOp (line 73) | func (m *OpCache) IsBackendOp(key string) bool { method Get (line 77) | func (m *OpCache) Get(key string) string { method DeleteUUID (line 81) | func (m *OpCache) DeleteUUID(uuid string) { method Map (line 90) | func (m *OpCache) Map() map[string]string { method Exists (line 94) | func (m *OpCache) Exists(key string) bool { method GetStatus (line 98) | func (m *OpCache) GetStatus() (map[string]string, map[string]string) { function NewOpCache (line 54) | func NewOpCache(galleryService *GalleryService) *OpCache { FILE: core/services/services_suite_test.go function TestServices (line 10) | func TestServices(t *testing.T) { FILE: core/services/user_services.go type UserServicesManager (line 16) | type UserServicesManager struct method GetCollections (line 49) | func (m *UserServicesManager) GetCollections(userID string) (collectio... method GetSkills (line 98) | func (m *UserServicesManager) GetSkills(userID string) (*skills.Servic... method GetJobs (line 127) | func (m *UserServicesManager) GetJobs(userID string) (*AgentJobService... method ListAllUserIDs (line 159) | func (m *UserServicesManager) ListAllUserIDs() ([]string, error) { method StopAll (line 175) | func (m *UserServicesManager) StopAll() { function NewUserServicesManager (line 29) | func NewUserServicesManager( function getPort (line 164) | func getPort(appConfig *config.ApplicationConfig) string { FILE: core/services/user_storage.go type UserScopedStorage (line 15) | type UserScopedStorage struct method resolve (line 29) | func (s *UserScopedStorage) resolve(userID string) string { method resolveData (line 37) | func (s *UserScopedStorage) resolveData(userID string) string { method UserDir (line 45) | func (s *UserScopedStorage) UserDir(userID string) string { method CollectionsDir (line 50) | func (s *UserScopedStorage) CollectionsDir(userID string) string { method AssetsDir (line 55) | func (s *UserScopedStorage) AssetsDir(userID string) string { method OutputsDir (line 60) | func (s *UserScopedStorage) OutputsDir(userID string) string { method SkillsDir (line 65) | func (s *UserScopedStorage) SkillsDir(userID string) string { method TasksFile (line 70) | func (s *UserScopedStorage) TasksFile(userID string) string { method JobsFile (line 75) | func (s *UserScopedStorage) JobsFile(userID string) string { method EnsureUserDirs (line 80) | func (s *UserScopedStorage) EnsureUserDirs(userID string) error { method ListUserDirs (line 99) | func (s *UserScopedStorage) ListUserDirs() ([]string, error) { function NewUserScopedStorage (line 21) | func NewUserScopedStorage(baseDir, dataDir string) *UserScopedStorage { function ValidateUserID (line 120) | func ValidateUserID(id string) error { function ValidateAgentName (line 134) | func ValidateAgentName(name string) error { FILE: core/startup/model_preload.go function InstallModels (line 24) | func InstallModels(ctx context.Context, galleryService *services.Gallery... function installModel (line 85) | func installModel(ctx context.Context, galleries, backendGalleries []con... FILE: core/startup/startup_suite_test.go function TestStartup (line 10) | func TestStartup(t *testing.T) { FILE: core/templates/cache.go type TemplateType (line 18) | type TemplateType type templateCache (line 20) | type templateCache struct method initializeTemplateMapKey (line 34) | func (tc *templateCache) initializeTemplateMapKey(tt TemplateType) { method existsInModelPath (line 40) | func (tc *templateCache) existsInModelPath(s string) bool { method loadTemplateIfExists (line 43) | func (tc *templateCache) loadTemplateIfExists(templateType TemplateTyp... method evaluateTemplate (line 83) | func (tc *templateCache) evaluateTemplate(templateType TemplateType, t... function newTemplateCache (line 26) | func newTemplateCache(templatesPath string) *templateCache { FILE: core/templates/evaluator.go type PromptTemplateData (line 17) | type PromptTemplateData struct type ChatMessageTemplateData (line 28) | type ChatMessageTemplateData struct constant ChatPromptTemplate (line 41) | ChatPromptTemplate TemplateType = iota constant ChatMessageTemplate (line 42) | ChatMessageTemplate constant CompletionPromptTemplate (line 43) | CompletionPromptTemplate constant EditPromptTemplate (line 44) | EditPromptTemplate constant FunctionsPromptTemplate (line 45) | FunctionsPromptTemplate type Evaluator (line 48) | type Evaluator struct method EvaluateTemplateForPrompt (line 58) | func (e *Evaluator) EvaluateTemplateForPrompt(templateType TemplateTyp... method evaluateTemplateForChatMessage (line 92) | func (e *Evaluator) evaluateTemplateForChatMessage(templateName string... method TemplateMessages (line 96) | func (e *Evaluator) TemplateMessages(input schema.OpenAIRequest, messa... function NewEvaluator (line 52) | func NewEvaluator(modelPath string) *Evaluator { FILE: core/templates/evaluator_test.go constant toolCallJinja (line 13) | toolCallJinja = `{{ '<|begin_of_text|>' }}{% if messages[0]['role'] == '... constant chatML (line 21) | chatML = `<|im_start|>{{if eq .RoleName "assistant"}}assistant{{else if ... constant llama3 (line 39) | llama3 = `<|start_header_id|>{{if eq .RoleName "assistant"}}assistant{{e... FILE: core/templates/multimodal.go type MultiModalOptions (line 10) | type MultiModalOptions struct type MultimodalContent (line 20) | type MultimodalContent struct constant DefaultMultiModalTemplate (line 26) | DefaultMultiModalTemplate = "{{ range .Audio }}<__media__>{{end}}{{ rang... function TemplateMultiModal (line 28) | func TemplateMultiModal(templateString string, opts MultiModalOptions, t... FILE: core/templates/templates_suite_test.go function TestTemplates (line 10) | func TestTemplates(t *testing.T) { FILE: core/trace/audio_snippet.go constant MaxSnippetSeconds (line 15) | MaxSnippetSeconds = 30 function AudioSnippet (line 20) | func AudioSnippet(wavPath string) map[string]any { function AudioSnippetFromPCM (line 42) | func AudioSnippetFromPCM(pcm []byte, sampleRate int, totalPCMBytes int) ... FILE: core/trace/backend_trace.go type BackendTraceType (line 14) | type BackendTraceType constant BackendTraceLLM (line 17) | BackendTraceLLM BackendTraceType = "llm" constant BackendTraceEmbedding (line 18) | BackendTraceEmbedding BackendTraceType = "embedding" constant BackendTraceTranscription (line 19) | BackendTraceTranscription BackendTraceType = "transcription" constant BackendTraceImageGeneration (line 20) | BackendTraceImageGeneration BackendTraceType = "image_generation" constant BackendTraceVideoGeneration (line 21) | BackendTraceVideoGeneration BackendTraceType = "video_generation" constant BackendTraceTTS (line 22) | BackendTraceTTS BackendTraceType = "tts" constant BackendTraceSoundGeneration (line 23) | BackendTraceSoundGeneration BackendTraceType = "sound_generation" constant BackendTraceRerank (line 24) | BackendTraceRerank BackendTraceType = "rerank" constant BackendTraceTokenize (line 25) | BackendTraceTokenize BackendTraceType = "tokenize" constant BackendTraceDetection (line 26) | BackendTraceDetection BackendTraceType = "detection" constant BackendTraceModelLoad (line 27) | BackendTraceModelLoad BackendTraceType = "model_load" type BackendTrace (line 30) | type BackendTrace struct function InitBackendTracingIfEnabled (line 46) | func InitBackendTracingIfEnabled(maxItems int) { function RecordBackendTrace (line 67) | func RecordBackendTrace(t BackendTrace) { function GetBackendTraces (line 75) | func GetBackendTraces() []BackendTrace { function ClearBackendTraces (line 96) | func ClearBackendTraces() { function GenerateLLMSummary (line 104) | func GenerateLLMSummary(messages schema.Messages, prompt string) string { function TruncateString (line 127) | func TruncateString(s string, maxLen int) string { FILE: internal/version.go function PrintableVersion (line 8) | func PrintableVersion() string { FILE: pkg/audio/audio.go type WAVHeader (line 11) | type WAVHeader struct method Write (line 53) | func (h *WAVHeader) Write(writer io.Writer) error { function NewWAVHeader (line 32) | func NewWAVHeader(pcmLen uint32) WAVHeader { function NewWAVHeaderWithRate (line 58) | func NewWAVHeaderWithRate(pcmLen, sampleRate uint32) WAVHeader { constant WAVHeaderSize (line 78) | WAVHeaderSize = 44 function StripWAVHeader (line 82) | func StripWAVHeader(data []byte) []byte { function ParseWAV (line 92) | func ParseWAV(data []byte) (pcm []byte, sampleRate int) { FILE: pkg/audio/audio_suite_test.go function TestAudio (line 10) | func TestAudio(t *testing.T) { FILE: pkg/audio/identify.go function extensionFromFileType (line 14) | func extensionFromFileType(ft tag.FileType) string { function contentTypeFromFileType (line 38) | func contentTypeFromFileType(ft tag.FileType) string { function Identify (line 58) | func Identify(r io.ReadSeeker) (ext string, contentType string, err erro... function ContentTypeFromExtension (line 73) | func ContentTypeFromExtension(path string) string { function NormalizeAudioFile (line 97) | func NormalizeAudioFile(path string) (finalPath string, contentType stri... FILE: pkg/concurrency/concurrency_suite_test.go function TestConcurrency (line 10) | func TestConcurrency(t *testing.T) { FILE: pkg/concurrency/jobresult.go type JobResult (line 9) | type JobResult struct type WritableJobResult (line 18) | type WritableJobResult struct method Wait (line 25) | func (jr *JobResult[RequestType, ResultType]) Wait(ctx context.Context) ... method Request (line 42) | func (jr *JobResult[RequestType, ResultType]) Request() *RequestType { method setResult (line 47) | func (jr *JobResult[RequestType, ResultType]) setResult(result ResultTyp... method SetResult (line 56) | func (wjr *WritableJobResult[RequestType, ResultType]) SetResult(result ... function NewJobResult (line 61) | func NewJobResult[RequestType any, ResultType any](request RequestType) ... FILE: pkg/downloader/downloader_suite_test.go function TestDownloader (line 10) | func TestDownloader(t *testing.T) { FILE: pkg/downloader/huggingface.go type HuggingFaceScanResult (line 12) | type HuggingFaceScanResult struct function HuggingFaceScan (line 24) | func HuggingFaceScan(uri URI) (*HuggingFaceScanResult, error) { FILE: pkg/downloader/progress.go type progressWriter (line 8) | type progressWriter struct method Write (line 19) | func (pw *progressWriter) Write(p []byte) (n int, err error) { FILE: pkg/downloader/uri.go constant HuggingFacePrefix (line 27) | HuggingFacePrefix = "huggingface://" constant HuggingFacePrefix1 (line 28) | HuggingFacePrefix1 = "hf://" constant HuggingFacePrefix2 (line 29) | HuggingFacePrefix2 = "hf.co/" constant OCIPrefix (line 30) | OCIPrefix = "oci://" constant OCIFilePrefix (line 31) | OCIFilePrefix = "ocifile://" constant OllamaPrefix (line 32) | OllamaPrefix = "ollama://" constant HTTPPrefix (line 33) | HTTPPrefix = "http://" constant HTTPSPrefix (line 34) | HTTPSPrefix = "https://" constant GithubURI (line 35) | GithubURI = "github:" constant GithubURI2 (line 36) | GithubURI2 = "github://" constant LocalPrefix (line 37) | LocalPrefix = "file://" type URI (line 40) | type URI method ReadWithCallback (line 75) | func (uri URI) ReadWithCallback(basePath string, f func(url string, i ... method ReadWithAuthorizationAndCallback (line 79) | func (uri URI) ReadWithAuthorizationAndCallback(ctx context.Context, b... method FilenameFromUrl (line 133) | func (u URI) FilenameFromUrl() (string, error) { method LooksLikeURL (line 163) | func (u URI) LooksLikeURL() bool { method LooksLikeHTTPURL (line 175) | func (u URI) LooksLikeHTTPURL() bool { method LooksLikeDir (line 180) | func (u URI) LooksLikeDir() bool { method LooksLikeOCI (line 185) | func (s URI) LooksLikeOCI() bool { method LooksLikeOCIFile (line 194) | func (s URI) LooksLikeOCIFile() bool { method ResolveURL (line 198) | func (s URI) ResolveURL() string { method checkSeverSupportsRangeHeader (line 290) | func (uri URI) checkSeverSupportsRangeHeader() (bool, error) { method ContentLength (line 303) | func (u URI) ContentLength(ctx context.Context) (int64, error) { method DownloadFile (line 362) | func (uri URI) DownloadFile(filePath, sha string, fileN, total int, do... method DownloadFileWithContext (line 366) | func (uri URI) DownloadFileWithContext(ctx context.Context, filePath, ... function loadConfig (line 53) | func loadConfig() string { function filenameFromUrl (line 146) | func filenameFromUrl(urlstr string) string { function removePartialFile (line 267) | func removePartialFile(tmpFilePath string) error { function calculateHashForPartialFile (line 281) | func calculateHashForPartialFile(file *os.File) (hash.Hash, error) { function formatBytes (line 587) | func formatBytes(bytes int64) string { function calculateSHA (line 600) | func calculateSHA(filePath string) (string, error) { FILE: pkg/downloader/uri_test.go type RangeHeaderError (line 134) | type RangeHeaderError struct method Error (line 138) | func (e *RangeHeaderError) Error() string { return e.msg } FILE: pkg/format/transcription.go function TranscriptionResponse (line 11) | func TranscriptionResponse(tr *schema.TranscriptionResult, resFmt schema... function durationStr (line 38) | func durationStr(d time.Duration, millisSeparator rune) string { FILE: pkg/functions/chat_deltas.go function ToolCallsFromChatDeltas (line 12) | func ToolCallsFromChatDeltas(deltas []*pb.ChatDelta) []FuncCallResults { function ContentFromChatDeltas (line 92) | func ContentFromChatDeltas(deltas []*pb.ChatDelta) string { function ReasoningFromChatDeltas (line 101) | func ReasoningFromChatDeltas(deltas []*pb.ChatDelta) string { FILE: pkg/functions/function_structure.go type Item (line 9) | type Item struct type JSONFunctionStructure (line 14) | type JSONFunctionStructure struct method Grammar (line 20) | func (j JSONFunctionStructure) Grammar(options ...func(*grammars.Gramm... type SchemaConverter (line 33) | type SchemaConverter interface function NewSchemaConverter (line 37) | func NewSchemaConverter(opt grammars.GrammarOption) SchemaConverter { FILE: pkg/functions/functions.go constant defaultFunctionNameKey (line 10) | defaultFunctionNameKey = "name" constant defaultFunctionArgumentsKey (line 11) | defaultFunctionArgumentsKey = "arguments" type Function (line 14) | type Function struct type Functions (line 20) | type Functions method ToJSONStructure (line 39) | func (f Functions) ToJSONStructure(name, args string) JSONFunctionStru... method Select (line 93) | func (f Functions) Select(name string) Functions { type FunctionName (line 22) | type FunctionName struct type Argument (line 26) | type Argument struct type Tool (line 31) | type Tool struct type Tools (line 35) | type Tools FILE: pkg/functions/functions_suite_test.go function TestFunctions (line 10) | func TestFunctions(t *testing.T) { FILE: pkg/functions/grammars/bnf_rules.go constant SPACE_RULE (line 37) | SPACE_RULE = `" "?` constant arrayNewLines (line 39) | arrayNewLines = `arr ::= constant array (line 45) | array = `arr ::= function jsonString (line 52) | func jsonString(v interface{}) (string, error) { FILE: pkg/functions/grammars/grammars_suite_test.go function TestGrammar (line 12) | func TestGrammar(t *testing.T) { function createFunction (line 17) | func createFunction(field1 string, field2 string, name string, propertie... FILE: pkg/functions/grammars/json_schema.go type JSONSchemaConverter (line 12) | type JSONSchemaConverter struct method formatLiteral (line 33) | func (sc *JSONSchemaConverter) formatLiteral(literal interface{}) (str... method addRule (line 44) | func (sc *JSONSchemaConverter) addRule(name, rule string) string { method visit (line 61) | func (sc *JSONSchemaConverter) visit(schema map[string]interface{}, na... method resolveReference (line 223) | func (sc *JSONSchemaConverter) resolveReference(ref string, rootSchema... method Grammar (line 242) | func (sc *JSONSchemaConverter) Grammar(schema map[string]interface{}, ... method GrammarFromBytes (line 251) | func (sc *JSONSchemaConverter) GrammarFromBytes(b []byte, options ...f... function NewJSONSchemaConverter (line 17) | func NewJSONSchemaConverter(propOrder string) *JSONSchemaConverter { FILE: pkg/functions/grammars/json_schema_test.go function rootResult (line 64) | func rootResult(s string) string { constant testInput1 (line 90) | testInput1 = ` constant inputResult1 (line 122) | inputResult1 = `root-0-function ::= "\"create_event\"" constant inputResult2 (line 139) | inputResult2 = `root-0-function ::= "\"create_event\"" constant testInput2 (line 162) | testInput2 = ` constant inputResult3 (line 194) | inputResult3 = `root-0-name ::= "\"create_event\"" constant inputResult4 (line 211) | inputResult4 = `root-0-name ::= "\"create_event\"" FILE: pkg/functions/grammars/llama31_schema.go type LLama31SchemaConverter (line 11) | type LLama31SchemaConverter struct method formatLiteral (line 36) | func (sc *LLama31SchemaConverter) formatLiteral(literal interface{}) (... method formatLiteralQuoted (line 47) | func (sc *LLama31SchemaConverter) formatLiteralQuoted(literal interfac... method addRule (line 58) | func (sc *LLama31SchemaConverter) addRule(name, rule string) string { method visit (line 75) | func (sc *LLama31SchemaConverter) visit(schema map[string]interface{},... method resolveReference (line 246) | func (sc *LLama31SchemaConverter) resolveReference(ref string, rootSch... method Grammar (line 265) | func (sc *LLama31SchemaConverter) Grammar(schema map[string]interface{... method GrammarFromBytes (line 274) | func (sc *LLama31SchemaConverter) GrammarFromBytes(b []byte, options .... function NewLLama31SchemaConverter (line 16) | func NewLLama31SchemaConverter(fnName string) *LLama31SchemaConverter { FILE: pkg/functions/grammars/llama31_schema_test.go constant testllama31Input1 (line 12) | testllama31Input1 = ` constant testllama31inputResult1 (line 44) | testllama31inputResult1 = `root-0-function ::= "create_event" FILE: pkg/functions/grammars/options.go type GrammarOption (line 3) | type GrammarOption struct method Apply (line 16) | func (o *GrammarOption) Apply(options ...func(*GrammarOption)) { function SetPrefix (line 43) | func SetPrefix(suffix string) func(*GrammarOption) { function SetPropOrder (line 49) | func SetPropOrder(order string) func(*GrammarOption) { function WithSchemaType (line 55) | func WithSchemaType(schemaType SchemaConverterType) func(*GrammarOption) { function WithFunctionName (line 61) | func WithFunctionName(name string) func(*GrammarOption) { FILE: pkg/functions/grammars/rules.go type Rules (line 10) | type Rules method ToGrammar (line 12) | func (rules Rules) ToGrammar(options ...func(*GrammarOption)) string { FILE: pkg/functions/grammars/types.go type SchemaConverterType (line 3) | type SchemaConverterType method String (line 15) | func (s SchemaConverterType) String() string { constant JSONSchema (line 6) | JSONSchema SchemaConverterType = iota constant LLama31Schema (line 7) | LLama31Schema constant LlamaType (line 11) | LlamaType string = "llama3.1" constant JSONType (line 12) | JSONType string = "json" function NewType (line 25) | func NewType(t string) SchemaConverterType { FILE: pkg/functions/iterative_parser.go type ChatMsgPartialException (line 17) | type ChatMsgPartialException struct method Error (line 21) | func (e *ChatMsgPartialException) Error() string { type StringRange (line 26) | type StringRange struct type FindLiteralResult (line 32) | type FindLiteralResult struct type ChatMsgParser (line 39) | type ChatMsgParser struct method SetHealingMarker (line 74) | func (p *ChatMsgParser) SetHealingMarker(marker string) { method Input (line 79) | func (p *ChatMsgParser) Input() string { method Pos (line 84) | func (p *ChatMsgParser) Pos() int { method IsPartial (line 89) | func (p *ChatMsgParser) IsPartial() bool { method HealingMarker (line 94) | func (p *ChatMsgParser) HealingMarker() string { method MoveTo (line 99) | func (p *ChatMsgParser) MoveTo(pos int) error { method MoveBack (line 108) | func (p *ChatMsgParser) MoveBack(n int) error { method Str (line 117) | func (p *ChatMsgParser) Str(rng StringRange) string { method ConsumeRest (line 125) | func (p *ChatMsgParser) ConsumeRest() string { method AddContent (line 135) | func (p *ChatMsgParser) AddContent(content string) { method AddReasoningContent (line 140) | func (p *ChatMsgParser) AddReasoningContent(reasoning string) { method AddToolCall (line 145) | func (p *ChatMsgParser) AddToolCall(name, id, arguments string) bool { method ToolCalls (line 157) | func (p *ChatMsgParser) ToolCalls() []FuncCallResults { method Content (line 162) | func (p *ChatMsgParser) Content() string { method Reasoning (line 167) | func (p *ChatMsgParser) Reasoning() string { method ClearTools (line 211) | func (p *ChatMsgParser) ClearTools() { method TryConsumeLiteral (line 217) | func (p *ChatMsgParser) TryConsumeLiteral(literal string) bool { method ConsumeLiteral (line 232) | func (p *ChatMsgParser) ConsumeLiteral(literal string) error { method TryFindLiteral (line 242) | func (p *ChatMsgParser) TryFindLiteral(literal string) *FindLiteralRes... method ConsumeSpaces (line 294) | func (p *ChatMsgParser) ConsumeSpaces() bool { method TryConsumeJSON (line 322) | func (p *ChatMsgParser) TryConsumeJSON() (any, bool, string, error) { method tryConsumeJSONPrimitive (line 416) | func (p *ChatMsgParser) tryConsumeJSONPrimitive() (any, bool) { method TryConsumeXMLToolCalls (line 616) | func (p *ChatMsgParser) TryConsumeXMLToolCalls(format *XMLToolCallForm... method ParseMsgWithXMLToolCalls (line 1191) | func (p *ChatMsgParser) ParseMsgWithXMLToolCalls(format *XMLToolCallFo... method tryFind2LiteralSplitBySpaces (line 1377) | func (p *ChatMsgParser) tryFind2LiteralSplitBySpaces(literal1, literal... function NewChatMsgParser (line 50) | func NewChatMsgParser(input string, isPartial bool) *ChatMsgParser { function generateHealingMarker (line 64) | func generateHealingMarker(input string) string { function rstrip (line 172) | func rstrip(s string) string { function eraseSpaces (line 178) | func eraseSpaces(str string, l, r int) (string, int) { function stringFindPartialStop (line 280) | func stringFindPartialStop(s, needle string) int { function AllSpace (line 304) | func AllSpace(s string) bool { function allSpaceOrEscapedNewlines (line 312) | func allSpaceOrEscapedNewlines(s string) bool { function isJSONTerminator (line 477) | func isJSONTerminator(ch byte) bool { function utf8TruncateSafeView (line 484) | func utf8TruncateSafeView(s string) string { function isJSONObjectOrArray (line 503) | func isJSONObjectOrArray(v any) bool { function isJSONString (line 513) | func isJSONString(v any) bool { function trimPotentialPartialWord (line 521) | func trimPotentialPartialWord(content string, format *XMLToolCallFormat,... function removeHealingMarkerFromJSON (line 577) | func removeHealingMarkerFromJSON(value map[string]any, marker string) ma... function removeHealingMarkerFromJSONAny (line 593) | func removeHealingMarkerFromJSONAny(value any, marker string) any { FILE: pkg/functions/json_mode.go constant JSONBNF (line 4) | JSONBNF = `root ::= object FILE: pkg/functions/json_stack_parser.go type JSONStackElementType (line 12) | type JSONStackElementType constant JSONStackElementObject (line 15) | JSONStackElementObject JSONStackElementType = iota constant JSONStackElementKey (line 16) | JSONStackElementKey constant JSONStackElementArray (line 17) | JSONStackElementArray type JSONStackElement (line 21) | type JSONStackElement struct type JSONErrorLocator (line 27) | type JSONErrorLocator struct function parseJSONWithStack (line 37) | func parseJSONWithStack(input string, healingMarker string) (any, bool, ... function parseJSONWithStackTracking (line 246) | func parseJSONWithStackTracking(input string, errLoc *JSONErrorLocator) ... FILE: pkg/functions/parse.go type GrammarConfig (line 17) | type GrammarConfig struct type GrammarTrigger (line 56) | type GrammarTrigger struct type FunctionsConfig (line 64) | type FunctionsConfig struct method GrammarOptions (line 218) | func (g FunctionsConfig) GrammarOptions() []func(o *grammars.GrammarOp... type ToolFormatMarkers (line 123) | type ToolFormatMarkers struct type ReplaceResult (line 174) | type ReplaceResult struct type XMLToolCallFormat (line 181) | type XMLToolCallFormat struct type FuncCallResults (line 212) | type FuncCallResults struct function CleanupLLMResult (line 251) | func CleanupLLMResult(llmresult string, functionConfig FunctionsConfig) ... function ParseTextContent (line 265) | func ParseTextContent(llmresult string, functionConfig FunctionsConfig) ... function ParseJSON (line 293) | func ParseJSON(s string) ([]map[string]any, error) { function ParseJSONIterative (line 306) | func ParseJSONIterative(s string, isPartial bool) ([]map[string]any, err... function parseJSONLegacy (line 350) | func parseJSONLegacy(s string) ([]map[string]any, error) { function GetXMLFormatPreset (line 385) | func GetXMLFormatPreset(name string) *XMLToolCallFormat { type xmlFormatPreset (line 396) | type xmlFormatPreset struct function getAllXMLFormats (line 402) | func getAllXMLFormats() []xmlFormatPreset { function ParseXML (line 529) | func ParseXML(s string, format *XMLToolCallFormat) ([]FuncCallResults, e... function getScopeOrToolStart (line 543) | func getScopeOrToolStart(format *XMLToolCallFormat) string { function tryParseXMLFromScopeStart (line 557) | func tryParseXMLFromScopeStart(s string, format *XMLToolCallFormat, isPa... function ParseXMLIterative (line 588) | func ParseXMLIterative(s string, format *XMLToolCallFormat, isPartial bo... function parseFunctionaryFormat (line 653) | func parseFunctionaryFormat(s string, format *XMLToolCallFormat) ([]Func... function parseJSONLikeXMLFormat (line 684) | func parseJSONLikeXMLFormat(s string, format *XMLToolCallFormat) ([]Func... constant XML_TOOL_CALL_PARTIAL_FLAG (line 750) | XML_TOOL_CALL_PARTIAL_FLAG = "XML_TOOL_CALL_PARTIAL_FLAG" function partialJSON (line 754) | func partialJSON(jsonStr string) (string, bool) { function genPartialJSON (line 775) | func genPartialJSON(args map[string]any, functionName string, rest strin... function parseParameterValue (line 795) | func parseParameterValue(paramValue string, format *XMLToolCallFormat) a... function ParseFunctionCall (line 832) | func ParseFunctionCall(llmresult string, functionConfig FunctionsConfig)... function mergeResults (line 1000) | func mergeResults(existing, additional []FuncCallResults) []FuncCallResu... function ParseFunctionCallArgs (line 1015) | func ParseFunctionCallArgs(functionArguments string, functionConfig Func... FILE: pkg/functions/peg/arena.go type Arena (line 6) | type Arena struct method addParser (line 19) | func (a *Arena) addParser(p Parser) ParserID { method Get (line 25) | func (a *Arena) Get(id ParserID) Parser { method Root (line 29) | func (a *Arena) Root() ParserID { method SetRoot (line 33) | func (a *Arena) SetRoot(id ParserID) { method GetRule (line 37) | func (a *Arena) GetRule(name string) ParserID { method HasRule (line 45) | func (a *Arena) HasRule(name string) bool { method Parse (line 51) | func (a *Arena) Parse(ctx *ParseContext) ParseResult { method ParseFrom (line 59) | func (a *Arena) ParseFrom(ctx *ParseContext, start int) ParseResult { method ParseAt (line 67) | func (a *Arena) ParseAt(id ParserID, ctx *ParseContext, start int) Par... method ParseAnywhere (line 73) | func (a *Arena) ParseAnywhere(ctx *ParseContext) ParseResult { method resolveRefs (line 90) | func (a *Arena) resolveRefs() { method resolveRef (line 131) | func (a *Arena) resolveRef(id ParserID) ParserID { function NewArena (line 12) | func NewArena() *Arena { FILE: pkg/functions/peg/builder.go type Builder (line 8) | type Builder struct method add (line 21) | func (b *Builder) add(p Parser) ParserID { method Eps (line 26) | func (b *Builder) Eps() ParserID { method Start (line 31) | func (b *Builder) Start() ParserID { method End (line 36) | func (b *Builder) End() ParserID { method Literal (line 41) | func (b *Builder) Literal(s string) ParserID { method Seq (line 46) | func (b *Builder) Seq(children ...ParserID) ParserID { method Choice (line 60) | func (b *Builder) Choice(children ...ParserID) ParserID { method Optional (line 74) | func (b *Builder) Optional(child ParserID) ParserID { method ZeroOrMore (line 79) | func (b *Builder) ZeroOrMore(child ParserID) ParserID { method OneOrMore (line 84) | func (b *Builder) OneOrMore(child ParserID) ParserID { method Repeat (line 89) | func (b *Builder) Repeat(child ParserID, min, max int) ParserID { method Peek (line 94) | func (b *Builder) Peek(child ParserID) ParserID { method Negate (line 99) | func (b *Builder) Negate(child ParserID) ParserID { method Any (line 104) | func (b *Builder) Any() ParserID { method Space (line 109) | func (b *Builder) Space() ParserID { method Chars (line 114) | func (b *Builder) Chars(classes string, min, max int) ParserID { method Until (line 126) | func (b *Builder) Until(delimiter string) ParserID { method UntilOneOf (line 131) | func (b *Builder) UntilOneOf(delimiters ...string) ParserID { method Rest (line 136) | func (b *Builder) Rest() ParserID { method JSONString (line 141) | func (b *Builder) JSONString() ParserID { method JSON (line 146) | func (b *Builder) JSON() ParserID { method JSONNumber (line 151) | func (b *Builder) JSONNumber() ParserID { method PythonDictString (line 157) | func (b *Builder) PythonDictString() ParserID { method DoubleQuotedString (line 162) | func (b *Builder) DoubleQuotedString() ParserID { method SingleQuotedString (line 169) | func (b *Builder) SingleQuotedString() ParserID { method FlexibleString (line 176) | func (b *Builder) FlexibleString() ParserID { method Marker (line 183) | func (b *Builder) Marker() ParserID { method PythonValue (line 191) | func (b *Builder) PythonValue() ParserID { method PythonString (line 201) | func (b *Builder) PythonString() ParserID { method PythonBool (line 208) | func (b *Builder) PythonBool() ParserID { method PythonNull (line 215) | func (b *Builder) PythonNull() ParserID { method PythonDict (line 222) | func (b *Builder) PythonDict() ParserID { method PythonArray (line 234) | func (b *Builder) PythonArray() ParserID { method LazyRule (line 247) | func (b *Builder) LazyRule(name string, builderFn func() ParserID) Par... method Rule (line 268) | func (b *Builder) Rule(name string, child ParserID) ParserID { method TriggerRule (line 276) | func (b *Builder) TriggerRule(name string, child ParserID) ParserID { method Ref (line 284) | func (b *Builder) Ref(name string) ParserID { method Atomic (line 289) | func (b *Builder) Atomic(child ParserID) ParserID { method Tag (line 294) | func (b *Builder) Tag(tag string, child ParserID) ParserID { method Schema (line 299) | func (b *Builder) Schema(child ParserID, name string) ParserID { method SetRoot (line 304) | func (b *Builder) SetRoot(id ParserID) { method Build (line 309) | func (b *Builder) Build() *Arena { function NewBuilder (line 12) | func NewBuilder() *Builder { function parseCharClasses (line 321) | func parseCharClasses(classes string) ([]CharRange, bool) { function ParseCharClassChar (line 354) | func ParseCharClassChar(content string, pos int) (rune, int) { function parseHexEscape (line 391) | func parseHexEscape(s string, pos, count int) (rune, int) { type jsonNumberParser (line 414) | type jsonNumberParser struct method parse (line 416) | func (p *jsonNumberParser) parse(_ *Arena, ctx *ParseContext, start in... function BuildPegParser (line 430) | func BuildPegParser(fn func(b *Builder) ParserID) *Arena { FILE: pkg/functions/peg/chat.go constant TagReasoningBlock (line 7) | TagReasoningBlock = "reasoning-block" constant TagReasoning (line 8) | TagReasoning = "reasoning" constant TagContent (line 9) | TagContent = "content" constant TagTool (line 10) | TagTool = "tool" constant TagToolOpen (line 11) | TagToolOpen = "tool-open" constant TagToolClose (line 12) | TagToolClose = "tool-close" constant TagToolID (line 13) | TagToolID = "tool-id" constant TagToolName (line 14) | TagToolName = "tool-name" constant TagToolArgs (line 15) | TagToolArgs = "tool-args" constant TagToolArg (line 16) | TagToolArg = "tool-arg" constant TagToolArgOpen (line 17) | TagToolArgOpen = "tool-arg-open" constant TagToolArgClose (line 18) | TagToolArgClose = "tool-arg-close" constant TagToolArgName (line 19) | TagToolArgName = "tool-arg-name" constant TagToolArgValue (line 20) | TagToolArgValue = "tool-arg-value" constant TagToolArgStrVal (line 21) | TagToolArgStrVal = "tool-arg-string-value" type ChatBuilder (line 25) | type ChatBuilder struct method ReasoningBlock (line 34) | func (cb *ChatBuilder) ReasoningBlock(child ParserID) ParserID { method Reasoning (line 37) | func (cb *ChatBuilder) Reasoning(child ParserID) ParserID { method Content (line 40) | func (cb *ChatBuilder) Content(child ParserID) ParserID { method Tool (line 43) | func (cb *ChatBuilder) Tool(child ParserID) ParserID { method ToolOpen (line 46) | func (cb *ChatBuilder) ToolOpen(child ParserID) ParserID { method ToolClose (line 49) | func (cb *ChatBuilder) ToolClose(child ParserID) ParserID { method ToolID (line 52) | func (cb *ChatBuilder) ToolID(child ParserID) ParserID { method ToolName (line 55) | func (cb *ChatBuilder) ToolName(child ParserID) ParserID { method ToolArgs (line 58) | func (cb *ChatBuilder) ToolArgs(child ParserID) ParserID { method ToolArg (line 61) | func (cb *ChatBuilder) ToolArg(child ParserID) ParserID { method ToolArgOpen (line 64) | func (cb *ChatBuilder) ToolArgOpen(child ParserID) ParserID { method ToolArgClose (line 67) | func (cb *ChatBuilder) ToolArgClose(child ParserID) ParserID { method ToolArgName (line 70) | func (cb *ChatBuilder) ToolArgName(child ParserID) ParserID { method ToolArgValue (line 73) | func (cb *ChatBuilder) ToolArgValue(child ParserID) ParserID { method ToolArgStringValue (line 76) | func (cb *ChatBuilder) ToolArgStringValue(child ParserID) ParserID { method ToolArgJSONValue (line 79) | func (cb *ChatBuilder) ToolArgJSONValue(child ParserID) ParserID { method TagWithSafeContent (line 84) | func (cb *ChatBuilder) TagWithSafeContent(tagName, marker string, p Pa... method StandardConstructedTools (line 112) | func (cb *ChatBuilder) StandardConstructedTools( method StandardJSONTools (line 279) | func (cb *ChatBuilder) StandardJSONTools(opts StandardJSONToolsOpts) P... method buildJSONToolsFunctionIsKey (line 330) | func (cb *ChatBuilder) buildJSONToolsFunctionIsKey( method buildJSONToolsNestedKeys (line 414) | func (cb *ChatBuilder) buildJSONToolsNestedKeys( method buildJSONToolsFlatKeys (line 493) | func (cb *ChatBuilder) buildJSONToolsFlatKeys( function NewChatBuilder (line 29) | func NewChatBuilder() *ChatBuilder { type ToolDef (line 101) | type ToolDef struct type PropDef (line 107) | type PropDef struct type StandardJSONToolsOpts (line 263) | type StandardJSONToolsOpts struct type keySpec (line 400) | type keySpec struct function parseKeySpec (line 405) | func parseKeySpec(key string) keySpec { type parserPair (line 559) | type parserPair struct function sortPairsByOrder (line 564) | func sortPairsByOrder(pairs []parserPair, order []string) { function BuildChatPegParser (line 582) | func BuildChatPegParser(fn func(cb *ChatBuilder) ParserID) *Arena { type ToolCall (line 590) | type ToolCall struct type ChatMsg (line 597) | type ChatMsg struct type ChatPegMapper (line 604) | type ChatPegMapper struct method argsTarget (line 614) | func (m *ChatPegMapper) argsTarget() *string { method FromAST (line 622) | func (m *ChatPegMapper) FromAST(ast *AstArena, result *ParseResult) { method mapNode (line 640) | func (m *ChatPegMapper) mapNode(node *AstNode) { function NormalizeQuotesToJSON (line 806) | func NormalizeQuotesToJSON(input string) string { function EscapeJSONStringInner (line 870) | func EscapeJSONStringInner(s string) string { function escapeJSONString (line 882) | func escapeJSONString(s string) string { function jsonBraceDepth (line 890) | func jsonBraceDepth(s string) int { function trimTrailingSpace (line 919) | func trimTrailingSpace(s string) string { function trimLeadingSpace (line 927) | func trimLeadingSpace(s string, max int) string { function trimSpace (line 940) | func trimSpace(s string) string { function trimOneSpace (line 945) | func trimOneSpace(s string) string { FILE: pkg/functions/peg/chat_test.go function createTools (line 9) | func createTools() []peg.ToolDef { function simpleTokenize (line 37) | func simpleTokenize(input string) []string { FILE: pkg/functions/peg/parser.go type Parser (line 5) | type Parser interface type EpsilonParser (line 10) | type EpsilonParser struct method parse (line 12) | func (p *EpsilonParser) parse(_ *Arena, _ *ParseContext, start int) Pa... type StartParser (line 17) | type StartParser struct method parse (line 19) | func (p *StartParser) parse(_ *Arena, _ *ParseContext, start int) Pars... type EndParser (line 27) | type EndParser struct method parse (line 29) | func (p *EndParser) parse(_ *Arena, ctx *ParseContext, start int) Pars... type LiteralParser (line 37) | type LiteralParser struct method parse (line 41) | func (p *LiteralParser) parse(_ *Arena, ctx *ParseContext, start int) ... type SequenceParser (line 59) | type SequenceParser struct method parse (line 63) | func (p *SequenceParser) parse(arena *Arena, ctx *ParseContext, start ... type ChoiceParser (line 90) | type ChoiceParser struct method parse (line 94) | func (p *ChoiceParser) parse(arena *Arena, ctx *ParseContext, start in... type RepetitionParser (line 105) | type RepetitionParser struct method parse (line 111) | func (p *RepetitionParser) parse(arena *Arena, ctx *ParseContext, star... type AndParser (line 154) | type AndParser struct method parse (line 158) | func (p *AndParser) parse(arena *Arena, ctx *ParseContext, start int) ... type NotParser (line 164) | type NotParser struct method parse (line 168) | func (p *NotParser) parse(arena *Arena, ctx *ParseContext, start int) ... type AnyParser (line 180) | type AnyParser struct method parse (line 182) | func (p *AnyParser) parse(_ *Arena, ctx *ParseContext, start int) Pars... type SpaceParser (line 197) | type SpaceParser struct method parse (line 199) | func (p *SpaceParser) parse(_ *Arena, ctx *ParseContext, start int) Pa... type CharRange (line 213) | type CharRange struct method Contains (line 218) | func (r CharRange) Contains(cp rune) bool { type CharsParser (line 223) | type CharsParser struct method parse (line 231) | func (p *CharsParser) parse(_ *Arena, ctx *ParseContext, start int) Pa... type JSONStringParser (line 286) | type JSONStringParser struct method parse (line 288) | func (p *JSONStringParser) parse(_ *Arena, ctx *ParseContext, start in... type PythonDictStringParser (line 327) | type PythonDictStringParser struct method parse (line 329) | func (p *PythonDictStringParser) parse(_ *Arena, ctx *ParseContext, st... function handleEscapeSequence (line 366) | func handleEscapeSequence(ctx *ParseContext, start int, pos int) ParseRe... function handleUnicodeEscape (line 386) | func handleUnicodeEscape(ctx *ParseContext, start int, pos int) ParseRes... function isHexDigit (line 403) | func isHexDigit(c byte) bool { type UntilParser (line 408) | type UntilParser struct method parse (line 412) | func (p *UntilParser) parse(_ *Arena, ctx *ParseContext, start int) Pa... type RuleParser (line 453) | type RuleParser struct method parse (line 459) | func (p *RuleParser) parse(arena *Arena, ctx *ParseContext, start int)... type RefParser (line 484) | type RefParser struct method parse (line 488) | func (p *RefParser) parse(arena *Arena, ctx *ParseContext, start int) ... type AtomicParser (line 494) | type AtomicParser struct method parse (line 498) | func (p *AtomicParser) parse(arena *Arena, ctx *ParseContext, start in... type TagParser (line 507) | type TagParser struct method parse (line 512) | func (p *TagParser) parse(arena *Arena, ctx *ParseContext, start int) ... type SchemaParser (line 537) | type SchemaParser struct method parse (line 542) | func (p *SchemaParser) parse(arena *Arena, ctx *ParseContext, start in... type JSONParser (line 547) | type JSONParser struct method parse (line 551) | func (p *JSONParser) parse(_ *Arena, ctx *ParseContext, start int) Par... function isWhitespace (line 555) | func isWhitespace(c byte) bool { function parseLiteralAt (line 559) | func parseLiteralAt(ctx *ParseContext, start, pos int, lit string) Parse... function parseJSONString (line 574) | func parseJSONString(ctx *ParseContext, start, pos int) ParseResult { function parseJSONNumber (line 629) | func parseJSONNumber(ctx *ParseContext, start, pos int) ParseResult { function isNumberContinuation (line 692) | func isNumberContinuation(c byte) bool { function parseJSONObject (line 696) | func parseJSONObject(ctx *ParseContext, start, pos int) ParseResult { function parseJSONArray (line 761) | func parseJSONArray(ctx *ParseContext, start, pos int) ParseResult { function parseJSONValue (line 797) | func parseJSONValue(ctx *ParseContext, start, pos int) ParseResult { function skipWS (line 826) | func skipWS(input string, pos int) int { FILE: pkg/functions/peg/parser_test.go function extractTags (line 9) | func extractTags(ast *peg.AstArena, result *peg.ParseResult) map[string]... FILE: pkg/functions/peg/peg_suite_test.go function TestPeg (line 10) | func TestPeg(t *testing.T) { FILE: pkg/functions/peg/trie.go type trie (line 4) | type trie struct method createNode (line 30) | func (t *trie) createNode() int { method insert (line 36) | func (t *trie) insert(word string) { method checkAt (line 51) | func (t *trie) checkAt(input string, pos int) trieMatch { type trieNode (line 8) | type trieNode struct type trieMatch (line 13) | type trieMatch constant trieNoMatch (line 16) | trieNoMatch trieMatch = 0 constant triePartialMatch (line 17) | triePartialMatch trieMatch = 1 constant trieCompleteMatch (line 18) | trieCompleteMatch trieMatch = 2 function newTrie (line 21) | func newTrie(words []string) *trie { FILE: pkg/functions/peg/types.go type ParserID (line 6) | type ParserID constant InvalidParserID (line 8) | InvalidParserID ParserID = -1 type AstID (line 11) | type AstID constant InvalidAstID (line 13) | InvalidAstID AstID = -1 type ParseResultType (line 16) | type ParseResultType method String (line 24) | func (t ParseResultType) String() string { constant Fail (line 19) | Fail ParseResultType = 0 constant Success (line 20) | Success ParseResultType = 1 constant NeedMoreInput (line 21) | NeedMoreInput ParseResultType = 2 type ParseResult (line 38) | type ParseResult struct function NewParseResult (line 45) | func NewParseResult(typ ParseResultType, start int) ParseResult { function NewParseResultRange (line 49) | func NewParseResultRange(typ ParseResultType, start, end int) ParseResult { function NewParseResultNodes (line 53) | func NewParseResultNodes(typ ParseResultType, start, end int, nodes []As... type AstNode (line 58) | type AstNode struct type AstArena (line 70) | type AstArena struct method AddNode (line 74) | func (a *AstArena) AddNode(rule, tag string, start, end int, text stri... method Get (line 89) | func (a *AstArena) Get(id AstID) *AstNode { method Size (line 93) | func (a *AstArena) Size() int { method Clear (line 97) | func (a *AstArena) Clear() { method Visit (line 102) | func (a *AstArena) Visit(id AstID, fn func(*AstNode)) { method VisitResult (line 114) | func (a *AstArena) VisitResult(result *ParseResult, fn func(*AstNode)) { type ParseContext (line 121) | type ParseContext struct function NewParseContext (line 128) | func NewParseContext(input string, isPartial bool) *ParseContext { type utf8Status (line 137) | type utf8Status constant utf8Success (line 140) | utf8Success utf8Status = 0 constant utf8Incomplete (line 141) | utf8Incomplete utf8Status = 1 constant utf8Invalid (line 142) | utf8Invalid utf8Status = 2 function parseUTF8Codepoint (line 145) | func parseUTF8Codepoint(input string, pos int) (rune, int, utf8Status) { FILE: pkg/functions/peg_integration.go type PEGFormatType (line 11) | type PEGFormatType constant FormatJSONNative (line 14) | FormatJSONNative PEGFormatType = iota constant FormatTagWithJSON (line 15) | FormatTagWithJSON constant FormatTagWithTagged (line 16) | FormatTagWithTagged function ParseFunctionCallPEG (line 21) | func ParseFunctionCallPEG(llmresult string, config FunctionsConfig) []Fu... function pegTypeName (line 120) | func pegTypeName(t PEGFormatType) string { function classifyXMLFormat (line 134) | func classifyXMLFormat(f *XMLToolCallFormat) PEGFormatType { function BuildPEGParserFromFormat (line 155) | func BuildPEGParserFromFormat(f *XMLToolCallFormat, pegType PEGFormatTyp... function buildTaggedPEGParser (line 166) | func buildTaggedPEGParser(f *XMLToolCallFormat) *peg.Arena { function buildJSONNativePEGParser (line 243) | func buildJSONNativePEGParser(f *XMLToolCallFormat) *peg.Arena { function BuildPEGParserFromMarkers (line 293) | func BuildPEGParserFromMarkers(m *ToolFormatMarkers) *peg.Arena { function buildPEGFromMarkersTagJSON (line 306) | func buildPEGFromMarkersTagJSON(m *ToolFormatMarkers) *peg.Arena { function buildPEGFromMarkersTagTagged (line 370) | func buildPEGFromMarkersTagTagged(m *ToolFormatMarkers) *peg.Arena { function buildPEGFromMarkersJSONNative (line 408) | func buildPEGFromMarkersJSONNative(m *ToolFormatMarkers) *peg.Arena { function effectiveScope (line 481) | func effectiveScope(m *ToolFormatMarkers) (string, string) { function buildCallIDParser (line 493) | func buildCallIDParser(p *peg.ChatBuilder, m *ToolFormatMarkers) peg.Par... function parsePEG (line 505) | func parsePEG(arena *peg.Arena, input string) []FuncCallResults { FILE: pkg/grpc/backend.go function Provide (line 12) | func Provide(addr string, llm AIModel) { function NewClient (line 16) | func NewClient(address string, parallel bool, wd WatchDog, enableWatchDo... function buildClient (line 23) | func buildClient(address string, parallel bool, wd WatchDog, enableWatch... type Backend (line 34) | type Backend interface FILE: pkg/grpc/base/base.go type Base (line 16) | type Base struct method Locking (line 19) | func (llm *Base) Locking() bool { method Lock (line 23) | func (llm *Base) Lock() { method Unlock (line 27) | func (llm *Base) Unlock() { method Busy (line 31) | func (llm *Base) Busy() bool { method Load (line 35) | func (llm *Base) Load(opts *pb.ModelOptions) error { method Predict (line 39) | func (llm *Base) Predict(opts *pb.PredictOptions) (string, error) { method PredictStream (line 43) | func (llm *Base) PredictStream(opts *pb.PredictOptions, results chan s... method Embeddings (line 48) | func (llm *Base) Embeddings(opts *pb.PredictOptions) ([]float32, error) { method GenerateImage (line 52) | func (llm *Base) GenerateImage(*pb.GenerateImageRequest) error { method GenerateVideo (line 56) | func (llm *Base) GenerateVideo(*pb.GenerateVideoRequest) error { method AudioTranscription (line 60) | func (llm *Base) AudioTranscription(*pb.TranscriptRequest) (pb.Transcr... method TTS (line 64) | func (llm *Base) TTS(*pb.TTSRequest) error { method TTSStream (line 68) | func (llm *Base) TTSStream(*pb.TTSRequest, chan []byte) error { method SoundGeneration (line 72) | func (llm *Base) SoundGeneration(*pb.SoundGenerationRequest) error { method Detect (line 76) | func (llm *Base) Detect(*pb.DetectOptions) (pb.DetectResponse, error) { method TokenizeString (line 80) | func (llm *Base) TokenizeString(opts *pb.PredictOptions) (pb.Tokenizat... method ModelMetadata (line 84) | func (llm *Base) ModelMetadata(opts *pb.ModelOptions) (*pb.ModelMetada... method Status (line 89) | func (llm *Base) Status() (pb.StatusResponse, error) { method StoresSet (line 95) | func (llm *Base) StoresSet(*pb.StoresSetOptions) error { method StoresGet (line 99) | func (llm *Base) StoresGet(*pb.StoresGetOptions) (pb.StoresGetResult, ... method StoresDelete (line 103) | func (llm *Base) StoresDelete(*pb.StoresDeleteOptions) error { method StoresFind (line 107) | func (llm *Base) StoresFind(*pb.StoresFindOptions) (pb.StoresFindResul... method VAD (line 111) | func (llm *Base) VAD(*pb.VADRequest) (pb.VADResponse, error) { method AudioEncode (line 115) | func (llm *Base) AudioEncode(*pb.AudioEncodeRequest) (*pb.AudioEncodeR... method AudioDecode (line 119) | func (llm *Base) AudioDecode(*pb.AudioDecodeRequest) (*pb.AudioDecodeR... method Free (line 141) | func (llm *Base) Free() error { function memoryUsage (line 123) | func memoryUsage() *pb.MemoryUsageData { FILE: pkg/grpc/base/singlethread.go type SingleThread (line 13) | type SingleThread struct method Locking (line 19) | func (llm *SingleThread) Locking() bool { method Lock (line 23) | func (llm *SingleThread) Lock() { method Unlock (line 27) | func (llm *SingleThread) Unlock() { method Busy (line 31) | func (llm *SingleThread) Busy() bool { method Status (line 40) | func (llm *SingleThread) Status() (pb.StatusResponse, error) { method Free (line 57) | func (llm *SingleThread) Free() error { FILE: pkg/grpc/client.go type Client (line 15) | type Client struct method IsBusy (line 29) | func (c *Client) IsBusy() bool { method setBusy (line 35) | func (c *Client) setBusy(v bool) { method wdMark (line 41) | func (c *Client) wdMark() { method wdUnMark (line 47) | func (c *Client) wdUnMark() { method HealthCheck (line 53) | func (c *Client) HealthCheck(ctx context.Context) (bool, error) { method Embeddings (line 87) | func (c *Client) Embeddings(ctx context.Context, in *pb.PredictOptions... method Predict (line 110) | func (c *Client) Predict(ctx context.Context, in *pb.PredictOptions, o... method LoadModel (line 133) | func (c *Client) LoadModel(ctx context.Context, in *pb.ModelOptions, o... method PredictStream (line 155) | func (c *Client) PredictStream(ctx context.Context, in *pb.PredictOpti... method GenerateImage (line 207) | func (c *Client) GenerateImage(ctx context.Context, in *pb.GenerateIma... method GenerateVideo (line 229) | func (c *Client) GenerateVideo(ctx context.Context, in *pb.GenerateVid... method TTS (line 251) | func (c *Client) TTS(ctx context.Context, in *pb.TTSRequest, opts ...g... method TTSStream (line 273) | func (c *Client) TTSStream(ctx context.Context, in *pb.TTSRequest, f f... method SoundGeneration (line 323) | func (c *Client) SoundGeneration(ctx context.Context, in *pb.SoundGene... method AudioTranscription (line 345) | func (c *Client) AudioTranscription(ctx context.Context, in *pb.Transc... method TokenizeString (line 367) | func (c *Client) TokenizeString(ctx context.Context, in *pb.PredictOpt... method Status (line 395) | func (c *Client) Status(ctx context.Context) (*pb.StatusResponse, erro... method StoresSet (line 415) | func (c *Client) StoresSet(ctx context.Context, in *pb.StoresSetOption... method StoresDelete (line 437) | func (c *Client) StoresDelete(ctx context.Context, in *pb.StoresDelete... method StoresGet (line 459) | func (c *Client) StoresGet(ctx context.Context, in *pb.StoresGetOption... method StoresFind (line 481) | func (c *Client) StoresFind(ctx context.Context, in *pb.StoresFindOpti... method Rerank (line 503) | func (c *Client) Rerank(ctx context.Context, in *pb.RerankRequest, opt... method GetTokenMetrics (line 525) | func (c *Client) GetTokenMetrics(ctx context.Context, in *pb.MetricsRe... method VAD (line 547) | func (c *Client) VAD(ctx context.Context, in *pb.VADRequest, opts ...g... method Detect (line 569) | func (c *Client) Detect(ctx context.Context, in *pb.DetectOptions, opt... method AudioEncode (line 591) | func (c *Client) AudioEncode(ctx context.Context, in *pb.AudioEncodeRe... method AudioDecode (line 613) | func (c *Client) AudioDecode(ctx context.Context, in *pb.AudioDecodeRe... method ModelMetadata (line 635) | func (c *Client) ModelMetadata(ctx context.Context, in *pb.ModelOption... type WatchDog (line 24) | type WatchDog interface FILE: pkg/grpc/embed.go type embedBackend (line 14) | type embedBackend struct method IsBusy (line 18) | func (e *embedBackend) IsBusy() bool { method HealthCheck (line 22) | func (e *embedBackend) HealthCheck(ctx context.Context) (bool, error) { method Embeddings (line 26) | func (e *embedBackend) Embeddings(ctx context.Context, in *pb.PredictO... method Predict (line 30) | func (e *embedBackend) Predict(ctx context.Context, in *pb.PredictOpti... method LoadModel (line 34) | func (e *embedBackend) LoadModel(ctx context.Context, in *pb.ModelOpti... method PredictStream (line 38) | func (e *embedBackend) PredictStream(ctx context.Context, in *pb.Predi... method GenerateImage (line 46) | func (e *embedBackend) GenerateImage(ctx context.Context, in *pb.Gener... method GenerateVideo (line 50) | func (e *embedBackend) GenerateVideo(ctx context.Context, in *pb.Gener... method TTS (line 54) | func (e *embedBackend) TTS(ctx context.Context, in *pb.TTSRequest, opt... method TTSStream (line 58) | func (e *embedBackend) TTSStream(ctx context.Context, in *pb.TTSReques... method SoundGeneration (line 66) | func (e *embedBackend) SoundGeneration(ctx context.Context, in *pb.Sou... method Detect (line 70) | func (e *embedBackend) Detect(ctx context.Context, in *pb.DetectOption... method AudioTranscription (line 74) | func (e *embedBackend) AudioTranscription(ctx context.Context, in *pb.... method TokenizeString (line 78) | func (e *embedBackend) TokenizeString(ctx context.Context, in *pb.Pred... method Status (line 82) | func (e *embedBackend) Status(ctx context.Context) (*pb.StatusResponse... method StoresSet (line 86) | func (e *embedBackend) StoresSet(ctx context.Context, in *pb.StoresSet... method StoresDelete (line 90) | func (e *embedBackend) StoresDelete(ctx context.Context, in *pb.Stores... method StoresGet (line 94) | func (e *embedBackend) StoresGet(ctx context.Context, in *pb.StoresGet... method StoresFind (line 98) | func (e *embedBackend) StoresFind(ctx context.Context, in *pb.StoresFi... method Rerank (line 102) | func (e *embedBackend) Rerank(ctx context.Context, in *pb.RerankReques... method VAD (line 106) | func (e *embedBackend) VAD(ctx context.Context, in *pb.VADRequest, opt... method AudioEncode (line 110) | func (e *embedBackend) AudioEncode(ctx context.Context, in *pb.AudioEn... method AudioDecode (line 114) | func (e *embedBackend) AudioDecode(ctx context.Context, in *pb.AudioDe... method ModelMetadata (line 118) | func (e *embedBackend) ModelMetadata(ctx context.Context, in *pb.Model... method GetTokenMetrics (line 122) | func (e *embedBackend) GetTokenMetrics(ctx context.Context, in *pb.Met... type embedBackendServerStream (line 126) | type embedBackendServerStream struct method Send (line 131) | func (e *embedBackendServerStream) Send(reply *pb.Reply) error { method SetHeader (line 136) | func (e *embedBackendServerStream) SetHeader(md metadata.MD) error { method SendHeader (line 140) | func (e *embedBackendServerStream) SendHeader(md metadata.MD) error { method SetTrailer (line 144) | func (e *embedBackendServerStream) SetTrailer(md metadata.MD) { method Context (line 147) | func (e *embedBackendServerStream) Context() context.Context { method SendMsg (line 151) | func (e *embedBackendServerStream) SendMsg(m any) error { method RecvMsg (line 158) | func (e *embedBackendServerStream) RecvMsg(m any) error { FILE: pkg/grpc/interface.go type AIModel (line 7) | type AIModel interface function newReply (line 40) | func newReply(s string) *pb.Reply { FILE: pkg/grpc/server.go type server (line 23) | type server struct method Health (line 28) | func (s *server) Health(ctx context.Context, in *pb.HealthMessage) (*p... method Embedding (line 32) | func (s *server) Embedding(ctx context.Context, in *pb.PredictOptions)... method LoadModel (line 45) | func (s *server) LoadModel(ctx context.Context, in *pb.ModelOptions) (... method Predict (line 57) | func (s *server) Predict(ctx context.Context, in *pb.PredictOptions) (... method GenerateImage (line 66) | func (s *server) GenerateImage(ctx context.Context, in *pb.GenerateIma... method GenerateVideo (line 78) | func (s *server) GenerateVideo(ctx context.Context, in *pb.GenerateVid... method TTS (line 90) | func (s *server) TTS(ctx context.Context, in *pb.TTSRequest) (*pb.Resu... method TTSStream (line 102) | func (s *server) TTSStream(in *pb.TTSRequest, stream pb.Backend_TTSStr... method SoundGeneration (line 123) | func (s *server) SoundGeneration(ctx context.Context, in *pb.SoundGene... method Detect (line 135) | func (s *server) Detect(ctx context.Context, in *pb.DetectOptions) (*p... method AudioTranscription (line 147) | func (s *server) AudioTranscription(ctx context.Context, in *pb.Transc... method PredictStream (line 176) | func (s *server) PredictStream(in *pb.PredictOptions, stream pb.Backen... method TokenizeString (line 197) | func (s *server) TokenizeString(ctx context.Context, in *pb.PredictOpt... method Status (line 218) | func (s *server) Status(ctx context.Context, in *pb.HealthMessage) (*p... method StoresSet (line 227) | func (s *server) StoresSet(ctx context.Context, in *pb.StoresSetOption... method StoresDelete (line 239) | func (s *server) StoresDelete(ctx context.Context, in *pb.StoresDelete... method StoresGet (line 251) | func (s *server) StoresGet(ctx context.Context, in *pb.StoresGetOption... method StoresFind (line 263) | func (s *server) StoresFind(ctx context.Context, in *pb.StoresFindOpti... method VAD (line 275) | func (s *server) VAD(ctx context.Context, in *pb.VADRequest) (*pb.VADR... method AudioEncode (line 287) | func (s *server) AudioEncode(ctx context.Context, in *pb.AudioEncodeRe... method AudioDecode (line 299) | func (s *server) AudioDecode(ctx context.Context, in *pb.AudioDecodeRe... method ModelMetadata (line 311) | func (s *server) ModelMetadata(ctx context.Context, in *pb.ModelOption... function StartServer (line 323) | func StartServer(address string, model AIModel) error { function RunServer (line 341) | func RunServer(address string, model AIModel) (func() error, error) { FILE: pkg/huggingface-api/client.go type Model (line 13) | type Model struct type FileInfo (line 32) | type FileInfo struct type LFSInfo (line 42) | type LFSInfo struct type ModelFile (line 49) | type ModelFile struct type ModelDetails (line 58) | type ModelDetails struct type SearchParams (line 67) | type SearchParams struct type Client (line 75) | type Client struct method SearchModels (line 89) | func (c *Client) SearchModels(params SearchParams) ([]Model, error) { method GetLatest (line 130) | func (c *Client) GetLatest(searchTerm string, limit int) ([]Model, err... method BaseURL (line 142) | func (c *Client) BaseURL() string { method SetBaseURL (line 147) | func (c *Client) SetBaseURL(url string) { method listFilesInPath (line 152) | func (c *Client) listFilesInPath(repoID, path string) ([]FileInfo, err... method ListFiles (line 218) | func (c *Client) ListFiles(repoID string) ([]FileInfo, error) { method GetFileSHA (line 223) | func (c *Client) GetFileSHA(repoID, fileName string) (string, error) { method GetModelDetails (line 244) | func (c *Client) GetModelDetails(repoID string) (*ModelDetails, error) { method GetReadmeContent (line 294) | func (c *Client) GetReadmeContent(repoID, readmePath string) (string, ... function NewClient (line 81) | func NewClient() *Client { function FilterFilesByQuantization (line 322) | func FilterFilesByQuantization(files []ModelFile, quantization string) [... function FindPreferredModelFile (line 334) | func FindPreferredModelFile(files []ModelFile, preferences []string) *Mo... FILE: pkg/huggingface-api/client_test.go function findFileByPath (line 747) | func findFileByPath(files []hfapi.FileInfo, path string) *hfapi.FileInfo { FILE: pkg/huggingface-api/hfapi_suite_test.go function TestHfapi (line 10) | func TestHfapi(t *testing.T) { FILE: pkg/langchain/langchain.go type PredictOptions (line 3) | type PredictOptions struct type PredictOption (line 13) | type PredictOption type Predict (line 22) | type Predict struct function SetModel (line 26) | func SetModel(model string) PredictOption { function SetTemperature (line 32) | func SetTemperature(temperature float64) PredictOption { function SetMaxTokens (line 38) | func SetMaxTokens(maxTokens int) PredictOption { function SetStopWords (line 44) | func SetStopWords(stopWords []string) PredictOption { function NewPredictOptions (line 51) | func NewPredictOptions(opts ...PredictOption) PredictOptions { FILE: pkg/model/backend_log_store.go type BackendLogLine (line 12) | type BackendLogLine struct type backendLogBuffer (line 20) | type backendLogBuffer struct type BackendLogStore (line 29) | type BackendLogStore struct method getOrCreateBuffer (line 48) | func (s *BackendLogStore) getOrCreateBuffer(modelID string) *backendLo... method AppendLine (line 71) | func (s *BackendLogStore) AppendLine(modelID, stream, text string) { method GetLines (line 91) | func (s *BackendLogStore) GetLines(modelID string) []BackendLogLine { method ListModels (line 106) | func (s *BackendLogStore) ListModels() []string { method Clear (line 119) | func (s *BackendLogStore) Clear(modelID string) { method Remove (line 132) | func (s *BackendLogStore) Remove(modelID string) { method Subscribe (line 148) | func (s *BackendLogStore) Subscribe(modelID string) (chan BackendLogLi... function NewBackendLogStore (line 37) | func NewBackendLogStore(maxLinesPerModel int) *BackendLogStore { FILE: pkg/model/filters.go function all (line 9) | func all(_ string, _ *process.Process) bool { function allExcept (line 13) | func allExcept(s string) GRPCProcessFilter { function only (line 19) | func only(s string) GRPCProcessFilter { FILE: pkg/model/initializers.go constant LLamaCPP (line 17) | LLamaCPP = "llama-cpp" constant WhisperBackend (line 39) | WhisperBackend = "whisper" constant StableDiffusionGGMLBackend (line 40) | StableDiffusionGGMLBackend = "stablediffusion-ggml" constant TransformersBackend (line 42) | TransformersBackend = "transformers" constant LocalStoreBackend (line 43) | LocalStoreBackend = "local-store" method grpcModel (line 48) | func (ml *ModelLoader) grpcModel(backend string, o *Options) func(string... method backendLoader (line 154) | func (ml *ModelLoader) backendLoader(opts ...Option) (client grpc.Backen... method enforceLRULimit (line 188) | func (ml *ModelLoader) enforceLRULimit() { method updateModelLastUsed (line 231) | func (ml *ModelLoader) updateModelLastUsed(m *Model) { method Load (line 238) | func (ml *ModelLoader) Load(opts ...Option) (grpc.Backend, error) { FILE: pkg/model/loader.go type ModelUnloadHook (line 25) | type ModelUnloadHook type ModelLoader (line 27) | type ModelLoader struct method GetLoadingCount (line 58) | func (ml *ModelLoader) GetLoadingCount() int { method OnModelUnload (line 65) | func (ml *ModelLoader) OnModelUnload(hook ModelUnloadHook) { method SetWatchDog (line 71) | func (ml *ModelLoader) SetWatchDog(wd *WatchDog) { method GetWatchDog (line 75) | func (ml *ModelLoader) GetWatchDog() *WatchDog { method BackendLogs (line 79) | func (ml *ModelLoader) BackendLogs() *BackendLogStore { method SetBackendLoggingEnabled (line 83) | func (ml *ModelLoader) SetBackendLoggingEnabled(enabled bool) { method BackendLoggingEnabled (line 87) | func (ml *ModelLoader) BackendLoggingEnabled() bool { method SetLRUEvictionRetrySettings (line 92) | func (ml *ModelLoader) SetLRUEvictionRetrySettings(maxRetries int, ret... method ExistsInModelPath (line 99) | func (ml *ModelLoader) ExistsInModelPath(s string) bool { method SetExternalBackend (line 103) | func (ml *ModelLoader) SetExternalBackend(name, uri string) { method DeleteExternalBackend (line 109) | func (ml *ModelLoader) DeleteExternalBackend(name string) { method GetExternalBackend (line 115) | func (ml *ModelLoader) GetExternalBackend(name string) string { method GetAllExternalBackends (line 121) | func (ml *ModelLoader) GetAllExternalBackends(o *Options) map[string]s... method ListFilesInModelPath (line 159) | func (ml *ModelLoader) ListFilesInModelPath() ([]string, error) { method ListLoadedModels (line 193) | func (ml *ModelLoader) ListLoadedModels() []*Model { method LoadModel (line 205) | func (ml *ModelLoader) LoadModel(modelID, modelName string, loader fun... method ShutdownModel (line 265) | func (ml *ModelLoader) ShutdownModel(modelName string) error { method CheckIsLoaded (line 272) | func (ml *ModelLoader) CheckIsLoaded(s string) *Model { method checkIsLoaded (line 278) | func (ml *ModelLoader) checkIsLoaded(s string) *Model { function NewModelLoader (line 43) | func NewModelLoader(system *system.SystemState) *ModelLoader { constant retryTimeout (line 157) | retryTimeout = time.Duration(2 * time.Minute) FILE: pkg/model/loader_options.go type Options (line 9) | type Options struct type Option (line 24) | type Option function WithExternalBackend (line 30) | func WithExternalBackend(name string, uri string) Option { function WithGRPCAttempts (line 39) | func WithGRPCAttempts(attempts int) Option { function WithGRPCAttemptsDelay (line 45) | func WithGRPCAttemptsDelay(delay int) Option { function WithBackendString (line 51) | func WithBackendString(backend string) Option { function WithDefaultBackendString (line 57) | func WithDefaultBackendString(backend string) Option { function WithModel (line 65) | func WithModel(modelFile string) Option { function WithLoadGRPCLoadModelOpts (line 71) | func WithLoadGRPCLoadModelOpts(opts *pb.ModelOptions) Option { function WithContext (line 77) | func WithContext(ctx context.Context) Option { function WithModelID (line 83) | func WithModelID(id string) Option { function NewOptions (line 89) | func NewOptions(opts ...Option) *Options { FILE: pkg/model/model.go type Model (line 10) | type Model struct method Process (line 26) | func (m *Model) Process() *process.Process { method GRPC (line 30) | func (m *Model) GRPC(parallel bool, wd *WatchDog) grpc.Backend { function NewModel (line 18) | func NewModel(ID, address string, process *process.Process) *Model { FILE: pkg/model/model_suite_test.go function TestModel (line 10) | func TestModel(t *testing.T) { FILE: pkg/model/process.go method deleteProcess (line 24) | func (ml *ModelLoader) deleteProcess(s string) error { method StopGRPC (line 81) | func (ml *ModelLoader) StopGRPC(filter GRPCProcessFilter) error { method StopAllGRPC (line 95) | func (ml *ModelLoader) StopAllGRPC() error { method GetGRPCPID (line 99) | func (ml *ModelLoader) GetGRPCPID(id string) (int, error) { method startProcess (line 112) | func (ml *ModelLoader) startProcess(grpcProcess, id string, serverAddres... FILE: pkg/model/watchdog.go type WatchDog (line 26) | type WatchDog struct method SetLRULimit (line 91) | func (wd *WatchDog) SetLRULimit(limit int) { method GetLRULimit (line 98) | func (wd *WatchDog) GetLRULimit() int { method SetMemoryReclaimer (line 105) | func (wd *WatchDog) SetMemoryReclaimer(enabled bool, threshold float64) { method GetMemoryReclaimerSettings (line 113) | func (wd *WatchDog) GetMemoryReclaimerSettings() (enabled bool, thresh... method SetForceEvictionWhenBusy (line 120) | func (wd *WatchDog) SetForceEvictionWhenBusy(force bool) { method Shutdown (line 126) | func (wd *WatchDog) Shutdown() { method WaitDone (line 135) | func (wd *WatchDog) WaitDone() { method AddAddressModelMap (line 139) | func (wd *WatchDog) AddAddressModelMap(address string, model string) { method Add (line 145) | func (wd *WatchDog) Add(address string, p *process.Process) { method Mark (line 151) | func (wd *WatchDog) Mark(address string) { method UnMark (line 160) | func (wd *WatchDog) UnMark(ModelAddress string) { method UpdateLastUsed (line 171) | func (wd *WatchDog) UpdateLastUsed(address string) { method GetLoadedModelCount (line 178) | func (wd *WatchDog) GetLoadedModelCount() int { method GetState (line 195) | func (wd *WatchDog) GetState() WatchDogState { method RestoreState (line 236) | func (wd *WatchDog) RestoreState(state WatchDogState) { method EnforceLRULimit (line 266) | func (wd *WatchDog) EnforceLRULimit(pendingLoads int) EnforceLRULimitR... method Run (line 348) | func (wd *WatchDog) Run() { method checkIdle (line 383) | func (wd *WatchDog) checkIdle() { method checkBusy (line 413) | func (wd *WatchDog) checkBusy() { method checkMemory (line 445) | func (wd *WatchDog) checkMemory() { method evictLRUModel (line 483) | func (wd *WatchDog) evictLRUModel() { method untrack (line 554) | func (wd *WatchDog) untrack(address string) { type ProcessManager (line 50) | type ProcessManager interface function NewWatchDog (line 66) | func NewWatchDog(opts ...WatchDogOption) *WatchDog { type WatchDogState (line 185) | type WatchDogState struct type modelUsageInfo (line 250) | type modelUsageInfo struct type EnforceLRULimitResult (line 257) | type EnforceLRULimitResult struct FILE: pkg/model/watchdog_options.go constant DefaultWatchdogInterval (line 8) | DefaultWatchdogInterval = 500 * time.Millisecond constant DefaultMemoryReclaimerThreshold (line 9) | DefaultMemoryReclaimerThreshold = 0.80 type WatchDogOptions (line 13) | type WatchDogOptions struct type WatchDogOption (line 37) | type WatchDogOption function WithProcessManager (line 40) | func WithProcessManager(pm ProcessManager) WatchDogOption { function WithBusyTimeout (line 47) | func WithBusyTimeout(timeout time.Duration) WatchDogOption { function WithIdleTimeout (line 54) | func WithIdleTimeout(timeout time.Duration) WatchDogOption { function WithWatchdogInterval (line 61) | func WithWatchdogInterval(interval time.Duration) WatchDogOption { function WithBusyCheck (line 68) | func WithBusyCheck(enabled bool) WatchDogOption { function WithIdleCheck (line 75) | func WithIdleCheck(enabled bool) WatchDogOption { function WithLRULimit (line 82) | func WithLRULimit(limit int) WatchDogOption { function WithMemoryReclaimer (line 90) | func WithMemoryReclaimer(enabled bool, threshold float64) WatchDogOption { function WithMemoryReclaimerEnabled (line 98) | func WithMemoryReclaimerEnabled(enabled bool) WatchDogOption { function WithMemoryReclaimerThreshold (line 105) | func WithMemoryReclaimerThreshold(threshold float64) WatchDogOption { function WithForceEvictionWhenBusy (line 113) | func WithForceEvictionWhenBusy(force bool) WatchDogOption { function DefaultWatchDogOptions (line 120) | func DefaultWatchDogOptions() *WatchDogOptions { function NewWatchDogOptions (line 135) | func NewWatchDogOptions(opts ...WatchDogOption) *WatchDogOptions { FILE: pkg/model/watchdog_test.go type mockProcessManager (line 13) | type mockProcessManager struct method ShutdownModel (line 26) | func (m *mockProcessManager) ShutdownModel(modelName string) error { method getShutdownCalls (line 36) | func (m *mockProcessManager) getShutdownCalls() []string { function newMockProcessManager (line 19) | func newMockProcessManager() *mockProcessManager { FILE: pkg/oci/blob.go function FetchImageBlob (line 16) | func FetchImageBlob(ctx context.Context, r, reference, dst string, statu... FILE: pkg/oci/image.go type staticAuth (line 30) | type staticAuth struct method Authorization (line 34) | func (s staticAuth) Authorization() (*authn.AuthConfig, error) { type progressWriter (line 66) | type progressWriter struct method Write (line 86) | func (pw *progressWriter) Write(p []byte) (int, error) { function formatBytes (line 73) | func formatBytes(bytes int64) string { function ExtractOCIImage (line 101) | func ExtractOCIImage(ctx context.Context, img v1.Image, imageRef string,... function ParseImageParts (line 125) | func ParseImageParts(image string) (tag, repository, dstimage string) { function GetImage (line 145) | func GetImage(targetImage, targetPlatform string, auth *registrytypes.Au... function GetOCIImageSize (line 191) | func GetOCIImageSize(targetImage, targetPlatform string, auth *registryt... function DownloadOCIImageTar (line 211) | func DownloadOCIImageTar(ctx context.Context, img v1.Image, imageRef str... function ExtractOCIImageFromTar (line 311) | func ExtractOCIImageFromTar(ctx context.Context, tarFilePath, imageRef, ... function GetOCIImageUncompressedSize (line 343) | func GetOCIImageUncompressedSize(targetImage, targetPlatform string, aut... FILE: pkg/oci/oci_suite_test.go function TestOCI (line 10) | func TestOCI(t *testing.T) { FILE: pkg/oci/ollama.go type Manifest (line 14) | type Manifest struct type Config (line 22) | type Config struct type LayerDetail (line 29) | type LayerDetail struct function OllamaModelManifest (line 35) | func OllamaModelManifest(image string) (*Manifest, error) { function OllamaModelBlob (line 64) | func OllamaModelBlob(image string) (string, error) { function OllamaFetchModel (line 80) | func OllamaFetchModel(ctx context.Context, image string, output string, ... FILE: pkg/oci/tarball.go function imageFromTar (line 16) | func imageFromTar(imagename, architecture, OS string, opener func() (io.... function CreateTar (line 55) | func CreateTar(srctar, dstimageTar, imagename, architecture, OS string) ... FILE: pkg/reasoning/config.go type TagPair (line 4) | type TagPair struct type Config (line 9) | type Config struct FILE: pkg/reasoning/extractor.go type ReasoningExtractor (line 17) | type ReasoningExtractor struct method ProcessToken (line 36) | func (e *ReasoningExtractor) ProcessToken(token string) (reasoningDelt... method Reasoning (line 68) | func (e *ReasoningExtractor) Reasoning() string { method CleanedContent (line 73) | func (e *ReasoningExtractor) CleanedContent() string { method Accumulated (line 78) | func (e *ReasoningExtractor) Accumulated() string { method Reset (line 83) | func (e *ReasoningExtractor) Reset() { method ResetAndSuppressReasoning (line 94) | func (e *ReasoningExtractor) ResetAndSuppressReasoning() { method Suppressed (line 102) | func (e *ReasoningExtractor) Suppressed() bool { function NewReasoningExtractor (line 27) | func NewReasoningExtractor(thinkingStartToken string, cfg Config) *Reaso... FILE: pkg/reasoning/reasoning.go function DetectThinkingStartToken (line 22) | func DetectThinkingStartToken(prompt string, config *Config) string { function ExtractReasoningWithConfig (line 72) | func ExtractReasoningWithConfig(content, thinkingStartToken string, conf... function PrependThinkingTokenIfNeeded (line 93) | func PrependThinkingTokenIfNeeded(content string, startToken string) str... function ExtractReasoning (line 130) | func ExtractReasoning(content string, config *Config) (reasoning string,... FILE: pkg/reasoning/reasoning_suite_test.go function TestReasoning (line 10) | func TestReasoning(t *testing.T) { FILE: pkg/reasoning/reasoning_test.go function boolPtr (line 1142) | func boolPtr(b bool) *bool { FILE: pkg/signals/handler.go function RegisterGracefulTerminationHandler (line 16) | func RegisterGracefulTerminationHandler(fn func()) { function init (line 22) | func init() { function signalHandler (line 30) | func signalHandler(c chan os.Signal) { FILE: pkg/sound/float32.go function BytesFloat32 (line 8) | func BytesFloat32(bytes []byte) float32 { FILE: pkg/sound/int16.go function CalculateRMS16 (line 17) | func CalculateRMS16(buffer []int16) float64 { function ResampleInt16 (line 27) | func ResampleInt16(input []int16, inputRate, outputRate int) []int16 { function ConvertInt16ToInt (line 71) | func ConvertInt16ToInt(input []int16) []int { function BytesToInt16sLE (line 79) | func BytesToInt16sLE(bytes []byte) []int16 { function Int16toBytesLE (line 92) | func Int16toBytesLE(arr []int16) []byte { FILE: pkg/sound/sound_suite_test.go function TestSound (line 10) | func TestSound(t *testing.T) { FILE: pkg/sound/testutil_test.go function generateSineWave (line 6) | func generateSineWave(freq float64, sampleRate, numSamples int) []int16 { function computeCorrelation (line 17) | func computeCorrelation(a, b []int16) float64 { function estimateFrequency (line 38) | func estimateFrequency(samples []int16, sampleRate int) float64 { function computeRMS (line 54) | func computeRMS(samples []int16) float64 { function generatePCMBytes (line 68) | func generatePCMBytes(freq float64, sampleRate, durationMs int) []byte { FILE: pkg/store/client.go function SetCols (line 15) | func SetCols(ctx context.Context, c grpc.Backend, keys [][]float32, valu... function SetSingle (line 47) | func SetSingle(ctx context.Context, c grpc.Backend, key []float32, value... function DeleteCols (line 53) | func DeleteCols(ctx context.Context, c grpc.Backend, keys [][]float32) e... function DeleteSingle (line 78) | func DeleteSingle(ctx context.Context, c grpc.Backend, key []float32) er... function GetCols (line 86) | func GetCols(ctx context.Context, c grpc.Backend, keys [][]float32) ([][... function GetSingle (line 116) | func GetSingle(ctx context.Context, c grpc.Backend, key []float32) ([]by... function Find (line 130) | func Find(ctx context.Context, c grpc.Backend, key []float32, topk int) ... FILE: pkg/system/capabilities.go constant Nvidia (line 16) | Nvidia = "nvidia" constant AMD (line 17) | AMD = "amd" constant Intel (line 18) | Intel = "intel" constant defaultCapability (line 21) | defaultCapability = "default" constant nvidiaL4T (line 22) | nvidiaL4T = "nvidia-l4t" constant darwinX86 (line 23) | darwinX86 = "darwin-x86" constant metal (line 24) | metal = "metal" constant vulkan (line 25) | vulkan = "vulkan" constant nvidiaCuda13 (line 27) | nvidiaCuda13 = "nvidia-cuda-13" constant nvidiaCuda12 (line 28) | nvidiaCuda12 = "nvidia-cuda-12" constant nvidiaL4TCuda12 (line 29) | nvidiaL4TCuda12 = "nvidia-l4t-cuda-12" constant nvidiaL4TCuda13 (line 30) | nvidiaL4TCuda13 = "nvidia-l4t-cuda-13" constant capabilityEnv (line 32) | capabilityEnv = "LOCALAI_FORCE_META_BACKEND_CAPABILITY" constant capabilityRunFileEnv (line 33) | capabilityRunFileEnv = "LOCALAI_FORCE_META_BACKEND_CAPABILITY_RUN_FILE" constant defaultRunFile (line 34) | defaultRunFile = "/run/localai/capability" constant backendTokenDarwin (line 37) | backendTokenDarwin = "darwin" constant backendTokenMLX (line 38) | backendTokenMLX = "mlx" constant backendTokenMetal (line 39) | backendTokenMetal = "metal" constant backendTokenL4T (line 40) | backendTokenL4T = "l4t" constant backendTokenCUDA (line 41) | backendTokenCUDA = "cuda" constant backendTokenROCM (line 42) | backendTokenROCM = "rocm" constant backendTokenHIP (line 43) | backendTokenHIP = "hip" constant backendTokenSYCL (line 44) | backendTokenSYCL = "sycl" function init (line 52) | func init() { method Capability (line 59) | func (s *SystemState) Capability(capMap map[string]string) string { method getSystemCapabilities (line 73) | func (s *SystemState) getSystemCapabilities() string { method BackendPreferenceTokens (line 169) | func (s *SystemState) BackendPreferenceTokens() []string { method DetectedCapability (line 191) | func (s *SystemState) DetectedCapability() string { method IsBackendCompatible (line 198) | func (s *SystemState) IsBackendCompatible(name, uri string) bool { FILE: pkg/system/state.go type Backend (line 8) | type Backend struct type Model (line 13) | type Model struct type SystemState (line 17) | type SystemState struct type SystemStateOptions (line 31) | type SystemStateOptions function WithBackendPath (line 33) | func WithBackendPath(path string) SystemStateOptions { function WithBackendSystemPath (line 39) | func WithBackendSystemPath(path string) SystemStateOptions { function WithModelPath (line 45) | func WithModelPath(path string) SystemStateOptions { function WithBackendImagesReleaseTag (line 51) | func WithBackendImagesReleaseTag(tag string) SystemStateOptions { function WithBackendImagesBranchTag (line 57) | func WithBackendImagesBranchTag(tag string) SystemStateOptions { function WithBackendDevSuffix (line 63) | func WithBackendDevSuffix(suffix string) SystemStateOptions { function GetSystemState (line 69) | func GetSystemState(opts ...SystemStateOptions) (*SystemState, error) { FILE: pkg/system/system_suite_test.go function TestSystem (line 10) | func TestSystem(t *testing.T) { FILE: pkg/utils/base64.go function GetContentURIAsBase64 (line 22) | func GetContentURIAsBase64(s string) (string, error) { FILE: pkg/utils/ffmpeg.go function ffmpegCommand (line 12) | func ffmpegCommand(args []string) (string, error) { function AudioToWav (line 21) | func AudioToWav(src, dst string) error { function AudioResample (line 47) | func AudioResample(src string, sampleRate int) (string, error) { function AudioConvert (line 62) | func AudioConvert(src string, format string) (string, error) { FILE: pkg/utils/hash.go function MD5 (line 8) | func MD5(s string) string { FILE: pkg/utils/json.go constant doubleQuote (line 7) | doubleQuote = `"[^"\\]*(?:\\[\s\S][^"\\]*)*"` function EscapeNewLines (line 9) | func EscapeNewLines(s string) string { FILE: pkg/utils/logging.go function ResetDownloadTimers (line 12) | func ResetDownloadTimers() { function DisplayDownloadFunction (line 17) | func DisplayDownloadFunction(fileName string, current string, total stri... FILE: pkg/utils/path.go function ExistsInPath (line 10) | func ExistsInPath(path string, s string) bool { function InTrustedRoot (line 15) | func InTrustedRoot(path string, trustedRoot string) error { function VerifyPath (line 26) | func VerifyPath(path, basePath string) error { function SanitizeFileName (line 32) | func SanitizeFileName(fileName string) string { function GenerateUniqueFileName (line 42) | func GenerateUniqueFileName(dir, baseName, ext string) string { FILE: pkg/utils/strings.go function init (line 10) | func init() { function RandString (line 14) | func RandString(n int) string { function Unique (line 22) | func Unique(arr []string) []string { FILE: pkg/utils/untar.go function IsArchive (line 10) | func IsArchive(file string) bool { function ExtractArchive (line 20) | func ExtractArchive(archive, dst string) error { FILE: pkg/utils/urlfetch.go function ValidateExternalURL (line 14) | func ValidateExternalURL(rawURL string) error { function isPublicIP (line 60) | func isPublicIP(ip net.IP) bool { FILE: pkg/utils/utils_suite_test.go function TestUtils (line 10) | func TestUtils(t *testing.T) { FILE: pkg/vram/cache.go constant defaultEstimateCacheTTL (line 9) | defaultEstimateCacheTTL = 15 * time.Minute type sizeCacheEntry (line 11) | type sizeCacheEntry struct type cachedSizeResolver (line 17) | type cachedSizeResolver struct method ContentLength (line 24) | func (c *cachedSizeResolver) ContentLength(ctx context.Context, uri st... type ggufCacheEntry (line 41) | type ggufCacheEntry struct type cachedGGUFReader (line 47) | type cachedGGUFReader struct method ReadMetadata (line 54) | func (c *cachedGGUFReader) ReadMetadata(ctx context.Context, uri strin... function CachedSizeResolver (line 72) | func CachedSizeResolver(underlying SizeResolver, ttl time.Duration) Size... function CachedGGUFReader (line 77) | func CachedGGUFReader(underlying GGUFMetadataReader, ttl time.Duration) ... function DefaultCachedSizeResolver (line 83) | func DefaultCachedSizeResolver() SizeResolver { function DefaultCachedGGUFReader (line 89) | func DefaultCachedGGUFReader() GGUFMetadataReader { FILE: pkg/vram/estimate.go function isWeightFile (line 16) | func isWeightFile(nameOrURI string) bool { function isGGUF (line 21) | func isGGUF(nameOrURI string) bool { function Estimate (line 25) | func Estimate(ctx context.Context, files []FileInput, opts EstimateOptio... function sizeOnlyVRAM (line 118) | func sizeOnlyVRAM(sizeOnDisk uint64, ctxLen uint32) uint64 { function ParseSizeString (line 130) | func ParseSizeString(s string) (uint64, error) { function EstimateFromSize (line 180) | func EstimateFromSize(sizeBytes uint64) EstimateResult { function FormatBytes (line 190) | func FormatBytes(n uint64) string { type defaultSizeResolver (line 203) | type defaultSizeResolver struct method ContentLength (line 205) | func (defaultSizeResolver) ContentLength(ctx context.Context, uri stri... function DefaultSizeResolver (line 209) | func DefaultSizeResolver() SizeResolver { function DefaultGGUFReader (line 213) | func DefaultGGUFReader() GGUFMetadataReader { FILE: pkg/vram/estimate_test.go type fakeSizeResolver (line 11) | type fakeSizeResolver method ContentLength (line 13) | func (f fakeSizeResolver) ContentLength(ctx context.Context, uri strin... type fakeGGUFReader (line 20) | type fakeGGUFReader method ReadMetadata (line 22) | func (f fakeGGUFReader) ReadMetadata(ctx context.Context, uri string) ... FILE: pkg/vram/gguf_reader.go type defaultGGUFReader (line 11) | type defaultGGUFReader struct method ReadMetadata (line 13) | func (defaultGGUFReader) ReadMetadata(ctx context.Context, uri string)... function ggufFileToMeta (line 34) | func ggufFileToMeta(f *gguf.GGUFFile) *GGUFMeta { FILE: pkg/vram/hf_estimate.go type hfSizeCacheEntry (line 17) | type hfSizeCacheEntry struct constant hfSizeCacheTTL (line 23) | hfSizeCacheTTL = 15 * time.Minute function ExtractHFRepoID (line 29) | func ExtractHFRepoID(s string) (string, bool) { function EstimateFromHFRepo (line 67) | func EstimateFromHFRepo(ctx context.Context, repoID string) (EstimateRes... function estimateFromHFRepoUncached (line 88) | func estimateFromHFRepoUncached(ctx context.Context, repoID string) (Est... function estimateFromFileInfos (line 112) | func estimateFromFileInfos(files []hfapi.FileInfo) EstimateResult { FILE: pkg/vram/types.go type FileInput (line 6) | type FileInput struct type SizeResolver (line 12) | type SizeResolver interface type GGUFMeta (line 17) | type GGUFMeta struct type GGUFMetadataReader (line 25) | type GGUFMetadataReader interface type EstimateOptions (line 30) | type EstimateOptions struct type EstimateResult (line 37) | type EstimateResult struct FILE: pkg/vram/vram_suite_test.go function TestVram (line 10) | func TestVram(t *testing.T) { FILE: pkg/xio/copy.go type readerFunc (line 8) | type readerFunc method Read (line 10) | func (rf readerFunc) Read(p []byte) (n int, err error) { return rf(p) } function Copy (line 12) | func Copy(ctx context.Context, dst io.Writer, src io.Reader) (int64, err... FILE: pkg/xsync/map.go type SyncedMap (line 7) | type SyncedMap struct function NewSyncedMap (line 12) | func NewSyncedMap[K comparable, V any]() *SyncedMap[K, V] { method Map (line 18) | func (m *SyncedMap[K, V]) Map() map[K]V { method Get (line 24) | func (m *SyncedMap[K, V]) Get(key K) V { method Keys (line 30) | func (m *SyncedMap[K, V]) Keys() []K { method Values (line 40) | func (m *SyncedMap[K, V]) Values() []V { method Len (line 50) | func (m *SyncedMap[K, V]) Len() int { method Iterate (line 56) | func (m *SyncedMap[K, V]) Iterate(f func(key K, value V) bool) { method Set (line 66) | func (m *SyncedMap[K, V]) Set(key K, value V) { method Delete (line 72) | func (m *SyncedMap[K, V]) Delete(key K) { method Exists (line 78) | func (m *SyncedMap[K, V]) Exists(key K) bool { FILE: pkg/xsync/sync_suite_test.go function TestSync (line 10) | func TestSync(t *testing.T) { FILE: pkg/xsysinfo/cpu.go function CPUCapabilities (line 10) | func CPUCapabilities() ([]string, error) { function HasCPUCaps (line 36) | func HasCPUCaps(ids ...cpuid.FeatureID) bool { function CPUPhysicalCores (line 40) | func CPUPhysicalCores() int { FILE: pkg/xsysinfo/gpu.go constant VendorNVIDIA (line 18) | VendorNVIDIA = "nvidia" constant VendorAMD (line 19) | VendorAMD = "amd" constant VendorIntel (line 20) | VendorIntel = "intel" constant VendorVulkan (line 21) | VendorVulkan = "vulkan" constant VendorUnknown (line 22) | VendorUnknown = "unknown" type GPUMemoryInfo (line 35) | type GPUMemoryInfo struct type GPUAggregateInfo (line 46) | type GPUAggregateInfo struct type AggregateMemoryInfo (line 55) | type AggregateMemoryInfo struct type ResourceInfo (line 64) | type ResourceInfo struct function GPUs (line 78) | func GPUs() ([]*gpu.GraphicsCard, error) { function TotalAvailableVRAM (line 91) | func TotalAvailableVRAM() (uint64, error) { function HasGPU (line 127) | func HasGPU(vendor string) bool { function DetectGPUVendor (line 147) | func DetectGPUVendor() (string, error) { function isUnifiedMemoryDevice (line 204) | func isUnifiedMemoryDevice(gpuName string) bool { function GetGPUMemoryUsage (line 217) | func GetGPUMemoryUsage() []GPUMemoryInfo { function GetGPUAggregateInfo (line 259) | func GetGPUAggregateInfo() GPUAggregateInfo { function getNVIDIAGPUMemory (line 279) | func getNVIDIAGPUMemory() []GPUMemoryInfo { function getAMDGPUMemory (line 391) | func getAMDGPUMemory() []GPUMemoryInfo { function getIntelGPUMemory (line 467) | func getIntelGPUMemory() []GPUMemoryInfo { function getIntelXPUSMI (line 479) | func getIntelXPUSMI() []GPUMemoryInfo { function getIntelGPUTop (line 557) | func getIntelGPUTop() []GPUMemoryInfo { function GetResourceInfo (line 609) | func GetResourceInfo() ResourceInfo { function GetResourceAggregateInfo (line 658) | func GetResourceAggregateInfo() AggregateMemoryInfo { function getVulkanGPUMemory (line 665) | func getVulkanGPUMemory() []GPUMemoryInfo { FILE: pkg/xsysinfo/memory.go type SystemRAMInfo (line 8) | type SystemRAMInfo struct function GetSystemRAMInfo (line 17) | func GetSystemRAMInfo() (*SystemRAMInfo, error) { FILE: scripts/changed-backends.js function getChangedFiles (line 29) | async function getChangedFiles() { function inferBackendPath (line 48) | function inferBackendPath(item) { function inferBackendPathDarwin (line 61) | function inferBackendPathDarwin(item) { FILE: scripts/latest_hf.py function get_latest_model (line 13) | def get_latest_model(): FILE: scripts/model_gallery_info.py function summarize (line 37) | def summarize(text: str) -> str: function format_description (line 50) | def format_description(description): FILE: swagger/docs.go constant docTemplate (line 6) | docTemplate = `{ function init (line 3843) | func init() { FILE: tests/e2e-aio/e2e_suite_test.go constant defaultApiPort (line 31) | defaultApiPort = "8080" function TestLocalAI (line 34) | func TestLocalAI(t *testing.T) { type logConsumer (line 71) | type logConsumer struct method Accept (line 74) | func (l *logConsumer) Accept(log testcontainers.Log) { function startDockerImage (line 78) | func startDockerImage() { FILE: tests/e2e-aio/e2e_test.go function downloadHttpFile (line 387) | func downloadHttpFile(url string) (string, error) { function requestRerank (line 408) | func requestRerank(modelName, query string, documents []string, topN *in... FILE: tests/e2e-ui/main.go function main (line 21) | func main() { FILE: tests/e2e/e2e_mcp_test.go function startMockMCPServer (line 21) | func startMockMCPServer() (string, func()) { function mcpModelConfig (line 74) | func mcpModelConfig(mcpServerURL string) map[string]any { function httpPost (line 95) | func httpPost(url string, body any) (*http.Response, error) { function readBody (line 109) | func readBody(resp *http.Response) string { FILE: tests/e2e/e2e_suite_test.go function TestLocalAI (line 263) | func TestLocalAI(t *testing.T) { FILE: tests/e2e/e2e_websocket_responses_test.go type wsEvent (line 15) | type wsEvent struct type wsResponseBody (line 32) | type wsResponseBody struct function dialWS (line 47) | func dialWS() (*websocket.Conn, error) { function readEvent (line 54) | func readEvent(conn *websocket.Conn) (wsEvent, error) { function readAllEvents (line 61) | func readAllEvents(conn *websocket.Conn) []wsEvent { FILE: tests/e2e/realtime_webrtc_test.go type webrtcTestClient (line 22) | type webrtcTestClient struct method connect (line 103) | func (c *webrtcTestClient) connect(model string) { method sendEvent (line 157) | func (c *webrtcTestClient) sendEvent(event any) { method readEvent (line 164) | func (c *webrtcTestClient) readEvent(timeout time.Duration) map[string... method drainUntilEvent (line 175) | func (c *webrtcTestClient) drainUntilEvent(eventType string, timeout t... method sendSilence (line 194) | func (c *webrtcTestClient) sendSilence(durationMs int) { method close (line 213) | func (c *webrtcTestClient) close() { function newWebRTCTestClient (line 34) | func newWebRTCTestClient() *webrtcTestClient { function computeRMSInt16 (line 449) | func computeRMSInt16(samples []int16) float64 { FILE: tests/e2e/realtime_ws_test.go function connectWS (line 19) | func connectWS(model string) *websocket.Conn { function readServerEvent (line 34) | func readServerEvent(conn *websocket.Conn, timeout time.Duration) map[st... function sendClientEvent (line 43) | func sendClientEvent(conn *websocket.Conn, event any) { function drainUntil (line 50) | func drainUntil(conn *websocket.Conn, eventType string, timeout time.Dur... function generatePCMBase64 (line 63) | func generatePCMBase64(freq float64, sampleRate, durationMs int) string { function pipelineModel (line 76) | func pipelineModel() string { function disableVADEvent (line 84) | func disableVADEvent() map[string]any { FILE: tests/integration/integration_suite_test.go function TestLocalAI (line 12) | func TestLocalAI(t *testing.T) { FILE: tests/integration/stores_test.go function normalize (line 20) | func normalize(vecs [][]float32) {