openclaw - 💡(How to fix) Fix [Feature Request] Add elapsed/response time back to session_status display [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#57442Fetched 2026-04-08 01:49:38
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Author
Participants
RAW_BUFFERClick to expand / collapse

Feature Request

Problem

After upgrading to 2026.3.28, the session_status output no longer shows elapsed/response time. Previous versions displayed this information in the status card.

Expected Behavior

The status card (shown via session_status tool or /status command) should include elapsed/response time, similar to how it was displayed before the upgrade.

Example (before)

The status card used to show something like:

  • ⏱️ Duration: 2.3s or ⏱️ Elapsed: 1.2s

Current (after upgrade)

The status card only shows Time, Tokens, and other info but no duration/elapsed time.

Additional Context

  • OpenClaw version: 2026.3.28
  • Channel: Feishu
  • Many users rely on this for monitoring response performance
  • This was visible in the status card shown at the bottom of responses

extent analysis

Fix Plan

To restore the elapsed/response time in the status card, we need to update the session_status tool to include the missing information.

Steps to Fix

  • Update the session_status function to calculate and display the elapsed time:
import time

def session_status(session):
    # ... existing code ...
    start_time = session.get('start_time')
    if start_time:
        elapsed_time = time.time() - start_time
        status_card = f"⏱️ Elapsed: {elapsed_time:.1f}s"
        # ... existing code to display status card ...
    # ... existing code ...
  • Ensure the start_time is set when the session starts:
def start_session():
    session = {}
    session['start_time'] = time.time()
    # ... existing code ...

Verification

After applying the fix, run the session_status tool or use the /status command to verify that the elapsed time is displayed in the status card.

Extra Tips

  • Make sure to test the fix in different scenarios to ensure the elapsed time is accurate and displayed correctly.
  • Consider adding a configuration option to allow users to customize the display of the elapsed time.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Feature Request] Add elapsed/response time back to session_status display [1 participants]