gitdataai/libs/service
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
..
agent feat(service): auto-sync OpenRouter models on app startup and every 10 minutes 2026-04-16 22:35:34 +08:00
auth init 2026-04-15 09:08:09 +08:00
git init 2026-04-15 09:08:09 +08:00
issue init 2026-04-15 09:08:09 +08:00
project feat(repo): return ssh/https clone URLs from backend 2026-04-16 18:20:48 +08:00
pull_request init 2026-04-15 09:08:09 +08:00
search init 2026-04-15 09:08:09 +08:00
skill init 2026-04-15 09:08:09 +08:00
user init 2026-04-15 09:08:09 +08:00
utils init 2026-04-15 09:08:09 +08:00
workspace init 2026-04-15 09:08:09 +08:00
Cargo.toml init 2026-04-15 09:08:09 +08:00
error.rs init 2026-04-15 09:08:09 +08:00
lib.rs init 2026-04-15 09:08:09 +08:00
webhook_dispatch.rs init 2026-04-15 09:08:09 +08:00
ws_token.rs init 2026-04-15 09:08:09 +08:00