Skip to content

Normal requests and Sessions are all counted as Codex

Quick fix

Upgrade to v3.15.0 for the confirmed duplicate-counting fix; occasional Codex(Session) entries may still occur.

Error output
统计会将正常的请求和Session全部统计上
English translation

Normal requests and Sessions are all counted in statistics.

In cc-switch 3.14.1 on Windows, after enabling the local proxy, usage statistics counted both normal requests and Sessions: one request corresponded to one Session, nearly doubling the total.

The maintainer stated that this was fixed in v3.15.0. However, after upgrading, the reporter still observed occasional `Codex(Session)` entries in statistics. Therefore, v3.15.0 is the maintainer-declared fix version, but the issue still contains an unconfirmed report of an occasional variant.

  1. Upgrade cc-switch to v3.15.0, which the maintainer stated fixes this issue.

  2. If `Codex(Session)` is still occasionally counted after upgrading, provide the latest version, reproduction steps, and relevant logs as requested by the maintainer, then continue following up in the source issue.

ToolCodex
Version3.14.1(受影响);v3.15.0(维护者声明已修复)
PlatformsWindows

This page is distilled from 1 real issues

Still not fixed in version 3.14.1
The maintainer replied that it was fixed in the newer v3.15.0; the original post provides no other verifiable solution for 3.14.1.
In version 3.15.0, Codex(Session) still occasionally appears and affects statistics.
This report is recorded in the original issue, but it has no subsequently confirmed fix. Provide the latest version, reproduction steps, and relevant logs to continue the follow-up.
Hope for a fix or another way to improve usage statistics
The maintainer-confirmed measure in the original post is upgrading to v3.15.0; no alternative was provided.

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.