gitdataai/libs/service/agent
ZhenYi 8a23a22c9b fix(agent/sync): make OpenRouter fetch optional, fallback to direct sync
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.
2026-04-26 15:49:34 +08:00
..
billing.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
code_review.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
issue_triage.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
mod.rs fix(agent/service): retry jitter, tool executor ordering, curl SSRF, grep/JSON 2026-04-25 09:53:31 +08:00
model_capability.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
model_parameter_profile.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
model_pricing.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
model_version.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
model.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
pr_summary.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
provider.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
sync.rs fix(agent/sync): make OpenRouter fetch optional, fallback to direct sync 2026-04-26 15:49:34 +08:00