fix(monitoring): handle SQLite token statistics errors - #2473
Conversation
|
Thank you for your contribution! ❤️ Before we can merge this pull request, we need you to sign the LangBot Contributor License Agreement (CLA). You keep full copyright of your code — the CLA grants us a license to use and distribute your contribution. Signing takes 10 seconds and covers all repositories in this organization, permanently. 感谢您的贡献!合并前请阅读并签署贡献者许可协议(CLA)。您保留代码的全部版权,签署仅需回复下方指定内容,一次签署对本组织全部仓库永久有效。 I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
|
Hi @mameikagou , please sign the CLA before we can merge this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Thanks for the focused diagnosis and proposed fix. We independently reimplemented and merged the repair in #2479 because this PR could not pass the CLA gate. Closing this as superseded. |
Overview
Fixes #2468.
strftimefunction;msgfrom plain API error objects instead of[object Object];Screenshots
No layout change. Error text changes from:
to the backend-provided message.
Validation
uv run pytest tests/unit_tests/persistence/test_tenant_uow.py -q --tb=short --capture=no— 117 passeduv run ruff checkanduv run ruff format --checkon changed Python filesnode --test tests/unit/*.test.mjs— 35 passedpnpm exec tsc --noEmitpnpm lint— 0 errorspnpm buildgit diff --checkChecklist