fix: quick capture incorrectly treated as offline on LLM timeout #7

Closed
bvandeusen wants to merge 0 commits from dev into main
bvandeusen commented 2026-03-16 11:20:06 -04:00 (Migrated from git.fabledsword.com)

The global receiveTimeout is 30s but quick capture runs LLM inference
that can take much longer. receiveTimeout fired, fell through to the
NetworkException fallback in dioToApp, and the work queue queued it as
an offline item.

  • quick_capture_api.dart: override receiveTimeout to 120s for the
    /api/quick-capture request
  • api_client.dart: handle receiveTimeout/sendTimeout explicitly in the
    error interceptor, converting them to AppException (not NetworkException)
    so slow responses are never mistaken for being offline

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

The global receiveTimeout is 30s but quick capture runs LLM inference that can take much longer. receiveTimeout fired, fell through to the NetworkException fallback in dioToApp, and the work queue queued it as an offline item. - quick_capture_api.dart: override receiveTimeout to 120s for the /api/quick-capture request - api_client.dart: handle receiveTimeout/sendTimeout explicitly in the error interceptor, converting them to AppException (not NetworkException) so slow responses are never mistaken for being offline Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bvandeusen/FabledApp#7