Skip to content

**Bug: GUI chat shows "Failed to get response" despite working API backend (Windows)** #479

Description

@james1998stuart

Description

Environment

  • OS: Windows 11
  • Desktop version: desktop-v1.0.2 (May 25, 2026)
  • Model: qwen3.5:4b (via Ollama)

Describe the bug
The desktop GUI launches successfully — Inference Engine, AI Model, and API Server all show as Ready — but every chat message returns "Failed to get response." The backend API is fully functional.

Evidence that the backend works fine

Health check passes:

curl http://localhost:8000/health
# Returns: {"status":"ok"}

Chat completions work via curl:

Invoke-WebRequest -Uri "http://localhost:8000/v1/chat/completions" -Method POST -ContentType "application/json" -Body '{"model":"qwen3.5:4b","messages":[{"role":"user","content":"hello"}]}' -UseBasicParsing
# Returns a valid completion response

The CLI version (jarvis in terminal) also works correctly.

Conclusion
The issue appears to be isolated to the GUI layer — it is not correctly sending requests to or handling responses from the local API server on Windows.

Steps to Reproduce

Steps to reproduce

  1. Install desktop-v1.0.2 on Windows
  2. Launch openjarvis-desktop.exe
  3. Wait for all three status indicators to show Ready
  4. Type any message in the chat input and send

Expected Behavior

Expected behavior
Chat message gets a response from the model.

Actual Behavior

Actual behavior
GUI displays "Failed to get response" for every message.

Operating System

Windows

Python Version

3.11

Hardware

NVIDIA GPU

Engine

Ollama

Logs / Traceback

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    Priority

    P1

    Effort

    S

    Projects

    Status
    Blocked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions