gitdataai/libs/service/agent
ZhenYi 3de4fff11d
Some checks are pending
CI / Rust Lint & Check (push) Waiting to run
CI / Rust Tests (push) Waiting to run
CI / Frontend Lint & Type Check (push) Waiting to run
CI / Frontend Build (push) Blocked by required conditions
feat(service): improve model sync and harden git HTTP/SSH stability
Model sync:
- Filter OpenRouter models by what the user's AI client can actually access,
  before upserting metadata (avoids bloating with inaccessible models).
- Fall back to direct endpoint sync when no OpenRouter metadata matches
  (handles Bailian/MiniMax and other non-OpenRouter providers).

Git stability fixes:
- SSH: add 5s timeout on stdin flush/shutdown in channel_eof and
  cleanup_channel to prevent blocking the event loop on unresponsive git.
- SSH: remove dbg!() calls from production code paths.
- HTTP auth: pass proper Logger to SshAuthService instead of discarding
  all auth events to slog::Discard.

Dependencies:
- reqwest: add native-tls feature for HTTPS on Windows/Linux/macOS.
2026-04-17 00:13:40 +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): improve model sync and harden git HTTP/SSH stability 2026-04-17 00:13:40 +08:00