Skip to content

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.

537 B
Raw Blame
export function shouldAdvanceQueuedSettingsEpoch(
  currentValues: Readonly<object>,
  nextValues: Readonly<object>,
  trackQueuedSettings = true,
): boolean {
  if (!trackQueuedSettings) {
    return false;
  }
  const keys = new Set([
    ...Object.keys(currentValues),
    ...Object.keys(nextValues),
  ]);
  const currentRecord = currentValues as Record<string, unknown>;
  const nextRecord = nextValues as Record<string, unknown>;
  return Array.from(keys).some(
    (key) => !Object.is(currentRecord[key], nextRecord[key]),
  );
}