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.

664 B
Raw Blame
// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0

import type { ReactElement } from "react";

type ExecutionRawTabProps = {
  rawExecution: Record<string, unknown> | null;
};

export function ExecutionRawTab({
  rawExecution,
}: ExecutionRawTabProps): ReactElement {
  return (
    <div className="mt-3 rounded-lg border p-3">
      <p className="mb-2 text-sm font-semibold">Raw execution</p>
      <pre className="max-h-96 overflow-auto scroll-rounded rounded-md bg-muted/40 p-3 text-xs">
        {JSON.stringify(rawExecution, null, 2)}
      </pre>
    </div>
  );
}