TutorialsOfficial documentation5 min readTutorials

Manage and Use FastGPT Backend Sandbox Terminal

Terminal Location and Core Capabilities The two-way interactive terminal is positioned at the bottom right of the FastGPT workspace, and connects directly…

Terminal Location and Core Capabilities

The two-way interactive terminal is positioned at the bottom right of the FastGPT workspace, and connects directly to the backend sandbox environment. It offers two primary functional features:

  1. Running Commands: Users may input various command line operations, such as installing required code dependencies online or executing custom running and debugging scripts.
  2. Log Feedback: The terminal streams command execution logs in real time. If code or script execution errors occur, users can view error messages directly in the terminal output to assist with debugging.

Step-by-Step Usage Workflow

Follow these structured steps to utilize the terminal effectively:

  1. Locate the terminal pane at the bottom right of the active FastGPT workspace.
  2. Enter supported command line commands into the terminal input field. Valid use cases include installing project code dependencies and running custom execution or debugging scripts.
  3. Observe the terminal’s output area to receive real-time streaming logs of all executed commands.
  4. If an execution failure occurs, reference the error messages displayed in the terminal output to troubleshoot the relevant code or script.

Debugging Support Details

All debugging-relevant information is delivered directly through the terminal’s real-time log stream. When an error occurs, no additional workspace navigation is required to access failure details, as error messages are printed immediately in the terminal output pane alongside standard execution logs.

Source: FastGPT official source

Applicability and version scope

Use this page for the documented Tutorials scenario. Confirm the FastGPT, dependency, API, and deployment versions in the official source before applying a change.

Safety guardrails

Use [REDACTED_CREDENTIAL] for credentials and private data. Confirm the documented environment and version before review.

Rollback guidance

Restore the prior technical-content authority snapshot. Restore saved configuration and data snapshots, then repeat the smallest verification scenario.