Repository navigation
fix(analytics): read auto routing usage from call logs - #10685
diegosouzapw merged 1 commit into
Conversation
dbdd19d to
37fa7c5
Compare
|
fix(analytics): read auto routing usage from call logs — looks correct, thanks for the clear premise. Verified: |
c6857b2 to
c745328
Compare
c745328 to
00420cc
Compare
Merged — locally validated together with related cryptiklemur PRs (typecheck:core clean, gates green). Good catch on the phantom usage_logs table. Thanks!
CI note:
Docs Gatescurrently inherits the release-baseBOT_TOKEN/BOT_URLenv-doc failure. the same base-red appears on unrelated #10780; this diff does not touch those variables.The auto-routing analytics endpoint queried
usage_logs, but the runtime does not create or write that table. the caught SQLite error made the endpoint return empty metrics.call_logs.requested_modelalready recordsautoandauto-fast, along with the provider used for each call.what changed
call_logsrequested_modelto separateautofromauto-fastDATA_DIRafter the database regression testNo migration is needed. the branch contains five changed files and does not carry the combo patch.
how to test
Both commands pass after rebasing onto the current
release/v3.8.50tip.