Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
// Real logic, re-exported: only the barrel it normally comes from needs stubbing.
export { clearDownloadTransportCapabilitiesCache } from "../../../src/features/hub/download-manager/api.ts";
export { EMBEDDING_TAGS } from "../../../src/features/hub/lib/hf-model-meta.ts";
export { normalizeModelIdentity } from "../../../src/features/hub/lib/model-identity.ts";
export { isGgufLike } from "../../../src/features/hub/lib/model-identifiers.ts";
export { classifyUnslothSupport } from "../../../src/features/hub/lib/unsloth-support.ts";
let token = "";
export function getHfToken(): string {
return token;
}
export function hubTokenHeader(): Record<string, string> {
return {};
}
export function mirrorHfTokenInto(): void {
// Token state is local to this stub.
}
export const useHfTokenStore = {
getState: () => ({
setToken: (next: string) => {
token = next;
},
}),
};