Skip to content

[WSL2] /api/status: multiple null fields — model.tokensPerSecond, disk, system, all service uptimes #223

@yasinBursali

Description

@yasinBursali

Description

The /api/status endpoint returns several null/missing fields that the dashboard UI likely needs:

{
  "model": {
    "name": "qwen3.5-2b",           // ← stale (#218)
    "tokensPerSecond": null,          // ← always null
    "contextLength": 32768
  },
  "disk": null,                       // ← always null
  "system": null,                     // ← always null
  "services": [
    { "name": "...", "status": "healthy", "uptime": null }  // ← all uptimes null
  ]
}

Fields affected:

  1. model.tokensPerSecond: Always null. llama-server exposes metrics at /metrics and returns timing info in completions — this could be populated.
  2. disk: Null, but /api/storage works and returns disk data. Looks like /api/status doesn't include the storage data.
  3. system: Null — no system info (hostname, OS, RAM, etc.)
  4. All uptime values: Null for every service. Container uptime is available from docker ps.

Impact

Dashboard UI likely displays empty/placeholder values for these fields.

Steps to Reproduce

  1. GET /api/status with auth header
  2. Observe null fields

Environment

  • WSL2 Ubuntu 24.04.4 LTS
  • DreamServer installed from main branch (2026-04-03)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions