Welcome to MicroROS V2 Robot Car repository
2. Openclaw Tui Interaction
OpenClaw TUI Interaction
OpenClaw TUI Interaction1. Course ContentCourse OverviewLearning Objectives2. Open a TUI ConversationApplicable Scenarios3. Common Session Commands in the TUI Terminal4. Common Errors and Solutions4.1 Invalid API4.2 Model Quota
1. Course Content
Course Overview
OpenClaw TUI is a terminal-based text interaction interface. Without a graphical desktop environment, you can directly have conversations with the OpenClaw robot in the command line. The TUI interaction method is especially suitable for scenarios where you connect to the vehicle computer remotely via SSH and perform pure text interaction in the terminal.
Learning Objectives
- Master the method of starting a terminal interaction session with the
openclaw tuicommand - Learn the advanced usage of starting TUI with parameters
- Become familiar with the common session commands (slash commands) in the TUI terminal
2. Open a TUI Conversation
Applicable Scenarios
TUI conversations are mainly applicable to the following scenarios:
- SSH remote connection — After logging into the vehicle computer remotely via SSH, directly interact with OpenClaw through text in the terminal
- Lightweight interaction — Compared to the Web UI, TUI consumes fewer resources and starts faster, making it suitable for quick debugging and daily use
Enter the following command directly in the terminal to start the TUI conversation interface:
openclaw tui
[!NOTE]
- You can type text to talk with the robot just like using WebChat
- As long as the session ID is the same, the conversation history is synchronized between the WebChat end and the TUI end
3. Common Session Commands in the TUI Terminal
The session commands in the TUI terminal are exactly the same as the slash commands in WebChat, and are used in the same way. All commands must start with
/and be sent as a standalone message
4. Common Errors and Solutions
4.1 Invalid API
Symptom: After sending a message, the robot reports that the API-KEY is invalid, authentication failed, or returns a 401 error.
Possible causes and solutions:
- API-KEY configuration error — Check whether the API-KEY configuration item in
openclaw.jsonis correct, then restart the gateway after reconfiguring - API-KEY expired — Go to the model service provider's platform to check whether the API-KEY has expired, regenerate a new key, and update the configuration
- Incorrect model service provider address — Confirm that the API address (base URL) corresponding to the model in
openclaw models listis filled in correctly
xxxxxxxxxx# View the current model configurationopenclaw models list# View the model statusopenclaw models status4.2 Model Quota
Symptom: After sending a message, it prompts that the model invocation quota limit has been reached (Rate Limit / Quota Exceeded), or returns a 429 status code.
Possible causes and solutions:
- Quota used up — The model service provider has daily/hourly invocation count or token limits for free/trial accounts, please check your account quota status
- Concurrent consumption from multiple sessions — Opening multiple sessions in parallel accelerates quota consumption; it is recommended to reduce the number of concurrent sessions
- Switch models — If the current model's quota is limited, you can use the
/modelcommand to switch to another configured model to continue the conversation