{"version":"2.0.71","anchor":"improved-token-counting-for-custom-system-prompts","canonical_anchor":"improved-token-counting-for-custom-system-prompts","heading":"Improved Token Counting for Custom System Prompts","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.71\/e\/improved-token-counting-for-custom-system-prompts","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.71","markdown":"### Improved Token Counting for Custom System Prompts\n\nThe `\/context` command now accurately accounts for custom system prompts and appended system prompts when calculating token usage. Previously, the system prompt token count didn't consider SDK users' custom prompts.\n\n**Evidence**\n\n`NK0()` at line 384355 (context calculation, now uses `ySA()` with `customSystemPrompt` and `appendSystemPrompt` parameters)"}