gitdataai/libs/service/agent
ZhenYi 9368df54da feat(service): auto-sync OpenRouter models on app startup and every 10 minutes
- Add `start_sync_task()` in agent/sync.rs: spawns a background task
  that syncs immediately on app startup, then every 10 minutes.
- `sync_once()` performs a single pass; errors are logged and swallowed
  so the periodic task never stops.
- Remove authentication requirement from OpenRouter API (no API key needed).
- Call `service.start_sync_task()` from main.rs after AppService init.
- Also update the existing `sync_upstream_models` (HTTP API) to remove
  the now-unnecessary API key requirement for consistency.
2026-04-16 22:35:34 +08:00
..
billing.rs init 2026-04-15 09:08:09 +08:00
code_review.rs init 2026-04-15 09:08:09 +08:00
mod.rs init 2026-04-15 09:08:09 +08:00
model_capability.rs init 2026-04-15 09:08:09 +08:00
model_parameter_profile.rs init 2026-04-15 09:08:09 +08:00
model_pricing.rs init 2026-04-15 09:08:09 +08:00
model_version.rs init 2026-04-15 09:08:09 +08:00
model.rs init 2026-04-15 09:08:09 +08:00
pr_summary.rs init 2026-04-15 09:08:09 +08:00
provider.rs init 2026-04-15 09:08:09 +08:00
sync.rs feat(service): auto-sync OpenRouter models on app startup and every 10 minutes 2026-04-16 22:35:34 +08:00