gitdataai/libs
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 refactor(room): remove NATS, use Redis pub/sub for message queue 2026-04-16 17:24:04 +08:00
agent-tool-derive init 2026-04-15 09:08:09 +08:00
api feat(room): improve robustness — optimistic send, atomic seq, jitter reconnect 2026-04-16 19:23:06 +08:00
avatar init 2026-04-15 09:08:09 +08:00
config init 2026-04-15 09:08:09 +08:00
db init 2026-04-15 09:08:09 +08:00
email init 2026-04-15 09:08:09 +08:00
git fix(git): add storage_path existence pre-check to run_fsck and run_gc 2026-04-16 22:24:14 +08:00
migrate refactor(room): remove NATS, use Redis pub/sub for message queue 2026-04-16 17:24:04 +08:00
models refactor(room): remove NATS, use Redis pub/sub for message queue 2026-04-16 17:24:04 +08:00
queue refactor(room): remove NATS, use Redis pub/sub for message queue 2026-04-16 17:24:04 +08:00
room fix(room): add edit rollback, clean stream channels on room shutdown/idle 2026-04-16 19:28:23 +08:00
rpc init 2026-04-15 09:08:09 +08:00
service feat(service): auto-sync OpenRouter models on app startup and every 10 minutes 2026-04-16 22:35:34 +08:00
session init 2026-04-15 09:08:09 +08:00
transport init 2026-04-15 09:08:09 +08:00
webhook init 2026-04-15 09:08:09 +08:00