Skip to content

Improve error semantics for model fetch requests#240

Closed
Lakr233 wants to merge 2 commits intomainfrom
fix/p0-network-errors
Closed

Improve error semantics for model fetch requests#240
Lakr233 wants to merge 2 commits intomainfrom
fix/p0-network-errors

Conversation

@Lakr233
Copy link
Owner

@Lakr233 Lakr233 commented Feb 20, 2026

Summary

  • handle error, response type, and non-2xx status for hub model search request
  • add optional error callbacks while keeping existing completion call sites compatible
  • distinguish endpoint/model/request/json/empty-body failures in cloud model list fetching

Scope

  • FlowDown/Interface/SettingController/Model/ModelDownloadController/HubModelDownloadController+RemoteModel.swift
  • FlowDown/Backend/Model/ModelManager+Cloud.swift

Verification

  • rely on GitHub Actions for build and tests

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 20, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
flowdown-landing 6c9c43d Commit Preview URL

Branch Preview URL
Feb 20 2026, 12:33 PM

@Lakr233 Lakr233 force-pushed the fix/p0-network-errors branch from 7698431 to 6c9c43d Compare February 20, 2026 12:28
@Lakr233 Lakr233 closed this Feb 20, 2026
@Lakr233 Lakr233 deleted the fix/p0-network-errors branch February 20, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant