发布

  • feat(executor): enhance `cache_tokens` handling and extend parsing logic with alias normalization

    frostbyte_neo 发布于 2026-07-11 19:22:41 +00:00 | 350 次提交 在此版本后已推送到 main

    • Added support for cache_read_tokens and cache_creation_tokens aliases across prompt_tokens_details, input_tokens_details, and other usage details.
    • Updated token parsing logic to handle multiple aliases and improve fallback scenarios.
    • Extended test coverage for alias normalization, including cache_write_tokens, cacheCreationTokens, and cachedContentTokenCount.
    • Improved total token calculation by incorporating conditional read token addition logic.
    下载附件