You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CodeArts per-request credit settlement: CodeArts SSE reports tokens but not
per-request credit. The gateway now samples the account's cumulative used
credits before a request, force-refreshes statistics afterward, and writes the
delta to usage. Explicit non-zero upstream credit is not counted twice, and
sampling failures never block chat. Concurrent requests share a high-water
mark so the same delta is not settled twice.
API keys now support a daily token limit (daily_token_limit, in millions; 0 = unlimited). The limit is enforced before a concurrency slot and returns 403 permission_error; /v1/messages uses the Anthropic error envelope. The
dashboard key editor adds the field and a daily limit NM badge.
Tool-schema keyword coercion: WorkBuddy and CodeArts share providers.HardenSchemaKeywords, which normalizes numeric/boolean strings, enum / examples, description / title / format / pattern, additionalProperties, and null keywords before sending upstream, fixing
upstream code 11129.
Verification
make check and make race pass; the dashboard JS harness passes 14/14
suites.
Added coverage for CodeArts credit delta/explicit/high-water/failure, key
daily-limit storage/fold/API rejection, and schema keyword coercion in both
providers.