Commit Graph

4 Commits

Author SHA1 Message Date
Luis Pater
221d5e0818 fix(auth): check active plugin scheduler in affinity lookup and normalize mixed legacy provider keys
- Use hasPluginScheduler() in LookupSessionAffinity so attached plugin hosts without an active scheduler plugin do not falsely return unsupported.
- Normalize executorKeyFromAuth with canonicalSchedulingProvider in pickNextMixedLegacy and warnLogAuthUnavailable to match providerSet keys across all scheduling paths.
- Add regression tests covering inactive plugin scheduler state in LookupSessionAffinity and host.affinity.lookup, plus provider alias handling in pickNextMixedLegacy and warnLogAuthUnavailable.

Closes: #7761
2026-11-21 20:26:16 +08:00
Luis Pater
508f8708d0 chore: replace standard JSON package with moego JSON throughout the project 2026-11-16 09:58:12 +08:00
Luis Pater
31f4cfab3f feat: migrate CLIProxyAPI to version 8 2026-09-27 14:42:26 +08:00
Luis Pater
0796d6d133 feat(plugin): add host session affinity lookup callback
- Decode and validate host affinity lookup requests for provider, model, and session ID.
- Query the active auth manager for session affinity bindings and status.
- Return lookup responses containing the auth index, observation timestamp, and credential availability state.

Closes: #5604
2026-09-09 03:25:42 +08:00