When OpenRouter's public /api/v1/models endpoint fails (network error, timeout, parse failure), the entire sync was aborted — meaning models accessible from the user's AI endpoint were never synced. Now: if OpenRouter fetch fails, fall back to sync_models_direct for all available models instead of returning an error. Both sync_upstream_models (API) and sync_once (background task) have this fix. |
||
|---|---|---|
| .. | ||
| agent | ||
| auth | ||
| file_tools | ||
| git | ||
| git_tools | ||
| issue | ||
| project | ||
| project_tools | ||
| pull_request | ||
| search | ||
| skill | ||
| user | ||
| utils | ||
| workspace | ||
| Cargo.toml | ||
| error.rs | ||
| lib.rs | ||
| push.rs | ||
| storage.rs | ||
| webhook_dispatch.rs | ||
| ws_token.rs | ||